ovi40test:uiboardtest

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
Nächste ÜberarbeitungBeide Seiten der Revision
ovi40test:uiboardtest [18.01.2018 23:59] df9tsovi40test:uiboardtest [20.01.2018 10:44] df9ts
Zeile 1: Zeile 1:
 {{tag>stub}} {{tag>stub}}
- 
 ===== UI Board Test & Fehlersuche ===== ===== UI Board Test & Fehlersuche =====
 +==== Test Adapter ====
 +Einfache Realisierung von Testadaptern mit "Streifenleiter Platinen":
 +  * Der kurze Adapter ist für den Labortisch. UI Board und RF Board liegen dann hintereinander. Über die zweite Buchsenleiste können Messungen am Header30 ausgeführt werden (geringere Kurzschlußgefahr). Die Beschriftung dient zur Orientierung der Pin-Belegung.
 +  * Der lange Adapter ist für den Fall, daß das RF-Board aus dem Gehäuse herausgenommen werden muß (Länge 160mm)
 +[{{:ovi40test:104433.jpg?400|Testadapter - Idee Michael_K (Photo: Michael_K)}}]
 +
 +==== Achtung: MCU Pin1 Markierung ====
 die MCU hat zwei (!) Pin 1 Markierungen die MCU hat zwei (!) Pin 1 Markierungen
 <bootnote> Also ganz wichtig: Wie auf dem Bild zu sehen unbedingt den einen Anschlußpin vor dem Einbau kürzen/abschneiden. </bootnote> <bootnote> Also ganz wichtig: Wie auf dem Bild zu sehen unbedingt den einen Anschlußpin vor dem Einbau kürzen/abschneiden. </bootnote>
Zeile 23: Zeile 29:
   * 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 ("bricked MCU") ==== 
-If something strange or unexpected happened to your board and none of the usual procedure are working to install the Bootloader or the Firmware, this might bring life back into your UI. 
- 
-You will need : 
-- an up to date STM32 ST-LINK utility ( http://www.st.com/en/development-tools/stm32-programmers.html?querycriteria=productId=LN2013 ) running on something (you choose) 
-- a ST-LINKV2 probe ( http://www.st.com/content/st_com/en/products/development-tools/hardware-development-tools/development-tool-hardware-for-mcus/debug-hardware-for-mcus/debug-hardware-for-stm32-mcus/st-link-v2.html ), (you might use some other compatible hardware) 
-- 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 ! 
- 
-[{{:ovi40test:img_1971.jpg?400|ST-Link connection to UI board (Photo F4HTX)}}] 
- 
-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://www.amateurfunk-sulingen.de/forum/index.php?board=15;action=display;threadid=577;start=315 
-Register values from Andreas: 
-https://www.amateurfunk-sulingen.de/forum/index.php?board=15;action=display;threadid=577;start=285 
- 
-The URLs are from a (forgotten) I40 UI thread in the mcHF folder. 
  
  
  • ovi40test/uiboardtest.txt
  • Zuletzt geändert: 21.03.2018 07:39
  • von dg8ygw