November 23, 2024, 02:18:25 AM

MOD-IO + AVR-JTAG-L + avrdude

Started by RazZziel, December 09, 2013, 12:21:09 PM

Previous topic - Next topic

RazZziel

Hi there,

I'm trying to program a MOD-IO with a AVR-JTAG-L connected via USB-RS232 converter, using avrdude, with the following command:

avrdude -p m16 -c jtag1slow -P /dev/ttyUSB0 -v -U flash:w:ctrl_peana.hex

Avrdude seems to detect the programmer and read/erase/write some stuff, but programming finally fails with the following error:

Reading | ###                                                | 6% 0.08savrdude: jtagmkI_paged_load(): timeout/error communicating with programmer (resp �)
Reading | ######                                             | 12% 0.37savrdude: jtagmkI_paged_load(): timeout/error communicating with programmer (resp d)
avrdude: jtagmkI_paged_load(): timeout/error communicating with programmer (resp `)
Reading | ################################################## | 100% 3.27s

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


Here's the complete output: http://pastebin.com/raw.php?i=twaF7xQP

Am I doing something wrong?

Cheers,
Ismael

RazZziel

I'm sorry I've posted this in the wrong subforum, it should've probably gone to AVR.