logo
Willkommen, Gast. Bitte Login oder Registrieren.
23. Oktober 2018, 19:32:23


Übersicht Hilfe Suche Login Registrieren

Amateurfunk Sulingen
Diskussions- und Newsboard des DARC-Ortsverbandes I40  |  allgemeine Kategorie  |  UHSDR Firmware (Moderatoren: DF8OE, DL1PQ, DL8EBD)  |  Thema: OVI-40 UI v1.8 bricked <- zurück vorwärts ->
Seiten: [1] nach unten Drucken
   Autor  Thema: OVI-40 UI v1.8 bricked  (Gelesen 852 mal)
F4HTX
schon länger dabei
**

Offline

Einträge: 55



Scotty, energize...

Profil anzeigen
OVI-40 UI v1.8 bricked
« am: 12. Januar 2018, 10:13:20 »

Dear Friends,

No fun this morning, it looks like my UI board is bricked !

I tried to update the firmware using the USB drive and 2.7.61 firmware, got the message:
"OVI40 boot loader
Firmware Name: fw-40SDR
USB Drive Mode

Release Band- to skip firmware update"

The green led flashed and ... nothing else. After 30 seconds, I finally released the Band- button, nothing more happened.

Power off, power on and white screen again. I did a couple cycle with same result.

I tried to enforce DFU mode, no success: always white screen and no LED at all.

I checked the power, cpu reset and the cpu clock, They are fine. Lines from the DFU socket to the cpu are ok, BOOT0 signal too.

It looks like the STM does not care of the BOOT0

Any idea welcome ...

Best Regards,

François
« Letzte Änderung: 12. Januar 2018, 10:30:53 von F4HTX » Moderator benachrichtigen   Gespeichert
db9mat
noch länger dabei
***

Offline

Einträge: 102



Ich liebe dieses Forum!

Profil anzeigen eMail
Re:OVI-40 UI v1.8 bricked
« Antwort #1 am: 12. Januar 2018, 13:04:33 »

Do you have a ST-Link debug adapter? Pretty sure your UI board isn't bricked, the STM32 is just having a severe case of memory loss

If don't have a dedicated ST-Link debugger, maybe you have a STM32 Nucleo or Discovery board? Those can be used as debuggers, too.
Moderator benachrichtigen   Gespeichert
F4HTX
schon länger dabei
**

Offline

Einträge: 55



Scotty, energize...

Profil anzeigen
Re:OVI-40 UI v1.8 bricked
« Antwort #2 am: 12. Januar 2018, 13:28:54 »

Hi Mathis,

Thanks for answer.

I thought I might do something with a classical usb/serial interface and the ST-Link software, but apparently not. So I just ordered a ST-Link debugger (should get it on monday or tuesday).

And my discovery board is programmed as an antenna analyzer and I won't mess with it as it's running smoothly

I'll post the results as soon as it's done.

Best Regards,

François
Moderator benachrichtigen   Gespeichert
F4HTX
schon länger dabei
**

Offline

Einträge: 55



Scotty, energize...

Profil anzeigen
Re:OVI-40 UI v1.8 bricked
« Antwort #3 am: 18. Januar 2018, 18:06:03 »

Dear Friends,

My UI OVI-40 v1.8 is back in business after a few days in brick break. This has taken more time than expected, mainly because of the lack of clarity in the STM interface documentation.

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 !

Best Regards,

François

 IMG_1971.JPG
Moderator benachrichtigen   Gespeichert

db9mat
noch länger dabei
***

Offline

Einträge: 102



Ich liebe dieses Forum!

Profil anzeigen eMail
Re:OVI-40 UI v1.8 bricked
« Antwort #4 am: 18. Januar 2018, 18:57:20 »

Glad to hear it! It's pretty hard (if not impossible) to kill a STM32 via software.. SWD/JTAG should always work!
Moderator benachrichtigen   Gespeichert
peter_77
Urgestein
*****

Offline

Einträge: 636



THE mcHF and UHSDR forum !

Profil anzeigen
Re:OVI-40 UI v1.8 bricked
« Antwort #5 am: 18. Januar 2018, 23:25:37 »

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.
Maybe one of the board admins can move that one to the UHSDR area here too.
« Letzte Änderung: 18. Januar 2018, 23:29:47 von peter_77 » Moderator benachrichtigen   Gespeichert
DL8EBD
Gast

eMail
Re:OVI-40 UI v1.8 bricked
« Antwort #6 am: 19. Januar 2018, 04:15:53 »

Hallo Peter,
hab mir gerade den Thread angeschaut weil mittlerweile auch in Vergessenheit geraten.

Geschichtlich gesehen ist er ja zu mcHF only Zeiten entstanden und zeigt eindrucksvoll wie in ein paar Monaten das OVI40 Projekt daraus entstand - inklusive eigener Rubrik im Forum.

wenn Andreas keine Einwände hat, möchte ich den zunächst an seinem Platz belassen.
« Letzte Änderung: 19. Januar 2018, 05:40:42 von DL8EBD » Moderator benachrichtigen   Gespeichert
F4HTX
schon länger dabei
**

Offline

Einträge: 55



Scotty, energize...

Profil anzeigen
Re:OVI-40 UI v1.8 bricked
« Antwort #7 am: 19. Januar 2018, 07:32:12 »

Dear Friends,

Thank you very much Peter for pointing those threads, this will be helpful for non German speaking forumers.

I can read the posts in the forum and almost understand the meaning by switching to english/french, but searching for a specific detail is almost impossible with the translation process. I started to read everything, but I am far from finished it and my reading doesn't create enough index in my mind

73's

François
Moderator benachrichtigen   Gespeichert
DF8OE
Administrator
*****

Online

Einträge: 4781



Jugend- und Nachwuchsreferent des I40

Profil anzeigen WWW
Re:OVI-40 UI v1.8 bricked
« Antwort #8 am: 19. Januar 2018, 07:36:34 »

Hi François,

please take a look at the new thread "how to publish informations".

vy 73
Andreas
Moderator benachrichtigen   Gespeichert

Wenn der Wind des Wandels weht, nageln die einen Fenster und Türen zu und verbarrikadieren sich. Die anderen gehen nach draußen und bauen Windmühlen...
qrz.com-Seite von DF8OE
-----------------------------------------------------
>>>> Die Inhalte meiner Beiträge dürfen ohne meine explizite Erlaubnis in jedwedem Medium weiterverbreitet werden! <<<<
Seiten: [1] nach oben Drucken 
Diskussions- und Newsboard des DARC-Ortsverbandes I40  |  allgemeine Kategorie  |  UHSDR Firmware (Moderatoren: DF8OE, DL1PQ, DL8EBD)  |  Thema: OVI-40 UI v1.8 bricked <- zurück vorwärts ->
Gehe zu: 


Login mit Username, Passwort und Session Länge

 Es wird die Verwendung des Browsers "Google Chrome" oder des "Chromium" und mindestens 1024x768 Pixel Bildschirmauflösung für die beste Darstellung empfohlen 
Amateurfunk Die Beiträge sind, sofern nicht anders vermerkt, unter der folgenden Lizenz veröffentlicht:
GNU Free Documentation License 1.3 GNU Free Documentation License 1.3
verbindet!
Powered by MySQL Powered by PHP Diskussions- und Newsboard des DARC-Ortsverbandes I40 | Powered by YaBB SE
© 2001-2004, YaBB SE Dev Team. All Rights Reserved.
- modified by Andreas Richter (DF8OE)
Impressum & Disclaimer
Valid XHTML 1.0! Valid CSS!