[Icc-avr] Debug using Jtag

Steven Lose sl at ecpower.dk
Thu Sep 27 00:55:43 PDT 2007


Hi.

 

I have a SW bug... Yes, I know, never happened before.

 

Bug is that PORTD on my ATMEGA128 is overwritten somewhere; I have debugged for a long time now and found out, that it is not the regular function that is called by mistake or something like that.

Only 2 pins are output on the Port, TX of Uart1 and Bit 7 witch is port direction, so there is only 1 function that writes the port.

I would like to somehow set up the JTAG to break when PORTD is written to, but if possible not when the normal function is accessing the PORTD.

 

Is it possible to set up the JTAG in such a manner?

Med venlig hilsen / Best regards / mit freundlichen Grüßen

EC POWER A/S

Steven Lose

Software Ingeniør

Tlf.: +45 87434100

Direkte tlf. +45 58286608

Email: sl at ecpower.dk <blocked::mailto:bsl at ecpower.dk> 

www.ecpower.dk

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dragonsgate.net/pipermail/icc-avr/attachments/20070927/93878f5c/attachment.html


More information about the Icc-avr mailing list