From: Thomas H. <th...@in...> - 2010-10-09 21:13:40
|
Hi Steve, so far I haven't had any problems with debugging on any Eclipse Version up to and including Helios. Could you post the console output of avr-gdb and of avarice to see what is going on? You can use the little icon that looks like a computer screen on the top right of the 'Console' view to switch between the different consoles. Also debugging with avarice and AVR processors is generally slow, AFAIK due to inefficient protocols (reverse engineered because Atmel has not released the MK2 communication protocol). This is aggravated by Eclipse as it tries to read all AVR registers after each step. However 5 seconds per step seems rather slow. With my AVRDragon (usually connected to an AVR Butterfly for testing) It takes maybe 0,5 to 1 sec per step. Maybe you can increase the JTAG bitrate to improve the speed. Take a look at the '--jtag-bitrate' option of avarice any see if it helps. Another thing to improve single stepping is to change to 'Instruction step mode'. Instead of single stepping the C source this mode will step single assembler instructions, which is usually faster. IIRC this is activated by clicking on the little 'I' Icon next to the 'Step in', 'Step over' and 'Step out' icons. Cheers, Thomas On 08.10.2010 14:43, Steve Jones wrote: > Hi, > > I'm cannot get debugging to work with more recent versions of eclipse than 3.4 (Ganymede). > > I'm using an ATMEL/AVR JTAG MK2 on windows with WinAVR-20100110. Even on Ganymede single stepping is > very slow (5 seconds per step). > > On eclipse 3.5 and 3.6 hardware debugging fails to start on both. I can download using AVRDude OK. > WinAVR/avr-gdb starts up and acknowledges a connection but eclipse fails to enter the debug perspective. > > Are there known issues with later versions of eclipse or am I doing something wrong? > > Thank, Steve. > > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2& L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today. > http://p.sf.net/sfu/beautyoftheweb > _______________________________________________ > avr-eclipse-user mailing list > avr...@li... > https://lists.sourceforge.net/lists/listinfo/avr-eclipse-user > |