? Serial Program downloading enabled" option in AVR st

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

Hi,

I am using Atmega1281 and planning to program the device with one more micro controller.
Using AVR Studio 4.12.472, Service Pack 2, integrated with AVR GCC.
I could see in the option “AVR studio -> Tools -> Program AVR -> Connect -> Disconnected Mode -> “ as
“ ? serial program downloading (SPI) enabled; [SPIEN = 0]”.

What does the ? mean, can I do Serial program downloading with SPI……please clarify?

Thanks
Bhaskar
[/b]

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

The fuse entry is present to indicate to the user that a fuse exists on the ATmega1281 called SPIEN, and the description explains that the fuse is used to determine whether the chip will allow you to program it through its ISP interface or not. The question mark is displayed because the programming dialog box is setup to communicate using the ISP protocol, and it isn't possible to inspect/modify the state of the SPIEN fuse using the ISP interface. If you switched to an alternative programming interface (eg. High voltage parallel or JTAG programming) then the SPIEN fuse would become accessible/modifiable.

"SPI programming" is somewhat of an unfortunate name for the process, because it doesn't actually use the onboard SPI port of an ATmega1281; rather, it uses pins that are known as PDI (programming data in) and PDO (programming data out). But it is an accurate name, in that the physial signals used to convey the programming information are compliant with what is commonly known as SPI.

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

Thank you for the response Ifmorrison

Regards
Bhaskar