[Moving this to the avrdude list. CCing Jörg, as he is the local avrdude expert.]
Eric > -----Original Message----- > From: Anton Erasmus [mailto:[EMAIL PROTECTED] > Sent: Friday, June 29, 2007 10:12 AM > To: Eric Weddington > Subject: RE: [avr-chat] WHere to buy AVRISP MK1 > > On 27 Jun 2007 at 15:27, Eric Weddington wrote: > > Date sent: Wed, 27 Jun 2007 15:27:18 -0600 > From: Eric Weddington <[EMAIL PROTECTED]> > Subject: RE: [avr-chat] WHere to buy AVRISP MK1 > To: "'Anton Erasmus'" > <[EMAIL PROTECTED]>, [EMAIL PROTECTED] > > > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] > > > On Behalf Of Anton Erasmus > > > Sent: Wednesday, June 27, 2007 3:03 PM > > > To: [EMAIL PROTECTED] > > > Subject: [avr-chat] WHere to buy AVRISP MK1 > > > > > > Hi, > > > > > > Anybody know where I can buy an AVRISP Mk1 or compatible ? > > > I bought an AVRISP Mk2, but I am having trouble programming > > > AT90LS2343 using the AVRISP Mk2. I can program it via an STK200, > > > but I want a programmer that works using either a serial port or a > > > USB port. > > > AVR Studio can connect to the device, but does not support > > > the AT90LS2343 > > > on the AVRISP MK2. > > > avrdude seems to support it, but I am getting errors with the > > > latest avrdude > > > compiled with USB support. It is picking up the programmer, > > > but reports an error > > > when trying to read from the device. > > > > Hi Anton, > > > > What is the error that you're getting with avrdude? Can you > provide output > > from running it with -vvvv (four "v"s)? > > > > Hi Eric, > > Below is the output from avrdude running on Windows 2000, and below > that running under Linux. For me it looks like the USB comms > is OK, and > that for some reason the avr dragon is no communicating with the > device. I have double and triple checked the ISP connection, but > I am still getting this response. > > Regards > Anton > > Windows: > C:\bin\avrdude>avrdude -c dragon_isp -p 2343 -P usb -B 10 -U > flash:r:test.bin:r > -vvvv > > avrdude: Version 5.4, compiled on Jun 11 2007 at 20:52:53 > Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ > > System wide configuration file is > "C:\bin\avrdude\avrdude.conf" > > Using Port : usb > Using Programmer : dragon_isp > Setting bit clk period: 10.0 > avrdude: stk500v2_dragon_isp_open() > avrdude: usbdev_open(): Found AVRDRAGON, serno: 00A2000014C4 > avrdude: jtagmkII_getsync() > avrdude: jtagmkII_getsync(): Sending sign-on command: > avrdude: jtagmkII_send(): sending zd bytes > avrdude: Sent: . [1b] . [00] . [00] . [01] . [00] . [00] . > [00] . [0e] . [01] . > [f3] . [97] > avrdude: jtagmkII_recv(): > avrdude: Recv: . [1b] > avrdude: Recv: . [00] > avrdude: Recv: . [00] > avrdude: Recv: . [1a] > avrdude: Recv: . [00] > avrdude: Recv: . [00] > avrdude: Recv: . [00] > avrdude: Recv: . [0e] > avrdude: Recv: . [86] . [01] . [ff] . [01] . [01] . [01] . > [ff] . [09] . [01] . > [02] . [00] . [a2] . [00] . [00] . [14] . [c4] A [41] V [56] > R [52] D [44] R [52 > ] A [41] G [47] O [4f] N [4e] . [00] > avrdude: Recv: ; [3b] > avrdude: Recv: [20] > avrdude: jtagmkII_recv(): CRC OK > avrdude: jtagmkII_recv(): Got message seqno 0 (command_sequence == 0) > > Raw message: > 0x86 0x01 0xff 0x01 0x01 0x01 0xff 0x09 0x01 0x02 0x00 0xa2 > 0x00 0x00 0x14 0xc4 > 0x41 0x56 0x52 0x44 0x52 0x41 0x47 0x4f 0x4e 0x00 > Sign-on succeeded > > JTAG ICE mkII sign-on message: > Communications protocol version: 1 > M_MCU: > boot-loader FW version: 255 > firmware version: 1.01 > hardware version: 1 > S_MCU: > boot-loader FW version: 255 > firmware version: 1.09 > hardware version: 2 > Serial number: 00:a2:00:00:14:c4 > Device ID: AVRDRAGON > avrdude: jtagmkII_setparm() > avrdude: jtagmkII_setparm(): Sending set parameter command > (parm 0x03, zu bytes) > : > avrdude: jtagmkII_send(): sending zd bytes > avrdude: Sent: . [1b] . [01] . [00] . [03] . [00] . [00] . > [00] . [0e] . [02] . > [03] . [03] . [89] f [66] > avrdude: jtagmkII_recv(): > avrdude: Recv: . [1b] > avrdude: Recv: . [01] > avrdude: Recv: . [00] > avrdude: Recv: . [01] > avrdude: Recv: . [00] > avrdude: Recv: . [00] > avrdude: Recv: . [00] > avrdude: Recv: . [0e] > avrdude: Recv: . [a0] > avrdude: Recv: . [cf] > avrdude: Recv: . [a2] > avrdude: jtagmkII_recv(): CRC OK > avrdude: jtagmkII_recv(): Got message seqno 1 (command_sequence == 1) > > Raw message: > 0xa0 > FAILED > > avrdude: jtagmkII_setparm(): bad response to set parameter > command: RSP_FAILED > avrdude: jtagmkII_getsync(): ISP activation failed, trying debugWire > avrdude: jtagmkII_setparm() > avrdude: jtagmkII_setparm(): Sending set parameter command > (parm 0x03, zu bytes) > : > avrdude: jtagmkII_send(): sending zd bytes > avrdude: Sent: . [1b] . [02] . [00] . [03] . [00] . [00] . > [00] . [0e] . [02] . > [03] . [00] { [7b] [20] > avrdude: jtagmkII_recv(): > avrdude: Recv: . [1b] > avrdude: Recv: . [02] > avrdude: Recv: . [00] > avrdude: Recv: . [01] > avrdude: Recv: . [00] > avrdude: Recv: . [00] > avrdude: Recv: . [00] > avrdude: Recv: . [0e] > avrdude: Recv: . [ab] > avrdude: Recv: . [cc] > avrdude: Recv: . [96] > avrdude: jtagmkII_recv(): CRC OK > avrdude: jtagmkII_recv(): Got message seqno 2 (command_sequence == 2) > > Raw message: > 0xab > No target power > > avrdude: jtagmkII_setparm(): bad response to set parameter > command: RSP_NO_TARGE > T_POWER > avrdude: failed to sync with the JTAG ICE mkII in ISP mode > avrdude: jtagmkII_close() > avrdude: jtagmkII_close(): Sending sign-off command: > avrdude: jtagmkII_send(): sending zd bytes > avrdude: Sent: . [1b] . [03] . [00] . [01] . [00] . [00] . > [00] . [0e] . [00] . > [aa] . [0c] > avrdude: jtagmkII_recv(): > avrdude: Recv: . [1b] > avrdude: Recv: . [03] > avrdude: Recv: . [00] > avrdude: Recv: . [01] > avrdude: Recv: . [00] > avrdude: Recv: . [00] > avrdude: Recv: . [00] > avrdude: Recv: . [0e] > avrdude: Recv: . [80] > avrdude: Recv: . [a2] > avrdude: Recv: . [88] > avrdude: jtagmkII_recv(): CRC OK > avrdude: jtagmkII_recv(): Got message seqno 3 (command_sequence == 3) > > Raw message: > 0x80 > OK > > Linux: > > [EMAIL PROTECTED] avr]# avrdude -c dragon_isp -p 2343 -P usb -B 10 > -U flash:r:test.bin:r -vvvv > avrdude: Version 5.4, compiled on Jun 28 2007 at 12:53:37 > Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ > > System wide configuration file is > "/usr/local/etc/avrdude.conf" > User configuration file is "/root/.avrduderc" > User configuration file does not exist or is not a > regular file, skipping > > Using Port : usb > Using Programmer : dragon_isp > Setting bit clk period: 10.0 > avrdude: stk500v2_dragon_isp_open() > avrdude: usbdev_open(): Found AVRDRAGON, serno: 00A2000014C4 > avrdude: jtagmkII_getsync() > avrdude: jtagmkII_getsync(): Sending sign-on command: > avrdude: jtagmkII_send(): sending 1 bytes > avrdude: Sent: . [1b] . [00] . [00] . [01] . [00] . [00] . > [00] . [0e] . [01] . [f3] . [97] > avrdude: jtagmkII_recv(): > avrdude: Recv: . [1b] > avrdude: Recv: . [00] > avrdude: Recv: . [00] > avrdude: Recv: . [1a] > avrdude: Recv: . [00] > avrdude: Recv: . [00] > avrdude: Recv: . [00] > avrdude: Recv: . [0e] > avrdude: Recv: . [86] . [01] . [ff] . [01] . [01] . [01] . > [ff] . [09] . [01] . [02] . [00] . [a2] . [0 0] . [00] > . [14] . [c4] A [41] V [56] R [52] D [44] R [52] A [41] G > [47] O [4f] N [4e] . [00] > avrdude: Recv: ; [3b] > avrdude: Recv: [20] > avrdude: jtagmkII_recv(): CRC OK > avrdude: jtagmkII_recv(): Got message seqno 0 (command_sequence == 0) > > Raw message: > 0x860x010xff0x010x010x010xff0x090x010x020x000xa20x000x000x140xc4 > 0x410x560x520x440x520x410x470x4f0x4e0x00 > Sign-on succeeded > > JTAG ICE mkII sign-on message: > Communications protocol version: 1 > M_MCU: > boot-loader FW version: 255 > firmware version: 1.01 > hardware version: 1 > S_MCU: > boot-loader FW version: 255 > firmware version: 1.09 > hardware version: 2 > Serial number: 00:a2:00:00:14:c4 > Device ID: AVRDRAGON > avrdude: jtagmkII_setparm() > avrdude: jtagmkII_setparm(): Sending set parameter command > (parm 0x03, 1 bytes): > avrdude: jtagmkII_send(): sending 3 bytes > avrdude: Sent: . [1b] . [01] . [00] . [03] . [00] . [00] . > [00] . [0e] . [02] . [03] . [03] . [89] f [6 6] > avrdude: jtagmkII_recv(): > avrdude: Recv: . [1b] > avrdude: Recv: . [01] > avrdude: Recv: . [00] > avrdude: Recv: . [01] > avrdude: Recv: . [00] > avrdude: Recv: . [00] > avrdude: Recv: . [00] > avrdude: Recv: . [0e] > avrdude: Recv: . [a0] > avrdude: Recv: . [cf] > avrdude: Recv: . [a2] > avrdude: jtagmkII_recv(): CRC OK > avrdude: jtagmkII_recv(): Got message seqno 1 (command_sequence == 1) > > Raw message: > 0xa0 > FAILED > > avrdude: jtagmkII_setparm(): bad response to set parameter > command: RSP_FAILED > avrdude: jtagmkII_getsync(): ISP activation failed, trying debugWire > avrdude: jtagmkII_setparm() > avrdude: jtagmkII_setparm(): Sending set parameter command > (parm 0x03, 1 bytes): > avrdude: jtagmkII_send(): sending 3 bytes > avrdude: Sent: . [1b] . [02] . [00] . [03] . [00] . [00] . > [00] . [0e] . [02] . [03] . [00] { [7b] [2 0] > avrdude: jtagmkII_recv(): > avrdude: Recv: . [1b] > avrdude: Recv: . [02] > avrdude: Recv: . [00] > avrdude: Recv: . [01] > avrdude: Recv: . [00] > avrdude: Recv: . [00] > avrdude: Recv: . [00] > avrdude: Recv: . [0e] > avrdude: Recv: . [ab] > avrdude: Recv: . [cc] > avrdude: Recv: . [96] > avrdude: jtagmkII_recv(): CRC OK > avrdude: jtagmkII_recv(): Got message seqno 2 (command_sequence == 2) > > Raw message: > 0xab > No target power > > avrdude: jtagmkII_setparm(): bad response to set parameter command: > RSP_NO_TARGET_POWER > avrdude: failed to sync with the JTAG ICE mkII in ISP mode > avrdude: jtagmkII_close() > avrdude: jtagmkII_close(): Sending sign-off command: > avrdude: jtagmkII_send(): sending 1 bytes > avrdude: Sent: . [1b] . [03] . [00] . [01] . [00] . [00] . > [00] . [0e] . [00] . [aa] . [0c] > avrdude: jtagmkII_recv(): > avrdude: Recv: . [1b] > avrdude: Recv: . [03] > avrdude: Recv: . [00] > avrdude: Recv: . [01] > avrdude: Recv: . [00] > avrdude: Recv: . [00] > avrdude: Recv: . [00] > avrdude: Recv: . [0e] > avrdude: Recv: . [80] > avrdude: Recv: . [a2] > avrdude: Recv: . [88] > avrdude: jtagmkII_recv(): CRC OK > avrdude: jtagmkII_recv(): Got message seqno 3 (command_sequence == 3) > > Raw message: > 0x80 > OK > -- > A J Erasmus > > _______________________________________________ avrdude-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avrdude-dev
