I'll be waiting to hear the news from you. Thanks a lot. Radek --- Rob Jansen <rob@...> wrote: > > Does anyone know the proper way of exit from > debug state to the thumb > > running state? This is not described in any > available arm documents. > > The way you describe it in your previous mail sounds > good: > > > > When I exit from debug state: > > > 10. restore r1 to r15 (arm instruction - r15 is > modified to reflect > > > correct address after 12) > > > 11. restore cpsr > > > 12. restore r0 (arm or thumb instruction) > > The only question is what will happen with the > content of r15 during steps > 11 and 12 (the LSB must stay 1 in order to jump to > thumb mode). > > I have not even reached thumb mode yet, I have some > problems reading > registers after execution of a system speed LDR > r1,[r0]. It seems the > RESTART has some side effects such that I am not > able to do normal CPU > register reads anymore (reading the ICE registers > looks Ok so scanchain > works). > > I have planned to do some monitoring on the JTAG > signals of a working JTAG > pod. I will also look at thumb at that time and keep > you informed. > > Regards, > > Rob > > __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com
Message
Re: [lpc2000] Re: exit from debug state in THUMB mode
2005-11-10 by Radoslaw Mitura
Attachments
- No local attachments were found for this message.