Other Parts Discussed in Thread: CC3200
Hi Guys,
Could you help me with one issue. I am trying to debug the CC3200 in LPDS mode with J-Link from IAR 7.80.2.
The process look like that:
1. Run debugging from IAR.
2. CC3200 init.
3. CC3200 goes to LPDS. For LPDS mode I use "PRCMLPDSEnterKeepDebugIf()" function to go to the LPDS. In this case the JTAG will not be disconnected. So I am able to stop program while CC3200 in LPDS mode and read memory, etc.
4. Then I make interruption, but CC3200 does want to wake up and continue looping in the PRCMLPDSEnterKeepDebugIf() function.
Notes, if I run the same code without debugging, the CC3200 works well and wake ups successfully.
In debugger mode I check the INTCTRL register before and after interruption it has next value:
- before interruption: 0x0400f000
- after interruption: 0x04411000
register: INTCTRL
[26 bit ] PENDSTSET = 1 - On a read, indicates a SysTick exception is pending.
[22 bit ] ISRPEND = 1 - An interrupt is pending.
[19-12 bits ] VECPEND = 11h - Interrupt Vector 1
Do I miss something? Why the process does not want to exit from the LPDS mode while the debugging? Should enable something in CC3200?
Thanks!