Bambino-200 Manual/Updating Firmware
From Manuals
| Line 1: | Line 1: | ||
[[Category: Bambino-200_Manual|4]] | [[Category: Bambino-200_Manual|4]] | ||
==Updating Firmware== | ==Updating Firmware== | ||
| + | The Bambino 200 firmwarte can be updated using the standalone [http://www.micromint.com/updates/bambino/dfusec.zip NXP DFU Flash Programmer]. This tool is convenient for applications that need to install firmware in multiple boards to be deployed in the field. It also allows developers to update the bootloader (TinyBooter or another alternative) and firmware to a current version. To update firmware, please follow these steps: | ||
| + | |||
| + | 1. Install the DFU Flash Programmer to a directory in your hard disk. Currently he NXP DFU programmer is ony available for Windows. | ||
| + | |||
| + | 2. Place the board in USB boot mode by placing a jumper wire between the two contacts labelled "Boot JP1" (Figure 4-1). If you will be doing frequent updates, you may consider soldering a 2-pin header on that position and use a jumper to enter the USB boot mode. | ||
[[Image:Bam200-JP1.png|center|alt=Boot Jumper (JP1)|frame|<div align="center">'''Figure 4-1: Boot Jumper]] | [[Image:Bam200-JP1.png|center|alt=Boot Jumper (JP1)|frame|<div align="center">'''Figure 4-1: Boot Jumper]] | ||
| + | |||
| + | 3. Press the reset button. An entry "LPC USB" in the Windows Device Manager (Figure 4-1). If your device is not recognized, please check that you have the [http://www.micromint.com/updates/bambino/lpc18xx_43xx_winusb_drivers_v1.00.zip NXP WinUSB Drivers 1.00] | ||
[[Image:LPC-USB.png|center|alt=LPC USB Device|frame|<div align="center">'''Figure 4-2: LPC USB device]] | [[Image:LPC-USB.png|center|alt=LPC USB Device|frame|<div align="center">'''Figure 4-2: LPC USB device]] | ||
| + | |||
| + | 3. Run lpc_dfutil.exe in the dfusec folder. You should see "HIGH SPEED | ||
| + | USB" in the status bar indicating it was able to connect to the board. | ||
[[Image:LPC-DFU.png|center|alt=LPC DFU Flash Programmer|frame|<div align="center">'''Figure 4-3: LPC DFU Flash Programmer]] | [[Image:LPC-DFU.png|center|alt=LPC DFU Flash Programmer|frame|<div align="center">'''Figure 4-3: LPC DFU Flash Programmer]] | ||
| + | 4. Use the following parameters and press START. You may need to use | ||
| + | full paths for the HDR and BIN files. | ||
| + | |||
| + | Algorithm: .\Programming_algorithms\iram_dfu_util_spiflash.bin.hdr | ||
| + | File: <Path_and name of firmware to be copied to flash> | ||
| + | Address: 0x14000000 | ||
| + | Size: 0x00400000 | ||
| + | Param: 0x00000000 | ||
| + | Device erase: Region | ||
| + | Operation after: Reset | ||
| + | No checkboxes needed | ||
| + | |||
| + | 5. After the flash is complete, exit the utility, remove the boot jumper, and reset your board. | ||
---- | ---- | ||
[[Bambino-200_Manual/Hardware|NEXT: Hardware]] | [[Bambino-200_Manual/Hardware|NEXT: Hardware]] | ||
[[Bambino-200_Manual/Getting Started mbed|PREVIOUS: Getting Started - mbed Applications]] | [[Bambino-200_Manual/Getting Started mbed|PREVIOUS: Getting Started - mbed Applications]] | ||
Revision as of 05:40, 27 June 2013
Updating Firmware
The Bambino 200 firmwarte can be updated using the standalone NXP DFU Flash Programmer. This tool is convenient for applications that need to install firmware in multiple boards to be deployed in the field. It also allows developers to update the bootloader (TinyBooter or another alternative) and firmware to a current version. To update firmware, please follow these steps:
1. Install the DFU Flash Programmer to a directory in your hard disk. Currently he NXP DFU programmer is ony available for Windows.
2. Place the board in USB boot mode by placing a jumper wire between the two contacts labelled "Boot JP1" (Figure 4-1). If you will be doing frequent updates, you may consider soldering a 2-pin header on that position and use a jumper to enter the USB boot mode.
3. Press the reset button. An entry "LPC USB" in the Windows Device Manager (Figure 4-1). If your device is not recognized, please check that you have the NXP WinUSB Drivers 1.00
3. Run lpc_dfutil.exe in the dfusec folder. You should see "HIGH SPEED USB" in the status bar indicating it was able to connect to the board.
4. Use the following parameters and press START. You may need to use full paths for the HDR and BIN files.
Algorithm: .\Programming_algorithms\iram_dfu_util_spiflash.bin.hdr File: <Path_and name of firmware to be copied to flash> Address: 0x14000000 Size: 0x00400000 Param: 0x00000000 Device erase: Region Operation after: Reset No checkboxes needed
5. After the flash is complete, exit the utility, remove the boot jumper, and reset your board.
PREVIOUS: Getting Started - mbed Applications


