07-12-2015 02:55 AM
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()
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.
07-13-2015 01:51 AM
Please attach the archived SDK workspace here?
I will take a look at it.
07-13-2015 02:32 AM
I'm not sure if it is related or not to other problem I have with xilkernel posted here:
I have attached the sdk in that forum too.
It seems I having some unexpected behaviour when moving from standalone to xilkernel.
07-13-2015 06:40 AM
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:
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,
07-14-2015 07:27 AM
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 ?
07-29-2015 08:57 PM
There is an issue with timer interrupts hang in Xilkernel.
It should be resolved soon.