Firmware Update
Firmware Downloads
Coming soon.
Procedure
If you’ve already done this once before, you can skip installation of tools by jumping to step 3.
If you just want to get out of bootloader mode (without updating firmware) see step 11.
- Download the SAM-BA application from Microchip. Be sure to grab v3 which is a command line tool (the earlier v2 is a GUI tool which isn’t covered here). Extract the contents of the zip to a folder.
- Add the SAM-BA folder to your PATH, so you can easily launch
sam-ba.exe
from the command line. Instructions here for windows, linux, mac.
At this point you should be able to run the sam-ba command line tool. You might need to restart the terminal if you changed the PATH.
- Download the firmware binary file from the downloads section on this page.
- Plug your baseboard into your computers USB port.
- Open the BaseJumper terminal. More details on this here.
- At the BaseJumper terminal issue the instruction
bootloader
. - Cycle power to the baseboard. The baseboard should now be in bootloader mode.
- Find the COM port number (windows) or /dev/ttyS device (linux) that has been assigned to the baseboard in bootloader mode and note it down. It may be different to normal mode. Wherever you see
COM5
in the following steps, replace it with your device number. - At the command line of your PC, use SAM-BA to erase the existing baseboard firmware. Remember to replace
COM5
with the appropriate serial port.c:\> sam-ba -p serial:COM5 -d samv71 -a internalflash -c erase
- Change directory to the folder that contains the firmware binary file that you downloaded in step 3. In this example we assume the folder is
c:\downloads
. ``` console c:> cd downloads
c:\downloads>
10. Program the new firmware into the base board. Replace `basejumper-base-1.0.0.bin` with the name of the firmware binary you downloaded.
``` console
c:\downloads> sam-ba -p serial:COM5 -d samv71 -a internalflash -c write:basejumper-base-1.0.0.bin
- Exit bootloader mode.
c:\downloads> sam-ba -p serial:COM5 -d samv71 -a bootconfig -c writecfg:bootmode:flash
- Power cycle the base board. It should now boot in normal mode running the new firmware.