I am working on a custom PCB, which uses the i.MX XRT1160 MCU. The board uses the IS25LP032 serial flash memory. I have been able to flash the device without issues, but when I try debugging, it seems to get stuck in an infinite loop.
When suspending the debug session, the program breaks at the address 0x223104, with the message: "Break at address "0x223104" with no debug information available, or outside of program code." When I use the "step over" function, I get the error message "Cannot find bounds of current function". I have attached screenshots of the error message and break message.
The project uses both cores using the multicore manager, where cm7 is set as the master and cm4 is set as the slave.
I think the issue has something to do with the serial flash memory I use, but I find it strange the problem only occurs while debugging.
Does anyone have an idea how to fix this issue?
Thanks,
CWRB
Thank you for your response.
Both the cm4 and cm7 blinky examples that are provided flash and debug without issues. I used the same memory settings I used for my project for both cores.
The blinky examples don't make use of the multicore manager, so maybe that has something to do with the issue.
About setting the board to internal boot. Are there separate settings for flashing the board and using the debugger? If so, where could I find them?
Hi @jingpan,
I am working with a custom board and not the EVK so I don't have access to SW1. The appropriate pins have been set to internal boot mode so that should not be the problem.
I have an EVK available here, and I can debug my code on the EVK without issues. I want to get it to work on my own hardware though, as it also connects to some peripherals.