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 16:15] – df9ts | en:uhsdr:uhsdrbl [06.02.2018 17:49] – df9ts_user | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{tag>stub}} | + | {{tag>review}} |
{{tag> | {{tag> | ||
- | ===== UHSDR Bootloader General Reading ===== | ||
- | |||
- | * [[https:// | ||
- | * [[https:// | ||
- | * [[https:// | ||
- | * [[https:// | ||
==== Bootloader Installation - General Comments ==== | ==== Bootloader Installation - General Comments ==== | ||
- | Three different | + | Three different |
- | * Debug adapter approach. Preconditions: | + | * Option 1: Debug adapter approach. Preconditions: |
* STM " | * STM " | ||
- | * STM " | + | * Option 2: STM " |
* PC with STM Defuse Tool installed | * PC with STM Defuse Tool installed | ||
* 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) | ||
- | * USB-Stick approach. Preconditions: | + | * Option 3: USB-Stick approach. Preconditions: |
* USB stick with correct boot loader image | * USB stick with correct boot loader image | ||
* 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 40: | Line 34: | ||
=== Preconditions === | === Preconditions === | ||
+ | * Download latest bl-40SDR.bin bootloader from [[https:// | ||
+ | * 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 | ||
+ | * OVI40 UI powered up with 5V (JP1) | ||
=== Procedure === | === Procedure === | ||
+ | |||
+ | === Further Reading === | ||
+ | * {{ : | ||
+ | * {{ : | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
==== Option 2: DeFuse Tool upgrade ==== | ==== Option 2: DeFuse Tool upgrade ==== | ||
Line 47: | Line 51: | ||
=== Preconditions === | === Preconditions === | ||
+ | * Download latest bl-40SDR.dfu bootloader from [[https:// | ||
+ | * Install ST-Micro DeFuse Tool: [[http:// | ||
+ | * 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 | ||
+ | * OVI40 UI powered up with 5V (JP1) | ||
=== Procedure === | === Procedure === | ||
+ | * Boot loader installation described {{: | ||
+ | |||
+ | === Further reading === | ||
+ | * {{ : | ||
+ | * [[http:// | ||
+ | |||
==== Option 3: USB-Stick upgrade upgrade ==== | ==== Option 3: USB-Stick upgrade upgrade ==== | ||
Line 54: | Line 69: | ||
=== Preconditions === | === Preconditions === | ||
+ | * Download latest bl-40SDR.bin bootloader from [[https:// | ||
+ | * 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 | ||
+ | * 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 === | ||
+ | - Supply +8V on JP1 pin 29 - to pwer USB stick | ||
+ | - 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. | ||
- | ==== Further reading | + | ==== Check proper working of newly loaded boot loader |
- | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | + | |
+ | 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. | ||
- | ==== .bin oder .dfu Datei benutzen? ==== | + | ===== UHSDR Bootloader further reading ===== |
- | * Alles, was auf ".dfu" aufhört, kann und sollte im dfu_node (also mit dem dfu-Tool und dem USB-Kabel) geflasht werden. | + | Forum: |
- | * Alles, was auf .bin aufhört, muss entweder | + | * [[https:// |
- | * mit ST-Link (bootloader updaten) oder | + | * [[https:// |
- | * mit dem USB-Stick (firmware updaten) gemacht werden. Zusätzlich kann man die firmware auch mit dem ST-Link updaten (.dfu). | + | * [[https:// |
- | ==== ST-Micro DFuse Tool ==== | + | Github Wiki: |
- | {{ :uhsdr: | + | * [[https:// |
- | + | | |
- | + | | |
- | ==== Allererste Bootloader Installation ==== | + | |
- | + | ||
- | Zur **Erstinstallation** des Bootloaders nach der " | + | |
- | + | ||
- | Vorbereitungen zur Bootloader Installation: | + | |
- | + | ||
- | * Stabiles 5V Netzteil bereitstellen | + | |
- | * Aktuellen OVI40 Bootloader herunterladen von [[https://df8oe.github.io/ | + | |
- | * ST Micro DfuSETool Utility auf PC herunterladen und installieren: | + | |
- | + | ||
- | Die erste Bootloader Installation wird hier beschrieben: | + | |
- | + | ||
- | ==== Kontrolle der geladenen Bootloader Version ==== | + | |
- | + | ||
- | Nach erfolgreicher | + | |
- | + | ||
- | Wenn Du im System-Menü der Firmware die Bootloader Version anzeigen lässt - was wird Dir dann angezeigt? Sollte es etwas anderes als 3.4.5 sein hol Dir bitte den Bootloader (.dfu - Datei) und flashe den mit Jumper und dem dfu-Tool. Und dann schau nochmal nach, ob dann der 3.4.5 angezeigt wird. | + | |
- | + | ||
- | ==== Nachfolgende Bootloader Update Installationen ==== | + | |
- | + | ||
- | < | + | |
- | + | ||
- | Bootloader kann installiert werden mit: | + | |
- | * Über Kabel (kleine USB Buchse) und DFuse-Tool (s.o.) | + | |
- | * USB Memory-Stick | + | |
- | * Debug-Adapter " | + | |
- | + | ||
- | Je nach verwendeter Methode bitte die richtige Binär-datei nutzen: DFU Tool und natürlich die .dfu Datei nutzen (P6 muss nicht mehr gesteckt werden). | + | |
- | + | ||
- | ==== Flashen des UI Boards ==== | + | |
- | + | ||
- | Der UHSDR Bootloader hat 2 Modi: er kann über USB Memorystick geladen werden oder über den sogenannten DFU Modus | + | |
- | + | ||
- | Weiter Details sind hier erklärt: [[https:// | + | |
- | + | ||
- | + | ||
- | < | + | |
- | + | ||
- | + | ||
- | < | + | |
- | [[https:// | + | |
- | + | ||
- | === Bootloader laden === | + | |
- | + | ||
- | Siehe auch [[https:// | + | |
- | + | ||
- | 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): | + | |
- | + | ||
- | | + | |
- | - Drücke und (wichtig!) halte Taste "BAND -" | + | |
- | - +5V on JP1 pin 28 legen - um bootloader zu starten | + | |
- | - USB stick in USB port stecken - auf richtigen Firmware Namen achten (fw-40SDR.bin) | + | |
- | - Warten bis FW upload fertig ist | + | |
- | - Taste "Band -" loslassen | + | |
- | - +5V aus und wieder einschalten für OVI40 UI board reboot. | + | |
- | + | ||
- | + | ||
- | ==== Flashen des UI Boards ==== | + | |
- | + | ||
- | Der UHSDR Bootloader hat 2 Modi: er kann über USB Memorystick geladen werden oder über den sogenannten DFU Modus | + | |
- | + | ||
- | Weiter Details sind hier erklärt: | + | |
- | + | ||
- | Alles, was auf " | + | |
- | < | ||
- | Alles, was auf .bin aufhört, muss entweder mit dem ST-Link (bootloader updaten) oder mit dem USB-Stick (firmware updaten) gemacht werden. Zusätzlich kann man die firmware auch mit dem ST-Link updaten (.dfu). | ||
- | < | ||
- | [[https:// | ||