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

LPC55S14 Assembly programming

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.

Parents
  • As far as I can see, the default startup file shipped by NXP in their LPC55S14_DFP version 18 is still in assembler. So you can have a look there (_YOUR_PACK_ROOT_\NXP\LPC55S14_DFP\18.0.0\devices\LPC55S14\gcc\startup_LPC55S14.S) for refence.

    For other examples it is probably best, you use the compiler to let it produce assembly code (https://developer.arm.com/documentation/ka003163/latest/) and then use the generated assembler file from a simple C module as starting point.

Reply
  • As far as I can see, the default startup file shipped by NXP in their LPC55S14_DFP version 18 is still in assembler. So you can have a look there (_YOUR_PACK_ROOT_\NXP\LPC55S14_DFP\18.0.0\devices\LPC55S14\gcc\startup_LPC55S14.S) for refence.

    For other examples it is probably best, you use the compiler to let it produce assembly code (https://developer.arm.com/documentation/ka003163/latest/) and then use the generated assembler file from a simple C module as starting point.

Children
No data