Production and testing: Flashing

The microcontroller of atusb contains firmware that must be loaded before the testing process can commence. The firmware consists of the following two parts:
  1. The boot loader (via serial programming, using avrdude)
  2. The application (via DFU, using dfu-util)

Note that atben has no microcontroller and therefore does not need any flashing.

Flashing the boot loader

The following image shows the setup for flashing the boot loader:

To flash the boot loader,

The flashing takes about 20-30 seconds. If it should fail, make sure you properly placed atusb-pgm and try again. If it keeps on failing, remove atusb-pgm from the Ben and insert it again. If flashing fails despite numerous attempts, proceed to the fault analysis.

Flashing the application

The flashing script proceeds automatically to the flashing of the application. All you need to do is insert the atusb board into the PC:

The flashing script will wait up to 30 seconds for enumeration. Once the atusb board has been detected, the script transfers the application with DFU. After this, you can proceed with the functional test.

If the board fails to enumerate, proceed with the fault analysis.

Up: Production and testing  Prev: Software setup Next: Functional test 
Last update: 2011-05-18  Werner Almesberger