UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Adventurer
Adventurer
7,180 Views
Registered: ‎05-17-2015

can't debug xilkernel application

Hello,

 

I have some very strange behaviour when moving from standalobe bsp to xilkernel bsp. I hope someone here will have ideas.

I created application+bsp based on standalone and another same application with bsp based on xilkernel.

The application is based on "peripheral test".

Tha first routine called by this application main()

is 
XUartNs550_SetBaud(u32 BaseAddress, u32 InputClockHz, u32 BaudRate) 

All I'm doing is adding some new lines inside the start of this routine.

With the standalone on doing step into, I get to the start command inside XUartNs550_SetBaud, but with the xilkernel I get to some other line, as if there is no synchronization between the source and the object.

I really don't understand why.

I've been trying these many times in both applications, but keep getting this strange behaviour.

Please help.

 

Regards,

Ran

 

0 Kudos
6 Replies
Moderator
Moderator
7,013 Views
Registered: ‎07-31-2012

Re: can't debug xilkernel application

Hi Ran,

 

Please attach the archived SDK workspace here?

I will take a look at it.

 

Regards

Praveen


-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Adventurer
Adventurer
7,003 Views
Registered: ‎05-17-2015

Re: can't debug xilkernel application

Hi Praveen,

 

I'm not sure if it is related or not to other problem I have with xilkernel posted here:

http://forums.xilinx.com/t5/Embedded-Development-Tools/interrupt-test-fail-with-xilkernel/td-p/641827

I have attached the sdk in that forum too.

It seems I having some unexpected behaviour when moving from standalone to xilkernel.

 

Thank you,

Ran

0 Kudos
Adventurer
Adventurer
6,976 Views
Registered: ‎05-17-2015

Re: can't debug xilkernel application

I have attached the workspace here

0 Kudos
Adventurer
Adventurer
6,968 Views
Registered: ‎05-17-2015

Re: can't debug xilkernel application

Hi,

 

Trying again to debug, I have an spi test, and I see that it hangs  there.

1. When debugging it, on step into I get inside a function SpiFlashBulkErase()

But all backtrace dissapeared !

2. I've then tried to increats stack and heap size from 0x400 to 0x1000, but it didn;t change anything.

3. Trying to put breakpoing at the start of SpiFlashBulkErase() and then relaunch application, I get the following error:

 

 

xxx.png

 

These are quite strange and unexpected behaviour. With standalone, there was no such behaviour.

 

Maybe it is all related to some timer usage done by xilkernel ?

 

Thank for any idea,

Ran

0 Kudos
Adventurer
Adventurer
6,946 Views
Registered: ‎05-17-2015

Re: can't debug xilkernel application

Hi,

 

I tried to debug xilkernel with the hdf I'm using on target and it also get hangs in interrupt test with the AC701 evaluation (ARTIX-7) board.

Is it OK to create xilkernel peripheral test application ?

 

Maybe the hdf I'm using has some wrong timer/interrupt configuration which works OK with standalone but fails in xilkernel ?

Do you have a formal hdf file (or workspace) for this evaluation board with xilkernel peripheral test fuinction OK ?

 

Thank you,

Ran

0 Kudos
Moderator
Moderator
6,794 Views
Registered: ‎07-31-2012

Re: can't debug xilkernel application

Hi Ran,

 

There is an issue with timer interrupts hang in Xilkernel.

It should be resolved soon.

Regards

Praveen


-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos