RaceCapture/Pro MK1 firmware upgrade: Difference between revisions

Line 21: Line 21:
====Flash firmware====
====Flash firmware====
* Re-apply power using the USB cable.
* Re-apply power using the USB cable.
* In Windows Device Manager you should see the device listed as 'Atmel SAM-BA bootloader'
* If you are prompted for drivers, install the drivers provided under the SAM-BA directory (typically found under C:\Program Files\Atmel\sam-ba_2.12\drv)
** If you do not see the board recognized this way, ensure you have the Atmel SAM-BA flash utility correctly installed. If you still have problems, repeat the previous step of loading the factory ROM bootloader.
* Once the drivers are loaded, you should see the device listed under Windows Device Manager - Ports as 'AT91 USB to Serial Converter'
* Run the SAM-BA flash utility. It should recognize the board.
** If you do not see the board recognized this way, ensure you have the Atmel SAM-BA flash utility and drivers correctly installed. If you still have problems, repeat the previous step of loading the factory ROM bootloader.
* Using the SAM-BA flash utility, select the RaceCapture/Pro firmware, which will be a file ending in .bin (e.g. RaceCapturePro-0.0.2.bin)
* Run the SAM-BA flash utility.
* Choose the 'flash now' option in the program.
** Under 'Select the connection', select board as identified by Device Manager. The board will be defined as '\USBserial\COMXX' where COMXX is the COM port assigned in Device Manager.
** Under 'Select your board', select 'at91sam7s256-ek'.
* On the Flash tab, under 'Download/Upload File' select button next to 'Send File Name'.  Browse to the RaceCapture/Pro firmware, which will be a file ending in .bin (e.g. RaceCapturePro-0.0.2.bin)
* Click the 'Send File' option in the program.
** If prompted to 'Unlock' regions, click yes.
* You should observe the firmware flashing progress in the window. When complete, you can remove power to RaceCapture/Pro.
* You should observe the firmware flashing progress in the window. When complete, you can remove power to RaceCapture/Pro.



Revision as of 00:52, 2 October 2012

Upgrading RaceCapture/Pro firmware

Steps for ROM bootloader

Prerequisite

Install the Atmel SAM-BA flash utility. This is a small application that performs the firmware write.

Save RaceCapture/Pro configuration

The firmware upgrade process resets the configuration to factory defaults. To preserve the settings and any scripts you have running on your unit, save the active configuration using the RaceCapture/Pro configuration application.

Remove board from enclosure

Remove 4 screws from either end of the RaceCapture/Pro enclosure and slide the circuit board out. Place the board on a non-conductive surface.

Load Factory ROM Bootloader

  • Locate the 'test' button on the circuit board. If there is no test button installed, bridge the pads where the test button would be installed with a short jumper wire.
  • Press the test button (or short the pads), then apply power to the RaceCapture/Pro board using the USB cable. Hold for 20 seconds- this will write back the ROM factory bootloader into flash memory.
  • Release the button and disconnect power.

Flash firmware

  • Re-apply power using the USB cable.
  • If you are prompted for drivers, install the drivers provided under the SAM-BA directory (typically found under C:\Program Files\Atmel\sam-ba_2.12\drv)
  • Once the drivers are loaded, you should see the device listed under Windows Device Manager - Ports as 'AT91 USB to Serial Converter'
    • If you do not see the board recognized this way, ensure you have the Atmel SAM-BA flash utility and drivers correctly installed. If you still have problems, repeat the previous step of loading the factory ROM bootloader.
  • Run the SAM-BA flash utility.
    • Under 'Select the connection', select board as identified by Device Manager. The board will be defined as '\USBserial\COMXX' where COMXX is the COM port assigned in Device Manager.
    • Under 'Select your board', select 'at91sam7s256-ek'.
  • On the Flash tab, under 'Download/Upload File' select button next to 'Send File Name'. Browse to the RaceCapture/Pro firmware, which will be a file ending in .bin (e.g. RaceCapturePro-0.0.2.bin)
  • Click the 'Send File' option in the program.
    • If prompted to 'Unlock' regions, click yes.
  • You should observe the firmware flashing progress in the window. When complete, you can remove power to RaceCapture/Pro.

Verify Firmware

  • Re-Apply power to RaceCapture/Pro. In Windows, you should see the RaceCapture/Pro device listed under Ports; note the COM port number assigned. In Linux, you should see a device under /dev/ttyACM0. The 'dmesg' command should have information about the device.
  • Using the configuration application, select the appropriate port, connect to the RaceCapture/Pro and verify the current firmware version.
  • Restore any previously saved configuration.

Re-assemble RaceCapture/Pro

  • Slide the circuit board back in to the enclosure, aligning it with the holes in the end plate. It may be easier in some cases to remove both end plates to enable connectors/LEDs/button to fit into the end plate cut-outs. Ensure the smaller components, like LEDs fit correctly into their respective locations.
  • Slide mounting rails into place before installing 2nd end plate. Replace screws.

Steps for SD card upgrade

We are developing a more convenient upgrade via SD card. Watch this space for updates.