cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Observer
Observer
3,909 Views
Registered: ‎12-15-2008

Unable to single step or Stop at Main() with SDK 2016.4

Jump to solution

I previously had my project working in Vivado/SDK 2016.1 and have just changed to 2016.4.  I upgraded all IP in my Vivado project, regenerated the bitstream and updated all my SDK projects after exporting the new .hdf from Vivado.  In SDK, I am able to build, connect, and when I Debug As... my program gets loaded and runs (I know it runs because I can see some uart console output) but it never stops at main so I can debug.  I have the option checked for "stop at main()".  I also tried to set a breakpoint, in which case it stops at the breakpoint, but as soon as you step once it runs to the end.  It seems it just can't single step.  I even tried a brand new project/BSP/HW spec and hello world - same results.  Has anyone else seen this with 2016.4?

 

 

 

 

 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Moderator
Moderator
6,465 Views
Registered: ‎11-09-2015

Hi @jelemonovich,

 

Yes please try with System Debugger.

 

Yes XMD is replaced by XSCT.


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**

View solution in original post

0 Kudos
5 Replies
Highlighted
Moderator
Moderator
3,905 Views
Registered: ‎11-09-2015

Hi @jelemonovich,

 

Which debugger are you using? GDB or system debugger?

 

Is the board connected to your PC locally or are you using a hw_server?

-> I have seen this type of behavior with system debugger when connecting remotely to the board.

 

PS: I do not recommend to use GDB as debugger, I am just asking what is your configuration.

 

Regards,

 

Florent


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Highlighted
Observer
Observer
3,897 Views
Registered: ‎12-15-2008

I am using GDB, but I can try System Debugger, that usually did not work for me before.  I'm pretty sure I always used GDB before.  I tried using XMD to connect, load my elf file, and step and that all seems to work but I have to launch XMD from the Launch Shell - has XMD been removed in favor of XSCT?

Thanks!

0 Kudos
Highlighted
Moderator
Moderator
6,466 Views
Registered: ‎11-09-2015

Hi @jelemonovich,

 

Yes please try with System Debugger.

 

Yes XMD is replaced by XSCT.


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**

View solution in original post

0 Kudos
Highlighted
Observer
Observer
3,889 Views
Registered: ‎12-15-2008

Okay once I Clean Project and use the System Debugger instead of GDB I can single step again.  Good to know that xmd was replaced but it seems you can still use it though?  Thank you.  

0 Kudos
Highlighted
Moderator
Moderator
3,886 Views
Registered: ‎11-09-2015

Hi @jelemonovich,

 

Yes it is still available for the moment but hidden (for the customer not wanted to move yet), but I think it will be removed definitely in a future release.


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos