My project requires the additional timers available with the ATmega 1284 series microcontrollers.
I've found a tutorial on utilizing the 1284 with the Arduino IDE here:
http://www.technoblogy.com/show?19OV
The issue, I've got is this tutorial and the associated Bootloader are written for the 1284P. Due to the current chip shortage, I'm unable to obtain a 1284P and am, instead, working with a 1284.
The bootloader is located here:
Ok, I've followed the instructions in the tutorial and when I try to Burn Bootloader it fails, because the 1284's signature is different than that of the 1284P.
See this error:
Reading | Error while burning bootloader.
################################################## | 100% 0.02s
avrdude: Device signature = 0x1e9706 (probably m1284)
avrdude: Expected signature for ATmega1284P is 1E 97 05
Double check chip, or use -F to override this check.
I've used the command line to try to burn it with a -F and I get the following results:
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x1e9706 (probably m1284)
avrdude: Expected signature for ATmega1284P is 1E 97 05
avrdude: safemode: lfuse reads as F7
avrdude: safemode: hfuse reads as DE
avrdude: safemode: efuse reads as FD
avrdude: erasing chip
avrdude: reading input file "0x3F"
avrdude: writing lock (1 bytes):
Writing | ################################################## | 100% 0.01s
avrdude: 1 bytes of lock written
avrdude: verifying lock memory against 0x3F:
avrdude: load data lock data from input file 0x3F:
avrdude: input file 0x3F contains 1 bytes
avrdude: reading on-chip lock data:
Reading | ################################################## | 100% 0.01s
avrdude: verifying ...
avrdude: 1 bytes of lock verified
avrdude: reading input file "0xfd"
avrdude: writing efuse (1 bytes):
Writing | ################################################## | 100% 0.01s
avrdude: 1 bytes of efuse written
avrdude: verifying efuse memory against 0xfd:
avrdude: load data efuse data from input file 0xfd:
avrdude: input file 0xfd contains 1 bytes
avrdude: reading on-chip efuse data:
Reading | ################################################## | 100% 0.01s
avrdude: verifying ...
avrdude: 1 bytes of efuse verified
avrdude: reading input file "0xde"
avrdude: writing hfuse (1 bytes):
Writing | ################################################## | 100% 0.01s
avrdude: 1 bytes of hfuse written
avrdude: verifying hfuse memory against 0xde:
avrdude: load data hfuse data from input file 0xde:
avrdude: input file 0xde contains 1 bytes
avrdude: reading on-chip hfuse data:
Reading | ################################################## | 100% 0.01s
avrdude: verifying ...
avrdude: 1 bytes of hfuse verified
avrdude: reading input file "0xf7"
avrdude: writing lfuse (1 bytes):
Writing | ################################################## | 100% 0.01s
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.01s
avrdude: verifying ...
avrdude: 1 bytes of lfuse verified
avrdude: safemode: lfuse reads as F7
avrdude: safemode: hfuse reads as DE
avrdude: safemode: efuse reads as FD
avrdude: safemode: Fuses OK (E:FD, H:DE, L:F7)
avrdude done. Thank you.
Being that I'm not an expert in these things, I'm reading this as there were no errors and the process was successful.
However, when I try to upload Blink to the 1284, I get the following error:
Using Port : /dev/ttyUSB0
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
It does that 10 times and fails.
As stated, I've used the instructions outlined in the aformentioned tutorial and I'm using the same Sparkfun FTDI. I've triple checked my connections and am certain that I do not have them incorrectly connected.
It is at this point that I've run out of knowledge.
Any advice or direction in solving this conundrum would be greatly appreciated!