logo
Welcome, Guest. Please Login or Register.
03. July 2024, 05:30:40


Home Help Search Login RegisterWIKIUHSDR Download

Amateurfunk Sulingen
Diskussions- und Newsboard des DARC-Ortsverbandes I40  |  allgemeine Kategorie  |  mcHF Projekt Deutsch / English (here you can discuss everything related to mcHF) (Moderators: DF8OE, DL1PQ)  |  Topic: USB-Stick-Update-Bootloader NEU <- zurück vorwärts ->
Pages: 1 ... 4 5 [6] 7 Go Down Print
   Author  Topic: USB-Stick-Update-Bootloader NEU  (Read 15939 times)
DJ3FV
alter Hase
****

Offline

Posts: 371



Never underestimate an old man...

View Profile
Re:USB-Stick-Update-Bootloader NEU
« Reply #75 on: 13. September 2016, 06:45:13 »

Hello Jos,

did you make any modification  on the USB ports (e.g. 5V)?

Are you using the USB B or the USB port?

Do you hold the Band Down Button pushed will powering on and if yes what does the LED (Green/Red) do or and/or the screen (blinking?)?

If it is not to much effort for you can you please make a short video from the flash session?

vy 73
Uwe
« Last Edit: 13. September 2016, 06:46:26 by DJ3FV » Logged

Habe Mut dich deines eigenen Verstandes zu bedienen. Aufklärung ist der Ausgang des Menschen aus seiner selbstverschuldeten Unmündigkeit.
Immanuel Kant
peter_77
Urgestein
*****

Offline

Posts: 735



THE mcHF and UHSDR forum !

View Profile
Re:USB-Stick-Update-Bootloader NEU
« Reply #76 on: 13. September 2016, 08:13:08 »

Here is a screenshot how it should look like on Winblows 10.
(Sorry for the rest of a red line. I had a nervous finger and erased the original screenshot before  )
- After connecting the mcHF with Jumper 6 in place and pressed Band+ you should hear the "gong" and see STM32 Bootloader in the bottom taskbar under USB devices
- You can even do this with the UI board only if you connect GND to Pin 30 and +5V on Pin 28 (rev.0.5) See here: https://www.amateurfunk-sulingen.de/forum/index.php?board=15;action=display;threadid=517
- After starting Dfuse you must see a couple of entries under "Target ID". It should NOT be empty !
- A common error is to use the wrong upload "Choose" button to select the bootloader.dfu file ! Its the one in the Upgrade or Verify Action frame !
- After file upload you'll get the dark grey File correctly loaded bar at the bottom !
- Finally the right "Upgrade" button must be clicked to send the bootloader to the mcHF.
Hope this helps..?!
Groetjes
 dfuse2.png
« Last Edit: 13. September 2016, 10:00:58 by peter_77 »
Logged

PA3CCE
Neuling
*

Offline

Posts: 21



Ich liebe dieses Forum!

View Profile
Re:USB-Stick-Update-Bootloader NEU
« Reply #77 on: 13. September 2016, 11:45:19 »

@ Andreas,

Do you have ST-LinkV2 and Linux system? That would be a chance to test if it is a Windows/Dfusetools problem.

Sorry, I don't.
Will load the old bootloader and try to flash via mini USB as before.
First have to connect 5V on this connector again.

Will let you know the result.
73
Jos
Logged
DF8OE
Administrator
*****

Offline

Posts: 6265



Stellvertr. OVV I40, Jugend / Nachwuchsreferent

View Profile WWW
Re:USB-Stick-Update-Bootloader NEU
« Reply #78 on: 13. September 2016, 11:59:26 »

Before you do soldering:

Trywithout connected USB stick. If you turn on mcHF into firmware-flash-mode with correct installed bootloader and without USB stick, backlight must flash. If that is ok (for old / new bootloader) bl is installed correctly.

I cannot believe that



  • both of your STMs should be defective
  • or new bootloader does not work for you


I believe you do have hardware problem or flashing of bl fails (but is reported as "corrrect").

vy73
Andreas
Logged

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! <<<<
PA3CCE
Neuling
*

Offline

Posts: 21



Ich liebe dieses Forum!

View Profile
Re:USB-Stick-Update-Bootloader NEU
« Reply #79 on: 13. September 2016, 12:21:44 »

@ Andreas

When I do not have USB stick connected and press Band- button and Power button, LCD does NOT flash it lits constantly.
So bootloader is NOT loaded correctly although DFU demo after loading says "Loading successful" and after verify says "Verify successful".
Tried this  after having loaded the bootloader again, which went different as before.
Before it went in one phase of abt 6 seconds.
This time it took 2 phases, together taing abt 3 minutes !
Result was unchanged.

Both processors faulty, I can hardly believe that.
Hardware failure, possible, but where to look, Clock is present, 3.3V is present, big USB is connected processor soldering looks perfect (2 times) what to check more ?

Jos




Logged
PA3CCE
Neuling
*

Offline

Posts: 21



Ich liebe dieses Forum!

View Profile
Re:USB-Stick-Update-Bootloader NEU
« Reply #80 on: 13. September 2016, 12:32:57 »

@Peter


I see the same things as you described, but one thing is different : DFU demo reports Target ID 00 Internal flash 24 sectors.
So I think you have a different processor, mine is 32F427VIT6 (2MB of flash).

Windows shows "STM32 BOOTLOADER auswerfen" after the gong as well.

73
Jos
Logged
DF8OE
Administrator
*****

Offline

Posts: 6265



Stellvertr. OVV I40, Jugend / Nachwuchsreferent

View Profile WWW
Re:USB-Stick-Update-Bootloader NEU
« Reply #81 on: 13. September 2016, 12:43:33 »

32F427VIT6 is working with new bootloader - I have tested yesterday.

vy73
Andreas
Logged

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! <<<<
peter_77
Urgestein
*****

Offline

Posts: 735



THE mcHF and UHSDR forum !

View Profile
Re:USB-Stick-Update-Bootloader NEU
« Reply #82 on: 13. September 2016, 14:21:04 »

Should'nt that be "uitwerpen" on your PC ??
Yes, i have a 32F427VGT6 on my UI Board
« Last Edit: 13. September 2016, 14:22:47 by peter_77 » Logged
PA3CCE
Neuling
*

Offline

Posts: 21



Ich liebe dieses Forum!

View Profile
Re:USB-Stick-Update-Bootloader NEU
« Reply #83 on: 13. September 2016, 15:02:15 »

Should'nt that be "uitwerpen" on your PC ??
Yes, i have a 32F427VGT6 on my UI Board

Sure it says "uitwerpen" HI, could we speak Dutch ?
Well, let's not do that, others could not read.

OK on your VGT6, its 1MB that explains.

Now I am trying to load things on the UI board (version 0.4) separately, just connecting the UI-5V, to see
if something on the outside has effect on this. At first glance it did not work, so it looks like it.
So far I was just concentrated on the CPU circuitry itself.  Maybe the problem is caused by the perifiral.

Finally I must succeed.

best 73
Jos
Logged
DF8OE
Administrator
*****

Offline

Posts: 6265



Stellvertr. OVV I40, Jugend / Nachwuchsreferent

View Profile WWW
Re:USB-Stick-Update-Bootloader NEU
« Reply #84 on: 13. September 2016, 15:18:19 »

Hi Jos,

ok - I never tested with 427 and 1MB flash - but there is no reason why this will not work.

So try to test some more steps to get it located.

- does old bootloader for small plug work?
- when you start with new bootloader holding BANDM pressed - is mcHF remaining ON when you release power button?
- does backlight flash after a 1...2 seconds?

vy73
Andreas
Logged

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! <<<<
PA3CCE
Neuling
*

Offline

Posts: 21



Ich liebe dieses Forum!

View Profile
Re:USB-Stick-Update-Bootloader NEU
« Reply #85 on: 13. September 2016, 17:14:18 »

Andreas

Under no circumstances I can make the LCD backlight flashing.
When I push BandM and Power button LCD backlight goes On and remains ON.
When I release BandM button LCD remains ON.
When I release Power button LCD backlight goes OFF.

Sorry you misunderstood, Peter has STM32F427VGT6 (1 MB), is working OK.
I have STM32F427VIT6 (2MB) and cannot have it loaded the bootloader as it seems..

Please be aware, that :
1) DFUdemo comunicates very well with my processor, it gives me correct info abt it.
2) DFU demo tells me that the bootloader has been uploaded correctly.
3) DFU demo tells me that it verifies the bootloader to be correct.

I just found that:
PB2 has a 4k7 pull-up resistor on the pcb, so that is why I do measure the 3.3V OK there.
PB0 does not have such resistor, so it shall have to be pulled up by the bootloader indeed, but I do not measure the 3.3V.

Should the MCU work properly (loading bootloader and firmware) when I just take the UI board seperately from the RF board and feed is by just the 5V_UI ?
That would make fault tracing more easy.

73
Jos

Logged
DF8OE
Administrator
*****

Offline

Posts: 6265



Stellvertr. OVV I40, Jugend / Nachwuchsreferent

View Profile WWW
Re:USB-Stick-Update-Bootloader NEU
« Reply #86 on: 13. September 2016, 17:33:25 »

Yes,that works.

Slightly correction:

Windows tells you, that bootloader has flashed correctly,. That is not the same as it *is* flashed correctly.

If it is flashed correctly, bootloader would work...

Do you have another mcHF builder inyour surrounding so that you can try flashing with a "known-working" OS software condition?

vy73
Andreas
Logged

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! <<<<
PA3CCE
Neuling
*

Offline

Posts: 21



Ich liebe dieses Forum!

View Profile
Re:USB-Stick-Update-Bootloader NEU
« Reply #87 on: 13. September 2016, 18:39:45 »

"Yes that works."

Oh, good, that makes it less complicated.

"Do you have another mcHF builder in your surrounding so that you can try flashing with a "known-working" OS software condition?"

Sorry, as far as I know I don't have.

OK, will continue tomorrow, can't be too difficult if it realy is a hardware problem.

73
Jos
Logged
PA3CCE
Neuling
*

Offline

Posts: 21



Ich liebe dieses Forum!

View Profile
Re:USB-Stick-Update-Bootloader NEU
« Reply #88 on: 13. September 2016, 18:46:20 »


" so that you can try flashing with a "known-working" OS software condition?"

What do you mean by that, my PC's OS software condition is out of the question.

Jos
Logged
PA3CCE
Neuling
*

Offline

Posts: 21



Ich liebe dieses Forum!

View Profile
Re:USB-Stick-Update-Bootloader NEU
« Reply #89 on: 13. September 2016, 19:05:17 »

@ Peter

OK Peter, great, I can speak a little German also, I learned it at school, but that is long long ago.
Reading it is OK, but writing a bit more difficult 
Speak  to you later, maybe by the mcHF when it's working.

73
Jos
Logged
Pages: 1 ... 4 5 [6] 7 Go Up Print 
Diskussions- und Newsboard des DARC-Ortsverbandes I40  |  allgemeine Kategorie  |  mcHF Projekt Deutsch / English (here you can discuss everything related to mcHF) (Moderators: DF8OE, DL1PQ)  |  Topic: USB-Stick-Update-Bootloader NEU <- zurück vorwärts ->
Jump to: 


Login with username, password and session length

 Es wird die Verwendung von Browsern die auf der "Blink"-Engine basieren 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!