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
en:uhsdr:uhsdrbl [05.02.2018 17:19] df9tsen:uhsdr:uhsdrbl [13.02.2018 16:48] (current) – [Option 3: USB-Stick upgrade upgrade] df9ts
Line 1: Line 1:
-{{tag>stub}}  +{{tag>review}}{{tag>english}}
-{{tag>english}} +
-===== UHSDR Bootloader General 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]] +
- +
- +
-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]] +
-  * [[https://github.com/df8oe/UHSDR/wiki/Topics:-UHSDR:-SW-Installation-on-SDR]] +
-  * [[https://github.com/df8oe/UHSDR/wiki/Firmware-Upgrades]] +
  
 ==== Bootloader Installation - General Comments ==== ==== Bootloader Installation - General Comments ====
 +
 Three different options exist to do boot loader installation or upgrade: Three different options exist to do boot loader installation or upgrade:
 +
   * Option 1: Debug adapter approach. Preconditions:   * Option 1: Debug adapter approach. Preconditions:
-    * STM "ST-Link V2" adapter, STM Link SW +      * STM "ST-Link V2" adapter, STM Link SW
   * Option 2: STM "Defuse" approach. Preconditions:   * Option 2: STM "Defuse" approach. Preconditions:
-    * 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)
   * Option 3: 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://df8oe.github.io/UHSDR/|here]]. Depending on the upgrade approach chosen (ST-link, DFuse, USB-Stick) you need to either 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)
Line 36: Line 24:
  
 ==== "P6 Jumper" Method for very first boot loader upgrade ==== ==== "P6 Jumper" Method for very first boot loader upgrade ====
 +
 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, no upgrade with Defuse or USB-Stick possible   * Boot loader malfunctions, no upgrade with Defuse or USB-Stick possible
Line 42: Line 32:
 After closing jumper "P6" continue with Option 1 (ST-Link) or option 2 (Defuse Tool) After closing jumper "P6" continue with Option 1 (ST-Link) or option 2 (Defuse Tool)
  
-After upgrade please **remember** to remove jumper P6 again!!+After upgrade please **remember**  to remove jumper P6 again!!
  
 ==== Option 1: ST-Link upgrade ==== ==== Option 1: ST-Link upgrade ====
 +
 ToDo ToDo
  
 === Preconditions === === 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. +  * 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   * 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 56: Line 48:
  
 === Further Reading === === Further Reading ===
-  * {{ :en:uhsdr:en.dm00026748.pdf |ST-Link V2 user manual}} + 
-  * {{ :en:uhsdr:en.cd00262073.pdf |STM32 ST-Link SW Utility user manual}} +  * {{:en:uhsdr:en.dm00026748.pdf|ST-Link V2 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]]+   * {{: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]]   * [[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]]
  
 ==== Option 2: DeFuse Tool upgrade ==== ==== Option 2: DeFuse Tool upgrade ====
 +
 ToDo ToDo
  
 === Preconditions === === Preconditions ===
-  * Download latest bl-40SDR.dfu bootloader from [[https://www.amateurfunk-sulingen.de/uhsdr/bootloader-latest/OVI40/|here]].   + 
 +  * 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]]   * 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 +  * 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 {{:projekte:ovi40-sdr:bootloader_install.pdf|here}}   * Boot loader installation described {{:projekte:ovi40-sdr:bootloader_install.pdf|here}}
  
 === Further reading === === 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)]] 
  
 +  * {{: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)]]
  
 ==== Option 3: USB-Stick upgrade upgrade ==== ==== Option 3: USB-Stick upgrade upgrade ====
 +
 ToDo ToDo
  
 === Preconditions === === Preconditions ===
-  * Download latest bl-40SDR.bin bootloader from [[https://www.amateurfunk-sulingen.de/uhsdr/bootloader-latest/OVI40/|here]].   + 
 +  * Download latest bl-40SDR.bin bootloader from [[https://www.amateurfunk-sulingen.de/uhsdr/bootloader-latest/OVI40/|here]].
   * 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 (Pin 28 JP1) and 8V (Pin 29 JP1) and GND (Pin 30 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   * Recent UHSDR boot loader installed and working
  
 === Procedure === === Procedure ===
 +
   - Supply +8V on JP1 pin 29 - to pwer USB stick   - Supply +8V on JP1 pin 29 - to pwer USB stick
   - Push and - important - hold switch "BAND -"   - Push and - important - hold switch "BAND -"
Line 97: Line 96:
   - Release switch "Band -"   - Release switch "Band -"
   - Remove +5V, then apply again to reboot OVI40 UI.   - Remove +5V, then apply again to reboot OVI40 UI.
 +
 +[{{:uhsdr:i40_32.jpg?400|Boot loader upgrade with USB stick (photo DL8EBD)}}]
  
 ==== Check proper working of newly loaded boot loader ==== ==== Check proper working of newly loaded boot loader ====
  
-Nach erfolgreicher Bootloader-Installation den "P6" Jumber entfernen und OVI40 UI booten.+Remove Jumper P6 if previously closed, then boot UI.
  
-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.+When booting the OVI40 UI a correctly installed boot loader will show this splash screen:
  
 +[{{:uhsdr:i40_33.jpg?400|Boot loader splash screen at start up}}]
  
 +Please also 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=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]]
 +
 +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|https://github.com/df8oe/UHSDR/blob/81dd4afae1a52103b2f1824cba34e2ff35e805ea/mchf-eclipse/useful_manuals/bootloader_doc.md]]
 +  * [[https://github.com/df8oe/UHSDR/wiki/Topics:-UHSDR:-SW-Installation-on-SDR|https://github.com/df8oe/UHSDR/wiki/Topics:-UHSDR:-SW-Installation-on-SDR]]
 +  * [[https://github.com/df8oe/UHSDR/wiki/Firmware-Upgrades|https://github.com/df8oe/UHSDR/wiki/Firmware-Upgrades]]
  
  
  • en/uhsdr/uhsdrbl.1517851196.txt.gz
  • Last modified: 05.02.2018 17:19
  • by df9ts