I'm not able to boot my application. I ensured that SDRAM is initialized and also checked that I can boot a simple application to ensure the hardware is fine. Do you have any suggestions to debug the application during booting?
If you want to debug your application during booting, please follow the below steps:
1. Put a 'JUMP 0;' in the beginning of the code. 2. Ensure that the configurator option is 'Halt only' for emulator communication.3. Boot the application by resetting the processor. 4. Open VDSP session and the dis-assembly window in it.5. The execution is currently hanging at JUMP 0; instruction.6. Change this instruction to NOP; through edit option (Right Click on JUMP 0 instruction in the dis-assembly window) 7. You can now run/single step and debug the application.
Can I use this technique to debug the initialisation code that I provide via the "Project Options -> Load -> Options -> Initialization File"?
Yes you can use this techinique and it will help you in cases to check if your init code is all fine.
Also, can I use this technique if I am using the debug agent and not any USB-ICE or other emulator?
For deug agent sessions, you can use the "Boot Load" feature available under Settings menu.
Retrieving data ...