SEARCH
TOOLBOX
LANGUAGES
modified on 9 August 2017 at 13:40 ••• 30,323 views

Bambino-210 Manual/Appendix D

From Manuals

(Difference between revisions)
Jump to: navigation, search
(DFU Firmware Updates)
 
Line 31: Line 31:
: .\Prebuilt_examples\bambino210\BAM210 Blinky.bin  
: .\Prebuilt_examples\bambino210\BAM210 Blinky.bin  
 +
: [http://www.micromint.com/updates/bambino/210/blinky.bin blinky.bin]
6. After the flash is complete, exit the utility, remove the boot jumper, and reset your board.
6. After the flash is complete, exit the utility, remove the boot jumper, and reset your board.

Current revision as of 13:40, 9 August 2017

DFU Firmware Updates

The Bambino 210 firmware can be updated via port USB0 using the standalone NXP DFU Flash Programmer. This tool is an alternative to update firmware when your LPC4330 is in an unknown state or generates an ARM hard fault. For most other cases, using the mbed virtual flash drive should be simpler. To update firmware via DFU, please follow these steps:

1. Install the DFU Flash Programmer to a directory in your hard disk. Currently the NXP DFU programmer is only available for Windows.

2. Connect a cable to port USB0 and place the board in USB boot mode by shorting the two contacts labelled "Boot JP1" as shown below while pressing and releasing the RESET button. Metal tweezers work great for shorting the two contacts. If you will be doing frequent DFU updates, you may consider soldering a 2-pin header in and use a jumper to enter the USB boot mode.

Boot Jumper (JP1)
Boot Jumper

3. An entry "LPC USB" should appear in the Windows Device Manager. If your device is not recognized, please check that you have the USB Drivers installed.

LPC USB Device
LPC USB device

4. 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.

LPC DFU Flash Programmer
LPC DFU Flash Programmer

5. Use the following parameters and press START. You may need to use full paths for the algorithm (*.hdr) and firmware (*.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 neede

You can test the procedure using the simple blinky binary listed below.

.\Prebuilt_examples\bambino210\BAM210 Blinky.bin
blinky.bin

6. After the flash is complete, exit the utility, remove the boot jumper, and reset your board.


PREVIOUS: Appendix C - Configuring Keil MDK for CMSIS-DAP