Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
en:uhsdr:uhsdrbl [05.02.2018 17:09] – [Option 2: DeFuse Tool upgrade] df9ts | en:uhsdr:uhsdrbl [10.02.2018 13:27] – df9ts | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{tag>stub}} | + | {{tag>review}}{{tag> |
- | {{tag> | + | |
- | ===== UHSDR Bootloader General Reading ===== | + | |
- | Forum: | + | ==== Bootloader Installation |
- | * [[https:// | + | |
- | * [[https:// | + | |
- | Github Wiki: | + | Three different options exist to do boot loader installation or upgrade: |
- | * [[https:// | + | |
- | * [[https:// | + | |
- | * [[https:// | + | |
- | * [[https:// | + | |
- | |||
- | ==== Bootloader Installation - General Comments ==== | ||
- | Three different options exist to do boot loader installation or upgrade: | ||
* Option 1: Debug adapter approach. Preconditions: | * Option 1: Debug adapter approach. Preconditions: | ||
- | | + | |
* Option 2: STM " | * Option 2: STM " | ||
- | | + | |
- | * USB to micro-USB cable (to connect PC with OVI40 mini-USB socket) | + | * USB to micro-USB cable (to connect PC with OVI40 mini-USB socket) |
* Option 3: USB-Stick approach. Preconditions: | * Option 3: USB-Stick approach. Preconditions: | ||
- | | + | |
- | * prior boot loader installation existing and working on OVI40 UI | + | * prior boot loader installation existing and working on OVI40 UI |
The latest boot loader SW can be found [[https:// | The latest boot loader SW can be found [[https:// | ||
+ | |||
* *.bin file (pure binary file) | * *.bin file (pure binary file) | ||
* *.dfu file (containing binary and additional info such as target address on MCU) | * *.dfu file (containing binary and additional info such as target address on MCU) | ||
Line 34: | Line 24: | ||
==== "P6 Jumper" | ==== "P6 Jumper" | ||
+ | |||
Close P6 jumper in case: | Close P6 jumper in case: | ||
+ | |||
* There was never a UHSDR boot loader on the MCU (e.g. new assembled board) | * There was never a UHSDR boot loader on the MCU (e.g. new assembled board) | ||
* Boot loader malfunctions, | * Boot loader malfunctions, | ||
Line 40: | Line 32: | ||
After closing jumper " | After closing jumper " | ||
- | After upgrade please **remember** to remove jumper P6 again!! | + | After upgrade please **remember** |
==== Option 1: ST-Link upgrade ==== | ==== Option 1: ST-Link upgrade ==== | ||
+ | |||
ToDo | ToDo | ||
=== Preconditions === | === Preconditions === | ||
- | | + | |
- | * Connect STM ST-Link V2 adapter to PC and to OVI40 UI. | + | |
+ | * Connect STM ST-Link V2 adapter to PC and to OVI40 UI. | ||
* ST-Link SW installed and running on PC, USB drivers installed, adapter recognized by PC | * ST-Link SW installed and running on PC, USB drivers installed, adapter recognized by PC | ||
* OVI40 UI powered up with 5V (JP1) | * OVI40 UI powered up with 5V (JP1) | ||
Line 54: | Line 48: | ||
=== Further Reading === | === Further Reading === | ||
- | | + | |
- | * {{ : | + | |
- | * [[http:// | + | |
+ | | ||
* [[http:// | * [[http:// | ||
==== Option 2: DeFuse Tool upgrade ==== | ==== Option 2: DeFuse Tool upgrade ==== | ||
+ | |||
ToDo | ToDo | ||
=== Preconditions === | === Preconditions === | ||
- | | + | |
+ | | ||
* Install ST-Micro DeFuse Tool: [[http:// | * Install ST-Micro DeFuse Tool: [[http:// | ||
- | * Connect PC with OVI40 UI via USB - to - MiniUSB cable. Use MiniUSB plug on OVI40 UI | + | * Connect PC with OVI40 UI via USB - to - MiniUSB cable. Use MiniUSB plug on OVI40 UI |
* ST-Micro DFuse SW installed on PC and running, USB drivers installed, OVI40 UI recognized by PC | * ST-Micro DFuse SW installed on PC and running, USB drivers installed, OVI40 UI recognized by PC | ||
* OVI40 UI powered up with 5V (JP1) | * OVI40 UI powered up with 5V (JP1) | ||
=== Procedure === | === Procedure === | ||
+ | |||
* Boot loader installation described {{: | * Boot loader installation described {{: | ||
=== Further reading === | === Further reading === | ||
- | * {{ : | ||
- | * [[http:// | ||
+ | * {{: | ||
+ | * [[http:// | ||
==== Option 3: USB-Stick upgrade upgrade ==== | ==== Option 3: USB-Stick upgrade upgrade ==== | ||
+ | |||
ToDo | ToDo | ||
=== Preconditions === | === Preconditions === | ||
- | | + | |
+ | | ||
* Format USB-Stick with FAT file partition. MAke sure - just in case - that USB-stick is otherwise empty | * Format USB-Stick with FAT file partition. MAke sure - just in case - that USB-stick is otherwise empty | ||
- | * Copy .bin file to stick. Make sure it is copied as file, not just a link / short-cut | + | * Copy .bin file to stick. Make sure it is copied as file, not just a link / short-cut |
- | * OVI40 UI powered up with 5V and 8V (JP1). The 8V powers the USB stick via voltage regulator | + | * OVI40 UI powered up with 5V (Pin 28 JP1) and 8V (Pin 29 JP1) and GND (Pin 30 JP1). The 8V powers the USB stick via voltage regulator |
+ | * Recent UHSDR boot loader installed and working | ||
=== Procedure === | === Procedure === | ||
- | ==== Further reading ==== | + | - Supply +8V on JP1 pin 29 - to pwer USB stick |
- | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | + | - Push and - important - hold switch "BAND -" |
+ | - Supply +5V on JP1 pin 28 - this starts the boot loader | ||
+ | - insert USB stick into large USB port of OVI40 UI | ||
+ | - Wait for FW upload to finish | ||
+ | - Release switch "Band -" | ||
+ | - Remove +5V, then apply again to reboot OVI40 UI. | ||
+ | ==== Check proper working of newly loaded boot loader ==== | ||
+ | Remove Jumper P6 if previously closed, then boot UI. | ||
+ | Check boot loader version number displayed in system menu corresponds to the version you intended to install. | ||
+ | ===== UHSDR Bootloader further reading ===== | ||
+ | Forum: | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | Github Wiki: | ||
- | ==== Kontrolle der geladenen Bootloader Version ==== | + | * [[https:// |
- | + | | |
- | Nach erfolgreicher | + | * [[https:// |
- | + | | |
- | Wenn Du im System-Menü der Firmware die Bootloader | + | |
- | + | ||
- | ==== Nachfolgende Bootloader Update Installationen ==== | + | |
- | + | ||
- | < | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | === Bootloader laden === | + | |
- | + | ||
- | Siehe auch [[https://www.amateurfunk-sulingen.de/mchf-projekt/inbetriebnahme-tipps# | + | |
- | + | ||
- | Stromversorgung dazu 5 Volt Pin 28+ , Pin 30 Gnd) | + | |
- | + | ||
- | === UHSDR Firmware laden === | + | |
- | + | ||
- | Nachdem im DFU mode (J6) der neueste Bootloader geladen wurde (bl-40SDR.dfu): | + | |
- | + | ||
- | | + | |
- | | + | |
- | - +5V on JP1 pin 28 legen - um bootloader zu starten | + | |
- | | + | |
- | | + | |
- | | + | |
- | - +5V aus und wieder einschalten für OVI40 UI board reboot. | + | |