From: Jordan, K. <Kyl...@ke...> - 2009-08-07 16:50:08
|
That's alright. Thanks for the suggestion. -----Original Message----- From: Luca Ottaviano [mailto:lot...@de...] Sent: Friday, August 07, 2009 12:28 PM To: Jordan, Kyle; ava...@li... Subject: Re: [AVaRICE-user] avarice with complete xmega support Adding ML again... Jordan, Kyle ha scritto: > >> have you tried to use hw breakpoints? I'm using 'thbreak' command on >> atmega1281 to set temporary breakpoints and they work fine. >> You will have only a few bp available (3, IIRC) but they should be > fine. > > The previous attempt I mentioned was on my Linux system. I tried what > you suggested on Windows with WinAVR-20090306rc1 installed, and > avr-gdb will accept 'thbreak' and 'hbreak' commands for the xmega128a1 > processor. However, I get the same avarice error when attempting to > continue the program after setting the breakpoint. This is with > avarice > v2.9 and avr-gdb v5.8. For some reason, the mkII connected to the > xmega is rejecting the SET_BREAK command. > > ->GDB: > GDB: <Z0,258,2> > BP ADD type: 1 addr: 0x258 Slot 0 full > ->GDB: OK > GDB: <vCont?> > ->GDB: > GDB: <Hc0> > ->GDB: > GDB: <c> > Slot 0 full > Breakpoint added in ICE. slot: 1 type: 1 addr: 0x258 > > command[0x11, 1]: 11 01 01 22 01 00 00 03 > recv: 0x1b > recv: 0x12 > recv: 0x00 > recv: 0x01 > recv: 0x00 > recv: 0x00 > recv: 0x00 > recv: 0x0e > sDATA: reading 1 bytes > read: a0 > recv: 0x67 > recv: 0x73 > CRC OK > Got message seqno 18 (command_sequence == 18) > response: A0 > Failed to set breakpoint > I have no other ideas, sorry. :/ Best regards, -- Luca Ottaviano <lot...@de...> BeRTOS developer -> dev.bertos.org |