10-27-2008 09:58 AM
Okay folks. I appologize for such as basic question. I am an experienced Altera user with a ton of time on NIOS but the MicroBlaze is all new to me.
Anyway, I've got this little system running on my Spartan-3E starter kit. Basically at my top level I've got a counter that's being displayed on the LEDs on the board and I've got my little XPS generated system that contains the MicroBlaze and some BRAM that I'm running out of for now. The system also has a debug module, reset generator, DCM, etc.
So I'm able to compile my project and download it to the board no problem. The LEDs are working and I can see the counter counting.
Now over on the SDK side, I've written this real basic Hello World program using a printf statement . Nothing special. And I can even run it on the hardware, it says the code downloads and all that. However, I believe the software is getting stuck in an infinite loop inside printf because the transmit buffer on the UART is full (I'm trying to use the debug module for stdin and stdout).
Is there something special I need to do to connect to the debug module via the XDM console so that I can see the stdout and so that the uart's buffer can be cleared? I assumed this would occur automatically when I ran the program from the SDK.
Thank you for your help,
10-27-2008 10:14 AM
10-27-2008 10:14 AM
10-27-2008 10:52 AM
Excellent. That did it for me. Can you point me to where all of this is documented? I have spent days pouring over documentation trying to educate myself on the Xilinx tools and have come up extremely lacking. I have to assume I'm looking in the wrong spot.
10-27-2008 11:26 AM
I'd suggest going through the Concepts, Tools & Techniques guide (http://www.xilinx.com/support/documentation/sw_manuals/edk_ctt.pdf) first to get a general overview. For SDK, the online help would be the best bet.
10-28-2008 04:49 AM
Could you elaborate what you mean by online help? do you mean by googl-ing?
sorry for such a naive question. I too hope to get direction with XPS.
03-16-2016 12:47 AM
hi.I have a new problem to ask u.when I use debug ILA IP core to do some debug,when I finished [open target] operation,then I can't find the ILA core in the Hardware.So do u know why is that happened?Thanks