I am sorry techylan.... I am quite new to all that stuff, and I read numbers (ACII) from an.TXT file on the sd card, and substracted '0' to get the real '0' and '1' out of the .TXT and then I shifted that boolean into a 16 Bit number and stuffed an array fith lots of loops and counters.
I´ve never seen such a method like you mentioned before... Can I anywhere look up for more details how to use that?
But my main problem is still getting the 1284P to life :-(
Today I spent many order with burning different bootloaders and filtering the web for good answeres.
So far, I cant spot any mistakes
-I use a fresh install of the Arduino 1.0 IDE
-I use the Mighty 1284P (
https://github.com/maniacbug/mighty-1284p)
-I followed the instruktions on
http://maniacbug.wordpress.com/2011/11/27/arduino-on-atmega1284p-4/-The bootloader led (on PIN 1) also flashes when I press reset.
-I have an 16MHz external crystal with two 22pF tied to ground
-I want to use an Arduino UNO board to upload the sketches (as an serial adapter) (of course I removed the 328P)
--> I connected the RXD0 to the RX of the arduino UNO board and the TXD0 to the TX
It says "bootloader burn done", but when I want to upload a simple sketch (e.g. "Blink"), I get no response from the 1284P
Here is the log from the AVRDUDE:
Using Port : \\.\COM5
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude done. Thank you.
I have also tried to look if the fuse bits are set properly. - I did this by a tool created by Nick Gammon (
http://arduino.cc/forum/index.php?topic=105089.0)
Here is the result:
Atmega fuse calculator.
Written by Nick Gammon.
Entered programming mode OK.
Signature = 0x1E 0x97 0x05
Processor = ATmega1284P
Flash memory size = 131072
LFuse = 0xFF
HFuse = 0xDE
EFuse = 0xFD
Lock byte = 0xCF
Clock calibration = 0x9D
OCD Enable.............................. [ ]
JTAG Enable............................. [ ]
Enable Serial (ICSP) Programming........ [X]
Watchdog Timer Always On................ [ ]
Preserve EEPROM through chip erase...... [ ]
Boot into bootloader.................... [X]
Divide clock by 8....................... [ ]
Clock output............................ [ ]
Bootloader size: 4096 bytes.
Start-up time: SUT0: [ ] SUT1: [ ] (see datasheet)
Clock source: low-power crystal.
Brownout detection at: 2.7V.
So far the fuses are set properly.
I hope you guys have an idea....
grz mx