Hi at all,
I am building a weather station and I want to use an ATmega644p or ATmega1284p for this project.
To get the sketches quickly on the chip, I installed FTDI headers to my board with the following layout:
To be able to upload, I flashed the optiboot bootloader "optiboot_atmega644p.hex" (GitHub - Lauszus/Sanguino: Sanguino add-on for the Arduino IDE, based on http://code.google.com/p/sanguino/). I flashed the bootloader via Arduino as ISP.
After that, I could upload the blink sketche via the Arduino as ISP.
When I take the ATmega644 out of my ISP board and put it into the intended board, the LED still blinks. When I connect the FTDI Basic to the board, I also can read the serial messages on my computer.
However, I cannot upload a sketch via FTDI. Why??
I tried:
- Upload
- Upload using Programmer
- Programmer AVRISP MkII
- Programmer Arduino as ISP
- I also modified the boards.txt, see attachment
With "Upload" and "Programmer AVRISP MkII" I get:
avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM9
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=0x65
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x65
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x65
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x65
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x65
With "Upload with Programmer" and "Programmer AVRISP MkII" I get:
avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : usb
Using Programmer : stk500v2
Invalid library found in C:\Program Files (x86)\Arduino\libraries\ER-TFTM070-5-with-CTP-SD_Arduino_Libraries_Examples: C:\Program Files (x86)\Arduino\libraries\ER-TFTM070-5-with-CTP-SD_Arduino_Libraries_Examples
avrdude: usbdev_open(): did not find any USB device "usb"
Any Ideas?
Thanks,
Robert



