Content originally posted in LPCWare by R2D2 on Thu Jan 14 09:52:06 MST 2016
Quote: Jerrycc
It's seems good to use USB.
and....and....and....what's next?
Read User Manual Chapter 34.5 :O
Quote:
34.5 USB communication protocol
The LPC154x parts are enumerated as a Mass Storage Class (MSC) device to a PC or
another embedded system. In order to connect via the USB interface, the part must use
an external crystal at a frequency of 12 MHz. The MSC device presents an easy
integration with the PC’s operating system. The flash memory space is represented as a
drive in the host file system. The entire available user flash is mapped to a file of the size
of the LPC154x flash in the host’s folder with the default name firmware.bin. The
firmware.bin file can be deleted and a new file can be copied into the directory, thereby
updating the user code in flash. Note that the filename of the new flash image file is not
important. After a reset or a power cycle, the new file is visible in the host’s file system
under it’s default name firmware.bin.