DEBUG Sleep ISR with ICE CUBE | Cypress Semiconductor
DEBUG Sleep ISR with ICE CUBE
I'm debugging the Sleep ISR code I implement for knowing if it runs well!I'm using a ICE cube...
I would like to do that the PSoC 1 sleeps during X time (20 seconds for example) and wakes up after this time to do an interruption rutine (1 Hz, choosen) to get data from ADC and save it in the eeprom. After the interruption, sleep another time...
As I could see with the debugger is when the program starts goes to MC8 to sleep, when I pressed f5, goes to the interruption and when its has done, return to sleep MC8. In this moment, the ICE cube appears disconnect, but the board CY3215-DK (miniboard) was turning up the 4 leds like a random way.
I don't know if is possible to do what I want and if is possible to debugger too. I use the function "SleepTimer_SetTimer(bticks)" where bticks=20.
Is it possible to debug a Sleep ISR in real time? How can I know that all runs well and do what I want?
Thanks for your feedbacks!