Flashing the CC3D Atom: Difference between revisions

From STorM32-BGC Wiki V1
Jump to navigation Jump to search
(Created page with "On this board the BOOT0 pin is exposed as a solder jumper (it doesn't acces to the SWD pins). The simplest method for first-time flashing is thus to use a standard USB-TTL ada...")
 
(Added trouble shooting section and explanation to overcome timing issue for first time flash of CC3D Mini. Hab issues when power on and flash had to much time in between.)
 
(3 intermediate revisions by one other user not shown)
Line 10: Line 10:


'''3.''' Find the BOOT0 solder jumper and close it.
'''3.''' Find the BOOT0 solder jumper and close it.
:[[File:Storm32-nt-firmware-first-time-flashing-01.jpg|640px]]


'''4.''' Now power up the CC3D Atom, e.g. by connecting its VCC pin to an external power supply or most easily via its USB connector. <br>
'''4.''' Now power up the CC3D Atom, e.g. by connecting its VCC pin to an external power supply or most easily via its USB connector. <br>
{{COMMENT|do not power the CC3D Atom by connecting its VCC pin to the 3.3 V or 5 V pin on the USB-TTL adapter. This power scheme often doesn't work.}}
{{COMMENT|Do not power the CC3D Atom by connecting its VCC pin to the 3.3 V or 5 V pin on the USB-TTL adapter. This power scheme often doesn't work.}}


'''5.''' From the STorM32 GUI select the Flash Firmware Tab and set the fields as seen below:
'''5.''' From the STorM32 GUI select the Flash Firmware Tab and set the fields as seen below. Ensure that the {{GUIPARAM|Use NT boot mode}} check box is '''''not''''' checked.


:[[File:Storm32-nt-firmware-first-time-flashing-gui-screen-01.jpg|640px]]
:[[File:Storm32-nt-firmware-first-time-flashing-cc3d-serial-gui-screen-01.jpg|640px]]


'''6.''' Select the Flash Firmware button and a DOS window opens similar to below:
'''6.''' Select the Flash Firmware button and a DOS window opens similar to below:
Line 27: Line 25:


For updating the NT firmware you may again use the method described before, but preferably the "canonical" procedure described in [[Updating the Firmware of NT Modules]].
For updating the NT firmware you may again use the method described before, but preferably the "canonical" procedure described in [[Updating the Firmware of NT Modules]].
== Troubleshooting ==
If your CC3D Atom is not reachable via in the flash console and you get message "ERROR: No response from target, the Bootloader can not be started", try the following:
'''1.''' Stay in DOS console for flashing but don't press any button yet.
'''2.''' Disconnect power from your CC3D Atom (most probably disconnect your USB)
'''3.''' For the next step, timing is important: reconnect power and press any key to retry flash. You need to be quite fast for successful start of flash proceedure.

Latest revision as of 11:18, 19 March 2016

On this board the BOOT0 pin is exposed as a solder jumper (it doesn't acces to the SWD pins). The simplest method for first-time flashing is thus to use a standard USB-TTL adapter connected to the UART1 port, which is supported by the GUI. Any subsequent flashing (updating) can be performed as described in Updating the Firmware of NT Modules.

First-Time Flashing Using a USB-TTL Adapter

1. You will need a standard USB-TTL adapter (see FAQ: Which USB-TTL should I use?). Ensure that it is working (drivers installed, etc.).

2. Connect the serial adapter to the Main port on the CC3D Atom. Do not yet power the CC3D Atom.

3. Find the BOOT0 solder jumper and close it.

4. Now power up the CC3D Atom, e.g. by connecting its VCC pin to an external power supply or most easily via its USB connector.
Comment: Do not power the CC3D Atom by connecting its VCC pin to the 3.3 V or 5 V pin on the USB-TTL adapter. This power scheme often doesn't work.

5. From the STorM32 GUI select the Flash Firmware Tab and set the fields as seen below. Ensure that the "Use NT boot mode" check box is not checked.

Storm32-nt-firmware-first-time-flashing-cc3d-serial-gui-screen-01.jpg

6. Select the Flash Firmware button and a DOS window opens similar to below:

7. Open the BOOT0 solder jumper again. The CC3D Atom is now ready to be used as NT imu module.

Updating Firmware

For updating the NT firmware you may again use the method described before, but preferably the "canonical" procedure described in Updating the Firmware of NT Modules.

Troubleshooting

If your CC3D Atom is not reachable via in the flash console and you get message "ERROR: No response from target, the Bootloader can not be started", try the following:

1. Stay in DOS console for flashing but don't press any button yet.

2. Disconnect power from your CC3D Atom (most probably disconnect your USB)

3. For the next step, timing is important: reconnect power and press any key to retry flash. You need to be quite fast for successful start of flash proceedure.