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 [19.01.2018 08:28] df9ts_userovi40test:uiboardtest [03.02.2018 20:31] df9ts_user
Zeile 1: Zeile 1:
 {{tag>stub}} {{tag>stub}}
 +===== UI Board Test & Fehlersuche =====
 +
 +==== EEPROM IC7 Einbau Lage ====
 +[{{:ovi40test:ic7_einbau.jpg?400|EEPROM IC7 position (photo DF9EH)}}]
 +
 +This is where the dot is printed. Also the edge of the case is slanted near the 1-4 pins. See [[http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-8828-SEEPROM-AT24CM02-Datasheet.pdf|here]]
  
-===== UI Board Test & Fehlersuche =====+==== 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 24: Zeile 30:
   * R116 auf 6,8k (D3 blau)   * R116 auf 6,8k (D3 blau)
  
-==== MCU wiederbeleben ("un-brick"==== +==== "WM8731 not detected" ==== 
-Eine nicht mehr funktionierende OVI40 MCU kann - sofern es sich um keinen Hardware Defekt handelt - auf 3 Wegen wiederbelebt werden: +Bei UHSDR Fehlermeldung "WM8731 not detected" bitte prüfen, ob die 3V Versorgung für die Codecs (WM8731vorhanden istDiese 3V Versorgung kommt vom RF Board
- +
-  - 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 2angeben) +
- +
-Die Dateien dazu finden sich [[uhsdr:uhsdrdownload|hier]]. +
- +
-[[https://github.com/df8oe/UHSDR/blob/81dd4afae1a52103b2f1824cba34e2ff35e805ea/mchf-eclipse/useful_manuals/bootloader_doc.md| Github Doc]] +
- +
-=== USB-Stick Methode === +
- +
-=== DFU & USB Kabel Methode === +
- +
-=== ST-Link Methode ===+
  
-Benötigt wird: +==== MCU läuft gar nicht, auch DFU Verbindung geht nicht ==== 
-  * STM32 ST-Link Programm +Zuerst prüfenob die MCU in korrekter Lage eingelötet wurde ("Pin 1").
-- 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 :+Nach dem booten legt die MCU 3.3V an die Taster. Um erfolgreich zu booten braucht die MCU: 
 +  * CPU Takt (-> TXCO Takt messen) 
 +  * Korrekten Spannungsreset (-> Spannungsverlauf und Spannungspegel am Reset Pin messen)
  
-JP8-3 (SWDIO) to JTAG-7 +Falls dies der Fall ist, funktioniert Ansprechen über ST-Link Adapter und gesetzten Junper P6 im "DFU" Modus.
-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 : connecteraseflash and you are done.+ButtonsLEDs und LCD sind da noch nicht initialisiert. Erst wenn der Bootloader installiert wurde und läuft hat man minimalistisch  die Peripherie-GPIOs initialisiertd.h. einige (!!) Buttons und das LCD sowie die LEDs und je nachdem welchen Button man beim Einschalten drückst die große ODER die kleine USB-Schnittstelle.
  
-One additional trickwhen I first connected to the MCUI 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 !+Bei installiertem Bootloader: 
 +  * Taste "Band -" drückendann OVI40 UI board hochfahren => große USB Buchse aktiviert für Firmwareupdate via USB Stick 
 +  * Taste "Band +" drückendann OVI40 UI board hochfahren => Boot Loader Update via kleine USB Buchse
  
-[{{:ovi40test:img_1971.jpg?400|ST-Link connection to UI board (Photo F4HTX)}}]+Prüfen: 
 +  * erkennt der PC das per USB angeschlossene OVI40 UI board (Gerätemanager / Device Manager)
 +  * PC USB port working? USB cable ok? 
 +  * Check all MCU pins are correctly soldered and no shortcuts exist: Use a thin knife / scalpell / tweezer, go inbetween MCU pins and try to push the pins gently sideways one by one, check if all are soldered to PCB. If not the pin moves slightly.
  
-A couple of us faced the same issue during beta testing the new UI board. +==== NF Audio Verstärker geht nicht  ==== 
-But as you could see a cheap chinese ST Link adapter from Amazon or eBay saves your day  +Bitte +12V Versorgung des NF Audio Verstärkers messen. Er wird vom OVI40 RF Board über JP1 versorgt.
  
-Here are the steps. Unfortunately in German but maybe it helps. +==== USB Stick funktioniert nicht ==== 
-https://www.amateurfunk-sulingen.de/forum/index.php?board=15;action=display;threadid=577;start=315 +Bitte +8V Versorgung von RF Board prüfen, JP1.
-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