Tagged: LPC1114
Beginning LPC1114FN28 with Arch Board
It’s cool that LPC1114FN28 based on ARM Cortex-M0 uses DIP package. We enjoy playing LPC1114 with a breadboard, wires, LEDs and etc. Programming LPC1114 is quite easy with an Arch board as a CMSIS DAP interface. To download a new binary into LPC1114 is just to drag-n-drop the binary file into “MBED” drive.
Setup Hardware
Use Arch board as an mbed interface and connect Arch with LPC1114 through SWD interface or UART interface.
Arch board | LPC1114 |
---|---|
P0_11 (A0) | nRESET |
P0_12 (A1) | SWCLK |
P0_13 (A2) | SWDIO |
P0_18 (D0) | RXD |
P0_19 (D1) | TXD |
Turn Arch into mbed Interface
The Arch board is an mbed enabled development board for rapid prototyping. It can also be used as a CMSIS DAP interface(SWD/JTAG debug adapter, USB to UART bridge). We just need a specific firmware.
- Download mbed interface firmware for Arch board.
- Connect Arch with PC, long press Arch’s button and replace firmware.bin with the new firmware in “CRP DISABLD” drive.
- Quick press the button. “MBED” drive will pop up.
- Install the mbed interface driver to enable USB to UART function
Develop
- In “MBED” drive, there is a “MBED.HTM” file which will lead to mbed.org.
- Add LPC1114FN28 to mbed compiler.
- On mbed compiler, it’s easy to write code, import libraries and share programs.
- Compile and download a binary into “MBED” drive. The program will run!
Resources
Read more