Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung Nächste ÜberarbeitungBeide Seiten der Revision | ||
ovi40_uiboardtest [16.01.2018 10:41] – df9ts | ovi40test:uiboardtest [19.01.2018 08:14] – df9ts_user | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | {{tag> | ||
- | ==== Flashen des UI Boards ==== | + | ===== UI Board Test & Fehlersuche |
- | 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:// | + | |
- | + | ||
- | < | + | |
- | + | ||
- | === 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): | + | |
- | - +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. | + | |
- | + | ||
- | + | ||
- | ==== UI Board Test & Fehlersuche ==== | + | |
die MCU hat zwei (!) Pin 1 Markierungen | die MCU hat zwei (!) Pin 1 Markierungen | ||
< | < | ||
Zeile 45: | Zeile 23: | ||
* R37 auf 6,8k (D2 rot) | * R37 auf 6,8k (D2 rot) | ||
* R116 auf 6,8k (D3 blau) | * R116 auf 6,8k (D3 blau) | ||
+ | |||
+ | ==== MCU wiederbeleben (" | ||
+ | Eine nicht mehr funktionierende OVI40 MCU kann - sofern es sich um keinen Hardware Defekt handelt - auf 3 Wegen wiederbelebt werden: | ||
+ | |||
+ | - via USB-Stick (.bin-Datei) | ||
+ | - via DFU und USB-Kabel (.dfu oder .bin - in letztem Fall musst Du die Startadresse mitgeben 0x810000) | ||
+ | - via ST-Link (.bin-Datei - auch hier musst Du die Startadresse wie bei 2) angeben) | ||
+ | |||
+ | Die Dateien dazu finden sich hier:. | ||
+ | |||
+ | You will need : | ||
+ | - an up to date STM32 ST-LINK utility ( http:// | ||
+ | - a ST-LINKV2 probe ( http:// | ||
+ | - latest version of the Bootloader and/or UHSDR Firmware | ||
+ | |||
+ | The only tricky part is to connect the probe JTAP connector to the JP8 UI board, here are the needed wires : | ||
+ | |||
+ | JP8-3 (SWDIO) to JTAG-7 | ||
+ | JP8-4 (SWCLK) to JTAG-9 | ||
+ | JP8-5 (UI_3V3) to JTAG-1 | ||
+ | JP8-6 (GND) to JTAG-20 | ||
+ | |||
+ | The rest of the procedure is straight forward : connect, erase, flash and you are done. | ||
+ | |||
+ | One additional trick, when I first connected to the MCU, I got an error message « Readout Protection Mode » and was unable to erase the chip. I finally choosed to try to flash a first time and the utility did what was necessary to remove the protection mode. Cool, thank you STM ! | ||
+ | |||
+ | [{{: | ||
+ | |||
+ | A couple of us faced the same issue during beta testing the new UI board. | ||
+ | But as you could see a cheap chinese ST Link adapter from Amazon or eBay saves your day | ||
+ | |||
+ | Here are the steps. Unfortunately in German but maybe it helps. | ||
+ | https:// | ||
+ | Register values from Andreas: | ||
+ | https:// | ||
+ | |||
+ | The URLs are from a (forgotten) I40 UI thread in the mcHF folder. | ||