ATmega3216p programming error
Posted: Mon Mar 11, 2013 11:02 pm
Hi
I am using a EBR019 AVR board fitted with a ATMEGA3216P microcontroller and a home copy of flowcode v5, I am experiencing problems programming the chip via a AVRISPMKII. I have used ATMEGA32 as the target as there isn't a 16P version listed and I get the following error whilst trying to compile a EB004 test program to the chip:
avrdude.exe: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude.exe: Device signature = 0x1e9502
avrdude.exe: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude.exe: erasing chip
avrdude.exe: reading input file "eb004-14-2.hex"
avrdude.exe: input file eb004-14-2.hex auto detected as Intel Hex
avrdude.exe: writing flash (606 bytes):
Writing | ##########avrdude.exe: stk500v2_command(): unknown status 0x80
avrdude.exe: stk500v2_paged_write: write command failed
######################################## | 100% 1.38s
avrdude.exe: failed to write flash memory, rc=-1
avrdude.exe: safemode: Fuses OK
avrdude.exe done. Thank you.
Error returned from [avrdude]
Return code = 1
Flowcode was unable to transfer the flowchart to the microcontroller. Check the programmer options and physical connections.
FINISHED
The only way I have been able to program the device is via AVR studio on another PC and the program ran as expected. I haven't tried AVR studio on my current PC as I don't want to create a driver conflict. I am running windows 8, I don't know if that could be affecting anything. Any help would be appreciated.
I am using a EBR019 AVR board fitted with a ATMEGA3216P microcontroller and a home copy of flowcode v5, I am experiencing problems programming the chip via a AVRISPMKII. I have used ATMEGA32 as the target as there isn't a 16P version listed and I get the following error whilst trying to compile a EB004 test program to the chip:
avrdude.exe: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude.exe: Device signature = 0x1e9502
avrdude.exe: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude.exe: erasing chip
avrdude.exe: reading input file "eb004-14-2.hex"
avrdude.exe: input file eb004-14-2.hex auto detected as Intel Hex
avrdude.exe: writing flash (606 bytes):
Writing | ##########avrdude.exe: stk500v2_command(): unknown status 0x80
avrdude.exe: stk500v2_paged_write: write command failed
######################################## | 100% 1.38s
avrdude.exe: failed to write flash memory, rc=-1
avrdude.exe: safemode: Fuses OK
avrdude.exe done. Thank you.
Error returned from [avrdude]
Return code = 1
Flowcode was unable to transfer the flowchart to the microcontroller. Check the programmer options and physical connections.
FINISHED
The only way I have been able to program the device is via AVR studio on another PC and the program ran as expected. I haven't tried AVR studio on my current PC as I don't want to create a driver conflict. I am running windows 8, I don't know if that could be affecting anything. Any help would be appreciated.