How to Program LPC2000 Series ARM Microcontrollers with LPC2000 Flash Utility 2.2.3
LPC2000 series ARM microcontrollers are popular and versatile devices that can be used for various applications. However, to program them, you need a software tool that can communicate with the microcontroller and write the code to its flash memory. One such tool is LPC2000 Flash Utility 2.2.3, which is a free standalone application developed by Philips Semiconductors Hamburg.
In this article, we will show you how to use LPC2000 Flash Utility 2.2.3 to program LPC2000 series ARM microcontrollers, such as LPC2101, LPC2102, LPC2103, LPC2104, LPC2106, etc. We will also provide you with the download link and some useful tips for using the tool.
Download and Install LPC2000 Flash Utility 2.2.3
The first step is to download and install LPC2000 Flash Utility 2.2.3 on your Windows PC. You can find the download link at this page, which is part of the element14 community website. The file name is NXP-LPC2100-LPC2105FBD48-Gallery MCU-Application Library-NXP.Application_Library.zip, which contains not only the flash utility but also some application libraries for the microcontrollers.
After downloading the zip file, extract it to a folder of your choice. Then, navigate to the folder NXP-LPC2100-LPC2105FBD48-Gallery MCU-Application Library-NXP.Application_Library\Flash ISP Utility\Flash ISP Utility v2.2.3 and run the executable file LPC210x_ISP.exe to launch the flash utility.
Connect Your Microcontroller to Your PC
The next step is to connect your microcontroller to your PC using a serial cable or a USB-to-serial adapter. Make sure that your microcontroller is powered on and that you have selected the correct COM port in the flash utility settings. You can also adjust other settings such as baud rate, crystal frequency, and erase mode according to your microcontroller specifications.
To test the connection, click on the Read Device ID button in the flash utility. If everything is working properly, you should see the device ID of your microcontroller displayed in the status bar.
Select and Load Your Hex File
The final step is to select and load your hex file that contains the code you want to program into your microcontroller’s flash memory. You can use any hex file that is compatible with your microcontroller model and architecture. You can also use some of the hex files provided in the application library folder that comes with the flash utility.
To select your hex file, click on the Browse button in the flash utility and navigate to the folder where your hex file is located. Then, click on the Load File button to load it into the flash utility. You should see some information about your hex file displayed in the status bar, such as file size and checksum.
Program Your Microcontroller
Now you are ready to program your microcontroller with your hex file. To do so, click on the Start button in the flash utility and wait for the process to complete. You should see some messages indicating the progress and status of the programming in the status bar.
When the programming is done, you should see a message saying “Programming finished successfully”. You can then disconnect your microcontroller from your PC and test it with your application.
Tips for Using LPC2000 Flash Utility 2.2.3
Here are some tips for using LPC2000 Flash Utility 2.2.3 effectively:
- Make sure that your microcontroller is compatible with LPC2000 Flash Utility 2.2.3 before using it.
- Make sure that your hex file is compatible with your microcontroller model and architecture before loading it.
- Make sure that your serial cable or USB-to-serial adapter is working properly before connecting it.