I'm working on adding IARARM as a toolchain for the Musca S1 (and
B1) and I'm running into an issue where the NS image can not
properly access the UART.
The NS code loops trying to check the UART status @0x40102030, which
holds the value 0x301, as can be seen with the debugger and also
from the secure code, but when read by the NS code it returns 0,
with no error.
As this code works when building with ARMCLANG and GNUARM, I assume
there is some memory protection that gets incorrectly setup when I
build with the IAR toolchain, but I'm struggling to find where this
gets setup. I assume it is done in the secure image.
Any hints where i should be looking?
Thanks,
Thomas