en:uhsdr:uhsdrbl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:uhsdr:uhsdrbl [05.02.2018 14:25] df9tsen:uhsdr:uhsdrbl [06.02.2018 17:49] df9ts_user
Line 1: Line 1:
-{{tag>stub}} +{{tag>review}} 
 {{tag>english}} {{tag>english}}
-===== UHSDR Bootloader General Reading ===== 
- 
-  * [[https://github.com/df8oe/UHSDR/wiki/Bootloader-Installation|https://github.com/df8oe/UHSDR/wiki/Bootloader-Installation]] 
-  * [[https://github.com/df8oe/UHSDR/blob/81dd4afae1a52103b2f1824cba34e2ff35e805ea/mchf-eclipse/useful_manuals/bootloader_doc.md]] 
-  * [[https://github.com/df8oe/UHSDR/blob/81dd4afae1a52103b2f1824cba34e2ff35e805ea/mchf-eclipse/useful_manuals/bootloader_doc.md]] 
-  * [[https://www.amateurfunk-sulingen.de/forum/index.php?board=15;action=display;threadid=551;start=75]] 
  
 ==== Bootloader Installation - General Comments ==== ==== Bootloader Installation - General Comments ====
-Three different possibilities exist to do boot loader installation or upgrade: +Three different options exist to do boot loader installation or upgrade: 
-  * STM ST-Link V2 debug adapter and **corresponding SW tool** +  * Option 1: Debug adapter approach. Preconditions: 
-  * PCUSB-to-microUSB cable and ST-Micro DFuse Tool installed on PC +    * STM "ST-Link V2adapter, STM Link SW  
-  * USB-Stick connected to OVI40 UI board, with corresponding bootloader on USB-Stick+  * Option 2: STM "Defuse" approach. Preconditions: 
 +    * PC with STM Defuse Tool installed 
 +    * USB to micro-USB cable (to connect PC with OVI40 mini-USB socket) 
 +  * Option 3: USB-Stick approach. Preconditions: 
 +    * USB stick with correct boot loader image 
 +    * prior boot loader installation existing and working on OVI40 UI
  
-The latest boot loader SW can be found [[https://df8oe.github.io/UHSDR/|https://df8oe.github.io/UHSDR/|here]]. Depending on the upgrade tool chosen (ST-link, DFuse, USB-Stick) you need to use the+The latest boot loader SW can be found [[https://df8oe.github.io/UHSDR/|here]]. Depending on the upgrade approach chosen (ST-link, DFuse, USB-Stick) you need to either use the
   * *.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)
  
-For a very first boot loader installation (e.g. just after assembling the OVI40 UI board) the jumper "P6" needs to be closedNo P6 jumper closing is needed for subsequent boot loader upgrades.+For a very first boot loader installation (e.g. just after assembling the OVI40 UI board) you need to use the "P6 jumpermethod, see belowSubsequent upgrades do not require this jumper closed anymore.
  
 Please refer to the next sections for more details Please refer to the next sections for more details
  
-==== .bin oder .dfu Datei benutzen? ==== +==== "P6 Jumper" Method for very first boot loader upgrade ==== 
-  * Alles, was auf ".dfu" aufhört, kann und sollte im dfu_node (also mit dem dfu-Tool und dem USB-Kabelgeflasht werden. +Close P6 jumper in case: 
-  * Alleswas auf .bin aufhört, muss entweder   +  * There was never a UHSDR boot loader on the MCU (e.gnew assembled board
-    * mit ST-Link (bootloader updaten) oder  +  * Boot loader malfunctionsno upgrade with Defuse or USB-Stick possible
-    * mit dem USB-Stick (firmware updaten) gemacht werden. Zusätzlich kann man die firmware auch mit dem ST-Link updaten (.dfu).+
  
-==== ST-Micro DFuse Tool ==== +After closing jumper "P6" continue with Option 1 (ST-Link) or option 2 (Defuse Tool)
-{{ :uhsdr:en.cd00155676.pdf | ST-Micro DFuse Tool Beschreibung}}+
  
 +After upgrade please **remember** to remove jumper P6 again!!
  
-==== Allererste Bootloader Installation ====+==== Option 1: ST-Link upgrade ==== 
 +ToDo
  
-Zur **Erstinstallation** des Bootloaders nach der "P6" Methode wenn also noch nie ein Bootloader auf der MCU war - muß der Jumper "P6" auf dem OVI40 UI Board geschlossen werden (mehr dazu unten).+=== Preconditions === 
 +  Download latest bl-40SDR.bin bootloader from [[https://www.amateurfunk-sulingen.de/uhsdr/bootloader-latest/OVI40/|here]].    
 +  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)
  
-Vorbereitungen zur Bootloader Installation:+=== Procedure ===
  
-  * Stabiles 5V Netzteil bereitstellen +=== Further Reading === 
-  * Aktuellen OVI40 Bootloader herunterladen von [[https://df8oe.github.io/UHSDR/|https://df8oe.github.io/UHSDR/]] +  * {{ :en:uhsdr:en.dm00026748.pdf |ST-Link V2 user manual}} 
-  * ST Micro DfuSETool Utility auf PC herunterladen und installieren: [[http://www.st.com/en/development-tools/stsw-stm32080.html|http://www.st.com/en/development-tools/stsw-stm32080.html]]+  * {{ :en:uhsdr:en.cd00262073.pdf |STM32 ST-Link SW Utility user manual}} 
 +  * [[http://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-utilities/stsw-link009.html|STM ST-Link/V2 USB drivers available here]] 
 +  * [[http://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/stsw-link004.html|ST-Link SW utility available at bottom of this page]]
  
-Die erste Bootloader Installation wird hier beschrieben{{:projekte:ovi40-sdr:bootloader_install.pdf|bootloader_install.pdf}}+==== Option 2DeFuse Tool upgrade ==== 
 +ToDo
  
-==== Kontrolle der geladenen Bootloader Version ====+=== Preconditions === 
 +  * Download latest bl-40SDR.dfu bootloader from [[https://www.amateurfunk-sulingen.de/uhsdr/bootloader-latest/OVI40/|here]].    
 +  * Install ST-Micro DeFuse Tool: [[http://www.st.com/en/development-tools/stsw-stm32080.html|http://www.st.com/en/development-tools/stsw-stm32080.html]] 
 +  * 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)
  
-Nach erfolgreicher Bootloader-Installation den "P6" Jumber entfernen und OVI40 UI booten.+=== Procedure === 
 +  * Boot loader installation described {{:projekte:ovi40-sdr:bootloader_install.pdf|here}}
  
-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.+=== Further reading === 
 +  * {{ :uhsdr:en.cd00155676.pdf | ST-Micro DFuse Tool description}} 
 +  * [[http://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/stsw-stm32080.html|DfuSe Ressources and SW (bootom of page)]]
  
-==== Nachfolgende Bootloader Update Installationen ==== 
  
-<bootnote>ToDo</bootnote>+==== Option 3: USB-Stick upgrade upgrade ==== 
 +ToDo
  
-Bootloader kann installiert werden mit: +=== Preconditions === 
-  * Über Kabel (kleine USB Buchse) und DFuse-Tool (s.o.) +  * Download latest bl-40SDR.bin bootloader from [[https://www.amateurfunk-sulingen.de/uhsdr/bootloader-latest/OVI40/|here]].    
-  * USB Memory-Stick +  * Format USB-Stick with FAT file partition. MAke sure - just in case - that USB-stick is otherwise empty 
-  * Debug-Adapter "ST-Link V2"+  * 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
  
-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).  *.bin nur mit ST-Link über die Diag-Schnittstelle+=== 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.
  
-==== Flashen des UI Boards ====+==== Check proper working of newly loaded boot loader ====
  
-Der UHSDR Bootloader hat 2 Modi: er kann über USB Memorystick geladen werden oder über den sogenannten DFU Modus+Remove Jumper P6 if previously closed, then boot UI.
  
-Weiter Details sind hier erklärt: [[https://github.com/df8oe/UHSDR/wiki/Firmware-Upgrades|https://github.com/df8oe/UHSDR/wiki/Firmware-Upgrades]]+Check boot loader version number displayed in system menu corresponds to the version you intended to install.
  
 +===== UHSDR Bootloader further reading =====
 +Forum:
 +  * [[https://www.amateurfunk-sulingen.de/forum/index.php?board=15;action=display;threadid=551;start=75]]
 +  * [[https://www.amateurfunk-sulingen.de/forum/index.php?board=15;action=display;threadid=947|https://www.amateurfunk-sulingen.de/forum/index.php?board=15;action=display;threadid=947]]
 +  * [[https://www.amateurfunk-sulingen.de/mchf-projekt/inbetriebnahme-tipps#start|mcHF Inbetriebnahme Tipps]]
  
-<bootnote>ToDo SW von wo (BL & FW)</bootnote> Bootlader:mcHF -OVI40 dann :bl-40SDR.bin & bl-40SDR.dfu Firmware :fw-40SDR.bin & fw-40SDR.dfu +Github Wiki
- +  [[https://github.com/df8oe/UHSDR/wiki/Bootloader-Installation|https://github.com/df8oe/UHSDR/wiki/Bootloader-Installation]] 
- +  [[https://github.com/df8oe/UHSDR/blob/81dd4afae1a52103b2f1824cba34e2ff35e805ea/mchf-eclipse/useful_manuals/bootloader_doc.md]] 
-<bootnote>ToDo Doks lesen, Text Zusammenfassung schreiben, also include info from \\ [[https://www.amateurfunk-sulingen.de/forum/index.php?board=15;action=display;threadid=947|https://www.amateurfunk-sulingen.de/forum/index.php?board=15;action=display;threadid=947]] \\ +  * [[https://github.com/df8oe/UHSDR/wiki/Topics:-UHSDR:-SW-Installation-on-SDR]] 
-[[https://github.com/df8oe/UHSDR/wiki/Topics:-UHSDR:-SW-Installation-on-SDR</bootnote|https://github.com/df8oe/UHSDR/wiki/Topics:-UHSDR:-SW-Installation-on-SDR</bootnote]]+  [[https://github.com/df8oe/UHSDR/wiki/Firmware-Upgrades]]
- +
-=== Bootloader laden === +
- +
-Siehe auch [[https://www.amateurfunk-sulingen.de/mchf-projekt/inbetriebnahme-tipps#start|mcHF 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): +
- +
-  - +8V on JP1 pin 29 - zur Stromversorgung des USB stick! +
-  - 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: [[https://github.com/df8oe/UHSDR/wiki/Firmware-Upgrades|https://github.com/df8oe/UHSDR/wiki/Firmware-Upgrades]] +
- +
-Alles, was auf ".dfu" aufhört, kann und sollte im dfu_node (also mit dem dfu-Tool und dem USB-Kabel) geflasht werden.+
  
-<bootnote>ToDo SW von wo (BL & FW)</bootnote> Bootlader:mcHF -OVI40 dann :bl-40SDR.bin & bl-40SDR.dfu Firmware :fw-40SDR.bin & fw-40SDR.dfu 
  
-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). 
  
-<bootnote>ToDo Doks lesen, Text Zusammenfassung schreiben, also include info from \\ [[https://www.amateurfunk-sulingen.de/forum/index.php?board=15;action=display;threadid=947|https://www.amateurfunk-sulingen.de/forum/index.php?board=15;action=display;threadid=947]] \\ 
-[[https://github.com/df8oe/UHSDR/wiki/Topics:-UHSDR:-SW-Installation-on-SDR</bootnote|https://github.com/df8oe/UHSDR/wiki/Topics:-UHSDR:-SW-Installation-on-SDR</bootnote]]> 
  
  
  • en/uhsdr/uhsdrbl.txt
  • Last modified: 13.02.2018 16:48
  • by df9ts