Flashing the Mini CC3D Atom: Difference between revisions

From STorM32-BGC Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
\:[[File:Atom_Nano_Top.jpg|250px]] :[[File:Atom_Nano_Bot.jpg|230px]] :[[File:Atom_Nano_case.jpg|250px]]
\:[[File:Atom_Nano_Top.jpg|250px]] :[[File:Atom_Nano_Bot.jpg|230px]] :[[File:Atom_Nano_case.jpg|250px]]


On this board the BOOT0 pin is not exposed on a pad or solder joint, and even tied directly to GND, which makes any effort accessing it essentially impossible. The simplest method for first-time flashing is to use SWD via a ST-Link V2 adapter, which is supported by the GUI. Subsequent flashing (updating) can be performed using a USB-TTL adapter, as described in [[Updating the Firmware of NT Modules]].
On this board the BOOT0 pin is not exposed on a pad or solder joint, and even tied directly to GND, which makes any effort accessing it essentially impossible. The simplest method for first-time flashing is to use SWD via a ST-Link V2 adapter, which is supported by the GUI. Any subsequent flashing (updating) can be performed using a USB-TTL adapter, as described in [[Updating the Firmware of NT Modules]].


__TOC__
__TOC__
Line 11: Line 11:
:[[File:ST_Link_V2.jpg|250px]]
:[[File:ST_Link_V2.jpg|250px]]


'''2.''' Solder 3 wires into the Mini CC3D and connect to the programmer. The solder pad for the "+" is very to close to the USB metal case. Recommend powering the board through the USB connector.
'''2.''' Solder 3 wires to the "O", "K", and "-" pads on the Mini CC3D Atom and connect them to the programmer. There is a "+" solder pad very to close to the USB metal case, but it is recommend to power the board through the USB connector.


:"0" to "SWDIO"
:"0" to "SWDIO"
Line 19: Line 19:
:"-" to "GND"
:"-" to "GND"


'''3.''' Connect USB to the programmer, if not done, and to the CC3D. The Green LED will light and after booting for several seconds the Blue LED will flash on long and off short. Cycles ~ .75 seconds. This indicates the OP firmware is running. This matters since after the NT firmware loads the on and off times of the Blue LED will be equal.
'''3.''' Connect the programmer via its USB plug to the computer. The Green LED will light and after booting for several seconds the Blue LED will flash on long and off short. Cycles ~ .75 seconds. This indicates the OP firmware is running. This matters since after the NT firmware loads the on and off times of the Blue LED will be equal.


'''4.''' From the STorM32 GUI select the Flash Firmware Tab and set the fields as seen below:
'''4.''' In the STorM32 GUI select the Flash Firmware Tab and set the fields as shown below:


:[[File:GUI_Flash_3.jpg|640px]]
:[[File:GUI_Flash_3.jpg|640px]]


'''5.''' Select the Flash Firmware button and a DOS window opens similar to below:
'''5.''' Hit the Flash Firmware button, which will open a DOS window similar to below:


:[[File:GUI_Flash_4.jpg|640px]]
:[[File:GUI_Flash_4.jpg|640px]]


{{WARNING|Your Blue LED should now be flashing on and off at the same interval indicating the NT IMU firmware is running.}}
{{WARNING|The blue LED should now be flashing on and off with identical intervals, indicating the NT IMU firmware is running.}}


== Updating Firmware ==
== Updating Firmware ==


For updating the NT firmware you may again use the just described method of using SWD/ST-Link, but also the "canonical" procedure described in [[Updating the Firmware of NT Modules]].
For updating the NT firmware you may again use the just described method of using SWD/ST-Link, but also the "canonical" procedure described in [[Updating the Firmware of NT Modules]].

Revision as of 18:08, 7 March 2016

\:Atom Nano Top.jpg :Atom Nano Bot.jpg :Atom Nano case.jpg

On this board the BOOT0 pin is not exposed on a pad or solder joint, and even tied directly to GND, which makes any effort accessing it essentially impossible. The simplest method for first-time flashing is to use SWD via a ST-Link V2 adapter, which is supported by the GUI. Any subsequent flashing (updating) can be performed using a USB-TTL adapter, as described in Updating the Firmware of NT Modules.

First-Time Flashing Using SWD

1. You will need a ST-Link V2 Programmer or similar. Ensure that it is working (drivers installed, etc.).

ST Link V2.jpg

2. Solder 3 wires to the "O", "K", and "-" pads on the Mini CC3D Atom and connect them to the programmer. There is a "+" solder pad very to close to the USB metal case, but it is recommend to power the board through the USB connector.

"0" to "SWDIO"
"K" to "SWCLK"
"-" to "GND"

3. Connect the programmer via its USB plug to the computer. The Green LED will light and after booting for several seconds the Blue LED will flash on long and off short. Cycles ~ .75 seconds. This indicates the OP firmware is running. This matters since after the NT firmware loads the on and off times of the Blue LED will be equal.

4. In the STorM32 GUI select the Flash Firmware Tab and set the fields as shown below:

File:GUI Flash 3.jpg

5. Hit the Flash Firmware button, which will open a DOS window similar to below:

GUI Flash 4.jpg

The blue LED should now be flashing on and off with identical intervals, indicating the NT IMU firmware is running.

Updating Firmware

For updating the NT firmware you may again use the just described method of using SWD/ST-Link, but also the "canonical" procedure described in Updating the Firmware of NT Modules.