05-02-2019 11:47 PM
I've got a microblaze and a AXI4 SPI peripheral and I am using the test code to run a SPI self-test. However, my processor runs but will not get to main(). I do not have a DDR and I am running code off the BRAM. I am new to the Xilinx SDK, how do I tell where this code is now residing?
05-06-2019 04:11 AM
Hi @vivienwwp ,
Can you check that the microblaze in not held in reset?
05-07-2019 03:57 PM
02-10-2021 12:22 PM
I have pretty much the same issue:
-> Microblaze MCS design (using only internal BRAM).
-> Code compiles, debug session is started. PL is working - i.e. clock and reset are as expected.
-> However, CPU stalls at a code loop somewhere. I can pause execuition and step through the code.
-----> Over the XSCT console I can reset the target (using rst) and the instruction stepping window points me at instruction at 0x0000000 (which is inside some arbitrary C function, not main).
-----> Strangely, when i run the target to breakpoint at main (using con) the target actually reaches the main(). (???)
Is there any explanation on this odd behavior?