Usenet.com

www.Usenet.com

Group Index

Comp Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: debugging microblaze with xmd



Hi Frank,

Frank wrote:
> 
> Hi,
> 
> since I upgraded the EDK 3.2 to 6.1 (with service pack 1) I'm having
> problems with debugging. To debug I do the following:
> 
> - add next two lines to mss file
> 
> PARAMETER DEFAULT_INIT = XMDSTUB
> PARAMETER DEBUG_PERIPHERAL = dbg_uart
> 
> - set in makefile the optimization off (-O0)
> - set in makefile mode to xmdstub (instead of executable)
> - set in makefile compiler option -g (generating debug information)
> 
> after downloading the bitfile, the program starts to run (very very slowly,
> but it runs! while I'm expecting that it should not run!). After starting

If your download.bit contains xmdstub (typically the case for XMDSTUB
mode), the xmdstub starts to execute after the bitfile is downloaded..
After the following changes in mss file, did you update your bitstream ?

> xmd, I try to connect:
> 
> mbconnect stub -comm serial -port com1 -baud 115200
> 
> and the next error was generated:
> 
> XMD% mbconnect stub -comm serial -port com1 -baud 115200
> ERROR: Unable to sync with stub on the board using the UART
> Closing serial port
> Unable to establish connection to xmdstub
> Unable to connect to MicroBlaze Target

Looks like your download.bit file does not contain xmdstub. Updating the
bitstream should have xmdstub in your design. There is no change in
EDK6.1 and the design should work.

-Raj

> 
> Does anyone have an idea? The described procedure was working with EDK 3.2
> and ISE 5.2...
> 
> Thanks,
> Frank



<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.