Hi,
I would like to debug my booting code and I wish I could set a breakpoint at 0x0. Is there a way to acheive this ?
Thanks
Hi,
I would like to debug my booting code and I wish I could set a breakpoint at 0x0. Is there a way to acheive this ?
Thanks
Hi hguerard,
Are you using the default FSBL from Xilinx? It is available as a standalone project template within SDK. I am not sure how you would debug the bootloader from instruction 0x00000000 using SDK and you may need to use some more advanced debug tools to actually achieve this level of code debug.
I just tried debugging FSBL using the onboard USB-JTAG from SDK using the default FSBL code and it starts you from address 0x00004680 which is FSBL main(). This should be sufficient for debugging most of the FSBL. Is there any reason why you need to debug from the very beginning steps of execution rather than from the main() routine entry where all of your user code will go anyways?
Regards,
-Kevin
In fact, I am not using the FSBL and I wanted to debug code at 0x0 (in order to debug my own bootloader). The way I manage to debug my code is to connect to both core and to reset the PC to 0x0 and issuing the 'con' command.