Is mega8535 supported by AvrStudio 6?

Go To Last Post
12 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I recently installed avrstudio 6.2.1548 and I can't find mega8535 in the list: Tools->Device Programming->Device.

 

Is no more supported? Is there any way to work with mega8535 in AVRStudio 6.2?

 

Thank you in advance.

Learn as long as you live

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You sure?

 

 

or are you talking about AT90S8535 ? That one is not supported.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

clawson wrote:
or are you talking about AT90S8535 ?

 

http://www.atmel.com/devices/at9...

 

Mature product; not recommended for new designs. Replaced by ATmega8535.

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You should be able to Compile code for any historic AVR chip with any of the available toolchains.

avrdude will support any chips, however old.

 

The older/obsolete chips may not be supported by the 'newer' Atmel programmers.    Or more specifically,   AS6 software may not drive the 'newer' hardware but the hardware itself should be capable.    After all,    ISP or HVPP is only a question of shaking signal lines.

 

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 

I talking about ATmega8535 that there is not in the list. I can see only ATmega8515

 

I doing something wrong?

Learn as long as you live

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

No that's simply saying the STK500 does not support mega8535 for programming. However Studio itself (and its assemblers and C compilers) let you write mega8535 code as I showed.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

But before I always used STK500 for programming ATmega8535. For sure STK500 supports ATmega8535. I think something wrong with the new version of AVR Studio.

Learn as long as you live

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Note that it is now called Atmel Studio - not AVR Studio - as it now does more than just AVR.

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

From memory,   you just have to add "ATmega8535" to the STK500 XML file.    Nothing more complicated than that.

 

I wil try it for myself later.

 

There are several AVRs that do not appear on specific programmer XML files.    It does not mean that the particular can not program them.    Just that Atmel have not added them to the automated Test Suite.   (I think)

 

As a silly question:  "Why would anyone choose ATmega8535 when ATmega164P (or mega16) would be far superior?"

 

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It is curious that some of these ancient old AVRs have been dropped from the support list for certain programming tools.

 

I'd try the XML edit that David suggests or simply set up to use avrdude.exe as the programming tool for STK500+mega8535. It has no problems programming the old dinosaurs.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 

I just copied ATmega8515_stk500.xml   to  ATmega8535kz_stk500.xml and I replace inside the text where: <device name="ATmega8515"> with <device name="ATmega8535">

 

 

and now I can see in the list the device name: ATmega8535. But how computer knows the device signature, it is not contained in the xml file?  

 

Learn as long as you live

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Try it.    You will find that there is another XML file that contains everything for the mega8535.

 

David.