Closed avrs-admin closed 2 years ago
joerg_wunsch 2008-05-26 12:49:22
Logged In: YES user_id=1097648 Originator: NO
Fixed but using a different approach than the hack I once suggested. jtag2::resetProgram() now calls jtag2::eventLoop() immediately after issuing CMND_RESET, in order to catch the EVT_BREAK event posted by the ICE. Thus, program flow only continues after the ICE is guaranteed to have the target in stopped state.
joerg_wunsch 2008-05-26 12:49:23
skut
2007-07-09 07:54:01
avarice -r -2 -j usb -w :1212
however fails with the following message: $ avarice -2 -j usb -w :1212 AVaRICE version 2.6.20070222, Apr 29 2007 11:16:28
Defaulting JTAG bitrate to 1 MHz. Make sure that the target frequency is at least 4 MHz or you will likely encounter failures controlling the target.
JTAG config starting. Found a device: JTAGICEmkII Serial number: 00:b0:00:00:16:01 Reported debugWire device ID: 0x9406 Configured for device ID: 0x9406 atmega168 JTAG config complete. Preparing the target device for On Chip Debugging. set paramater command failed
when I run with the -d option I see the following:
command[0x02, 10]: 02 09 00 recv: 0x1b recv: 0x06 recv: 0x00 recv: 0x01 recv: 0x00 recv: 0x00 recv: 0x00 recv: 0x0e sDATA: reading 1 bytes read: a0 recv: 0xc1 recv: 0x3e CRC OK Got message seqno 6 (command_sequence == 6) response: A0 set parameter command failed
Jorge's Patch
This issue was migrated from https://sourceforge.net/p/avarice/patches/7/