- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Processor not started/re set after bit download
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-29-2012 10:17 AM
After I download a download.bit file onto a ppc440 fpga using the ml507 dev board the embedded elf file does not run.
I am creating a bit file in EDK and then adding an elf file into bram with a boot vector at 0xfffffffc. After the bit stream has been downloaded the application does not run. If I check the processor registers and pc using jtag they all contain random uninitialised data. If I then download the elf file using jtag it looks like the processor is initialised as the pc register is set to 0xfffffffc and the other registers are set to an initialised state.
I am currently using EDK 13.4, I am sure this used to work in the past when I was using 11.1.
I have tried setting the startup clock to CCLK and JTAGCLK. I have also tried booting from flash and the fpga gets configured but the processor never starts.
Any idea what is wrong? Or how to debug this further?
Re: Processor not started/re set after bit download
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-06-2012 02:52 AM
hey,
i do not know for sure what your problem might be but please have a look at my post a couple of days ago.
SDK/XMD/PPC interaction is an annoying issue which nobody takes care of. SOme versions of SDK seem not to be able to interpret an elf entry point of 0xfffffffc correctly. do you have your software part completely in bram or just the bootloop/boot sections which then branch to code in external DRAM? Behaviour might also be different when your HW uses interrups.
you can alternatively use the dow command in your xmd console and then debug your memory content with commands like mrd, srrd, stp and con. use "help running" for a complete list. Also try to press your reset button on the board after downloading to see if it helps.











