Bambino-200 Manual/Updating Firmware
From Manuals
(→Updating CLR) |
|||
| Line 35: | Line 35: | ||
==Updating CLR== | ==Updating CLR== | ||
| - | For NetMF development, after updating the TinyBooter firmware you can update the TinyCLR using the Micro Framework Deployment Tool (MFDeploy). Go to 'Start', 'Programs', 'Microsoft .NET Micro Framework 4.2', 'Tools' and click on the MFDeploy entry. Select USB as the device type and Bambino 200_Gadgeteer. You should see a display similar to the one below: | + | For NetMF development, after updating the TinyBooter firmware you can update the TinyCLR using the [http://msdn.microsoft.com/en-us/library/ee435046.aspx Micro Framework Deployment Tool (MFDeploy)]. Go to 'Start', 'Programs', 'Microsoft .NET Micro Framework 4.2', 'Tools' and click on the MFDeploy entry. Select USB as the device type and Bambino 200_Gadgeteer. You should see a display similar to the one below: |
[[Image:Bam200-MFDeploy.png|center|alt=MF Deploy|frame|<div align="center">'''MF Deploy]]</div> | [[Image:Bam200-MFDeploy.png|center|alt=MF Deploy|frame|<div align="center">'''MF Deploy]]</div> | ||
| - | + | Go to the image file field, click 'Browse' and select the firmware files on ''''C:\Program Files (x86)\Micromint\SDK\Bambino200\Firmware'''. Select config.hex and firmware.hex, click 'Deploy' to update the TinyCLR on 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 04:45, 8 July 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 and firmware to a current version. NetMF applications can install the TinyBooter firmare from the SDK at C:\Program Files (x86)\Micromint\SDK\Bambino200\Firmware. To update firmware, 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. 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" should then appear in the Windows Device Manager (Figure 4-1). If your device is not recognized, please check that you have the USB Drivers installed.
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.
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 the device with the file listed below.
- .\Prebuilt_examples\bambino200\blinky_spifi_bambino_200.bin
5. After the flash is complete, exit the utility, remove the boot jumper, and reset your board.
Updating CLR
For NetMF development, after updating the TinyBooter firmware you can update the TinyCLR using the Micro Framework Deployment Tool (MFDeploy). Go to 'Start', 'Programs', 'Microsoft .NET Micro Framework 4.2', 'Tools' and click on the MFDeploy entry. Select USB as the device type and Bambino 200_Gadgeteer. You should see a display similar to the one below:
Go to the image file field, click 'Browse' and select the firmware files on 'C:\Program Files (x86)\Micromint\SDK\Bambino200\Firmware. Select config.hex and firmware.hex, click 'Deploy' to update the TinyCLR on your board.



