We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello
I got an interest on LPC55S14 Microcontroller. I'm using keil uvision 5 IDE. I would like to try programming this chip using assembly language. Can I have a sample startup file and a simple main file just to begin with?
By the way, I'm already familiar with arm cortex m3/m4 instructions.
Thanks and best regards.
These might also be useful for you:
https://learn.arm.com/learning-paths/microcontrollers/asm/
https://learn.arm.com/learning-paths/microcontrollers/efficient_embedded/coding/
***Note: for Cortex-M devices, be careful of bit[0]
Bit[0] being zero can clear the T-bit in the Program Status Registers (xPSR). If this happens, the device will halt.
https://developer.arm.com/documentation/ddi0337/h/programmers-model/exceptions?lang=en
https://developer.arm.com/documentation/ka001193/latest/
You might run into this with:
vector table entries Reset vector valueAddress for Jump instructions