Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all articles
Browse latest Browse all 12090

Re: Sanguinololu ATMEGA 1284P 16 Mhz What PRogrammer ?

$
0
0
Hi, avrdude: verification error
All the steps:

  1. download Gen7 zip version 2
  2. unzip it and copy it to arduino-1.0.5/hardware/Gen7
  3. unplug the LCD panel from the board to free the 6 pins for SPI
  4. and insert the programmer interface to prusa SPI

avrdude -C /etc/avrdude.conf -c usbtiny -p atmega1284p -B 5 -U lfuse:w:0xF7:m -U hfuse:w:0xDC:m -U efuse:w:0xFC:m
fuse fuses:

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9705 (probably m1284p)
avrdude: reading input file "0xF7"
avrdude: writing lfuse (1 bytes):

Writing | ################################################## | 100% 0.00s

avrdude: 1 bytes of lfuse written
avrdude: verifying lfuse memory against 0xF7:
avrdude: load data lfuse data from input file 0xF7:
avrdude: input file 0xF7 contains 1 bytes
avrdude: reading on-chip lfuse data:

Reading | ################################################## | 100% 0.00s

avrdude: verifying ...
avrdude: 1 bytes of lfuse verified
avrdude: reading input file "0xDC"
avrdude: writing hfuse (1 bytes):

Writing | ################################################## | 100% 0.00s

avrdude: 1 bytes of hfuse written
avrdude: verifying hfuse memory against 0xDC:
avrdude: load data hfuse data from input file 0xDC:
avrdude: input file 0xDC contains 1 bytes
avrdude: reading on-chip hfuse data:

Reading | ################################################## | 100% 0.00s

avrdude: verifying ...
avrdude: 1 bytes of hfuse verified
avrdude: reading input file "0xFC"
avrdude: writing efuse (1 bytes):

Writing | ################################################## | 100% 0.00s

avrdude: 1 bytes of efuse written
avrdude: verifying efuse memory against 0xFC:
avrdude: load data efuse data from input file 0xFC:
avrdude: input file 0xFC contains 1 bytes
avrdude: reading on-chip efuse data:

Reading | ################################################## | 100% 0.00s

avrdude: verifying ...
avrdude: 1 bytes of efuse verified

avrdude: safemode: Fuses OK (E:FC, H:DC, L:F7)

avrdude done. Thank you.


burn bootloader
avrdude -C /etc/avrdude.conf -c usbtiny -p atmega1284p -B 1 -U flash:w:./bootloader-1284P-16MHz.hex

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9705 (probably m1284p)
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "./bootloader-1284P-16MHz.hex"
avrdude: input file ./bootloader-1284P-16MHz.hex auto detected as Intel Hex
avrdude: writing flash (130244 bytes):

Writing | ################################################## | 100% 0.00s

avrdude: 130244 bytes of flash written
avrdude: verifying flash memory against ./bootloader-1284P-16MHz.hex:
avrdude: load data flash data from input file ./bootloader-1284P-16MHz.hex:
avrdude: input file ./bootloader-1284P-16MHz.hex auto detected as Intel Hex
avrdude: input file ./bootloader-1284P-16MHz.hex contains 130244 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 0.00s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x1f800
0xff != 0x8f
avrdude: verification error; content mismatch


avrdude: safemode: Fuses OK (E:FC, H:DC, L:F7)

avrdude done. Thank you.


I decide to continue disregarding that error. I

  1. power off prusa
  2. uplug the SPI and unhook the programmer
  3. put back the LCD connector
  4. plug the USB to prusa usb port
  5. check arduino-1.0.5/hardware/Gen7/boards.txt
    Gen7-644-16.name=Gen7 with ATmega644 and 16 MHz
    Gen7-644-16.upload.protocol=stk500v2
    Gen7-644-16.upload.maximum_size=63488
    Gen7-644-16.upload.speed=115200
  6. fire arduino ide 1.0.5
  7. open Marlin.ino
  8. Menu->Tools->Board->Gen 7 with atmega 1284 16Mhz
  9. Menu->Tools->Programmer-> As found default option: AVR ISP MKII
  10. Compile
  11. Upload
  12. Result:
  13. Printer is bricked !!!

I think I had enough with the Sang... I even can spell this name...

Viewing all articles
Browse latest Browse all 12090

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>