Olimex Support Forum

ARM => JTAG => Topic started by: RazZziel on December 09, 2013, 12:21:09 PM

Title: MOD-IO + AVR-JTAG-L + avrdude
Post by: RazZziel on December 09, 2013, 12:21:09 PM
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
Title: Re: MOD-IO + AVR-JTAG-L + avrdude
Post by: RazZziel on December 09, 2013, 12:46:31 PM
I'm sorry I've posted this in the wrong subforum, it should've probably gone to AVR (https://www.olimex.com/forum/index.php?board=20.0).