How to program LPC822


There are NXP LPC800 and LPC824 board available but I’m not able to upload using the UART to USP convertor necessary to program the chip (LPC822M101JDH20).
Probably this is because PlatformIO expects a USB connection and drivers for the board.

How do I go about adding a custom board/config for my chip and how do I integrate the USB to UART convertor?

I tried building using NXP LPC800-MAX and LPCXpresso824-MAX but I get this error:
Error: Please specify upload_port for environment or use global --upload-port option.
For some development platforms it can be a USB flash drive (i.e. /media//)
*** [upload] Explicit exit, status 1

and when I add an upload_port manually:
*** [upload] COM3\firmware.bin: No such file or directory

Could you provide an output of pio device list? Does this board has mbed bootloader with media disk?

Hi, thanks for looking at this!

This is the output, I use this to program ESP12E modules:


Hardware ID: USB VID:PID=10C4:EA60 SER=0001 LOCATION=1-3
Description: Silicon Labs CP210x USB to UART Bridge (COM3)

The LPC824 can be programmed using a USB to UART convertor (the same I’m using to program the ESP12E)
It has a serial bootloader but does not have the same bootloader as the mbed (but is mbed compatible).

It does not act as a media device.