Objective

In this tutorial, we will be discussing how to upload the .bin file to Lpc2148 board.
To upload the .bin, no external hardware is required but board should have the secondary boot loader.


Generating .bin File

Check this tutoial LPC2148 Keil Setup for generating the .bin file using keil.


Bin File Using Secondary Boot Loader

For uploading the .bin file, secondary(USB) boot-loader needs to be flashed to the controller. Even though we put a USB bootloader, the serial bootloader will be still present to flash the hex files using Flash Magic.

Follow the below steps to upload the new .bin file to LPC1768 board:

  1. Connect the USB Jumpers.
  2. Connect the ExploreLpc2148 to the system using a USB cable.
  3. Hold the USB_Btlr switch.
  4. Press the Reset Switch.
  5. Release the Reset Switch.
  6. Release the USB_Boot switch.
  7. Now the board will be detected as Explore2148 as shown in second image.
  8. Delete the old firmware.bin file.
  9. Paste the new .bin file.
  10. Reset the Board.
  11. Now your Application code should be running on the board.

LPC2148 Uploading Binfile.PNG [[File:Lpc2148 Uploading bin file.png |x400px]


Have an opinion, suggestion , question or feedback about the article let it out here!