Other Parts Discussed in Thread: UNIFLASH
Tool/software:
Hi,
I am able to run the application from OSPI flash (AM263Px - control card) and found few limitations while debugging the XIP application.
Can you please suggest a workaround for the below ?
- Is there a way to perform step in, step over and step out operation while executing the application from OSPI flash ? If I perform any of this operation the program crashes and the only way to recover the board is re-flashing the software.
- Is there a way to perform CPU reset or SYSTEM reset while debugging XIP applications ? If I perform any of this operation the program enters exception (assume that OSPI isn’t initialized after cpu reset or system reset) and the only way to recover the board is re-flashing the software.
- How to default hardware breakpoints in CCS as the software breakpoint doesnt work for XIP applications.
I understand that if I execute a specific function or the whole application in RAM, all the debug operations can be performed. But I am more interested in a situation where the application size is too big and we don’t have enough resource in RAM, in that case I can’t execute the whole application / a specific function in RAM for debugging.
A general question - I would link to understand if there is any limitation on executing production software in OSPI flash ?
Best Regards,
Mahendran L



