Hi,
I have a beaglebone black and running a very basic app using starterware. As soon as the app starts executing i copy the CPSR values in memory. The value of CPSR is super surprising
6000019f
which means it is in SYS mode and IRQ, ABORT disabled and FIQ enabled.
i read in the PG that
A processor enters Supervisor mode on Reset.
Really confused
Here is my code for reference
I discoved that in the starterware the bootloader puts the processor in sys mode, so the val 0x6000019f makes sense.
I tried to read the cpsr right when bootloader is invoked by the public ROM(public ROM is the first piece of instructions that the core executes)
it read 60000193 - SVC mode but I disabled but F enabled.
Now in the arm documentation processor enters SVC mode with I and F both disabled.
Its sad i can't verify that.