Hi all,
I know there are a few threads with this problem but I haven't found any solutions and wanted to post my exact setup.
I'm using Marlin RC3 from here: (Downloaded as the tagged RC3 version)
[github.com]
I'm also using Arduino-1.0.1 and have "Gen7+Arduino+IDE+Support+2.0.zip" installed into /Arduino-1.0.1/hardware/Gen7/ directory.
I have a Sanguinololu v1.3a with an ATMega1284P - It is pre-loaded with Marlin and a bootloader which works but now I need to set up my configuration properly.
I select the following board in the Arduino IDE: (I renamed it so I knew which one to use)
Gen7-1284P-16.name=Sanguinololu / Gen7 with ATmega1284P and 16 MHz
Gen7-1284P-16.upload.protocol=stk500v2
Gen7-1284P-16.upload.maximum_size=129024
Gen7-1284P-16.upload.speed=115200
Gen7-1284P-16.bootloader.low_fuses=0xF7
Gen7-1284P-16.bootloader.high_fuses=0xDC
Gen7-1284P-16.bootloader.extended_fuses=0xFC
Gen7-1284P-16.bootloader.path=Gen7
Gen7-1284P-16.bootloader.file=bootloader-1284P-16MHz.hex
Gen7-1284P-16.bootloader.unlock_bits=0x3F
Gen7-1284P-16.bootloader.lock_bits=0x0F
Gen7-1284P-16.build.mcu=atmega1284p
Gen7-1284P-16.build.f_cpu=16000000L
Gen7-1284P-16.build.core=arduino
Gen7-1284P-16.build.variant=gen7
I have tried the baud rates 115200, 57600 and 38400.
When I try to upload it, it compiles then I keep getting the following:
Using Port : \\.\COM9
Using Programmer : stk500v2
Overriding Baud Rate : 57600
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
It just times out over and over. I have tried holding reset until it has compiled and have tried both enabling and disabling the USB auto-reset feature.
I can talk to the current version of Marlin without any issues via Pronterface so the communication isn't an issue. This connects at the baud rate of 115200.
If I set up AVRDude to use the baud rate of 115200, a few seconds after I release the reset button I get debug data that Marlin sends to Pronterface. (The current EEPROM speeds etc.)
I'm using Windows 7, x64.
Thanks,
-Andrew.
I know there are a few threads with this problem but I haven't found any solutions and wanted to post my exact setup.
I'm using Marlin RC3 from here: (Downloaded as the tagged RC3 version)
[github.com]
I'm also using Arduino-1.0.1 and have "Gen7+Arduino+IDE+Support+2.0.zip" installed into /Arduino-1.0.1/hardware/Gen7/ directory.
I have a Sanguinololu v1.3a with an ATMega1284P - It is pre-loaded with Marlin and a bootloader which works but now I need to set up my configuration properly.
I select the following board in the Arduino IDE: (I renamed it so I knew which one to use)
Gen7-1284P-16.name=Sanguinololu / Gen7 with ATmega1284P and 16 MHz
Gen7-1284P-16.upload.protocol=stk500v2
Gen7-1284P-16.upload.maximum_size=129024
Gen7-1284P-16.upload.speed=115200
Gen7-1284P-16.bootloader.low_fuses=0xF7
Gen7-1284P-16.bootloader.high_fuses=0xDC
Gen7-1284P-16.bootloader.extended_fuses=0xFC
Gen7-1284P-16.bootloader.path=Gen7
Gen7-1284P-16.bootloader.file=bootloader-1284P-16MHz.hex
Gen7-1284P-16.bootloader.unlock_bits=0x3F
Gen7-1284P-16.bootloader.lock_bits=0x0F
Gen7-1284P-16.build.mcu=atmega1284p
Gen7-1284P-16.build.f_cpu=16000000L
Gen7-1284P-16.build.core=arduino
Gen7-1284P-16.build.variant=gen7
I have tried the baud rates 115200, 57600 and 38400.
When I try to upload it, it compiles then I keep getting the following:
Using Port : \\.\COM9
Using Programmer : stk500v2
Overriding Baud Rate : 57600
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
It just times out over and over. I have tried holding reset until it has compiled and have tried both enabling and disabling the USB auto-reset feature.
I can talk to the current version of Marlin without any issues via Pronterface so the communication isn't an issue. This connects at the baud rate of 115200.
If I set up AVRDude to use the baud rate of 115200, a few seconds after I release the reset button I get debug data that Marlin sends to Pronterface. (The current EEPROM speeds etc.)
I'm using Windows 7, x64.
Thanks,
-Andrew.