5.
Programming the SAM3X8C
This is a simplified and shortened guide to programming the SAM3X8C. For a complete
description see the
Sgitheach
SAM3X8C Programmer/Serial Console Board
manual. As a
programmer the programmer/serial console board uses the BOSSA programming utility to talk
to the boot-loader in the SAM3X8C. There has been some uncertainty over which versions of
BOSSA work with which micro-controllers. Therefore it is recommended that you do not
download the latest version of BOSSA but use the version you will find on the Dropbox as this is
known to work with the SAM3X8C.
The steps to set up and use the BOSSA programming tool are as follows:
1. Download
Download the SAM3X8C programming files from the Dropbox into a suitable directory on your
PC (or whatever). You will find a version of BOSSA called bossac.exe and a batch file called
samprog.bat. Note the directory name where you have put these files.
2. Using BOSSA directly from a command prompt
From a Command Prompt window you can run the batch file using:
\pathto\samprog comxx \pathto\xxxxx.bin
where comxx is the COM number that the board is using and xxxxx.bin is the binary image of
the firmware you want to program into the flash.
example:
d:\bossa\samprog COM9 d:\fortress\firmware\fortress.1.0.0.bin
When the batch file is run you will see the erase LED flash, followed by the reset LED followed by
the RxD and TxD LEDs as the binary data is transferred. Note that as the same COMxx connection
is used for both the serial connection and the programmer, the programmer will not run while the
serial port is connected. Additionally, unplug the SD card USB connection if in use.
3.
Update the SD card
Transfer any new files from the SD card image on the Dropbox to the clock's SD card. The release
notes will tell you which. In a particularly large update a whole new image may be needed which
will again require your locale data to be edited. It is recommended that you keep the clock's SD
card image backed-up on your PC (or Mac…).
4.
Restart the clock
Switch off the Fortress E1T clock and wait a few moments and then power the clock again. The
“cold boot” is a requirement of the SAM3X8C.
The new firmware should now run.
https://github.com/shumatech/BOSSA
using the method in section 3 above
Page 59
Version 1.0
Copyright Grahame Marsh/Nick Stock 2019
Содержание An E1T Timepiece
Страница 79: ...Fortress How It Works Board Schematics and Function Page 79 Version 1 0 Copyright Grahame Marsh Nick Stock 2019...
Страница 82: ...Page 82 Version 1 0 Copyright Grahame Marsh Nick Stock 2019 1 1 SAM3X8C schematic...
Страница 108: ...Page 108 Version 1 0 Copyright Grahame Marsh Nick Stock 2019...
Страница 109: ...Page 109 Version 1 0 Copyright Grahame Marsh Nick Stock 2019...
Страница 110: ...Page 110 Version 1 0 Copyright Grahame Marsh Nick Stock 2019...
Страница 120: ...E1T Data Sheet Page 120 Version 1 0 Copyright Grahame Marsh Nick Stock 2019...