This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Code jumps to cxsync1 in vectors.S?

Former Member
Former Member

I have made a project in AD Studio using the startup code from "startup_Cortex-A53x1_AC6" example. I added my own code too, and it was running via simulator Fixed Virtual Platform OK. 

However, after some code changes, I started getting failures: the code would just not go into some function(), it rather jumps to vectors.S at the cxsync1 line and at that point I loose control. 

Here is where it jumps:

//
// Current EL with SPx
//
.balign 0x80
cxsync1: B cxsync1

I also noted that function() where this happens was different yesterday before additional changes in the code. So, it's not about function(). 

When I run the same code (containg function()) on x86 PC in Eclipse, it works with no problems. 

Why is this happening, what am I doing wrong?