logo
Welcome, Guest. Please Login or Register.
23. April 2024, 08:42:10


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: Convert .bin firmware to dfu file <- zurück vorwärts ->
Pages: [1] Go Down Print
   Author  Topic: Convert .bin firmware to dfu file  (Read 1315 times)
arcticsilver
Neuling
*

Offline

Posts: 2



I'm a llama!

View Profile
Convert .bin firmware to dfu file
« on: 27. April 2021, 17:13:56 »

Hi all,

I'm trying to convert a .bin firmware file for an OVI40 F7 (Sparrow) to a .dfu file but I don't know the 0x address to do the conversion.  Any help would be appreciated!
Logged
satoryboy
schon länger dabei
**

Offline

Posts: 87



Ich liebe dieses Forum!

View Profile E-Mail
Re:Convert .bin firmware to dfu file
« Reply #1 on: 28. April 2021, 05:13:08 »

Hi

Fw upload from address 0x8010000, loader from 0x08000000. 73!
« Last Edit: 28. April 2021, 05:18:33 by satoryboy » Logged
WD8BXS
alter Hase
****

Offline

Posts: 286





View Profile
Re:Convert .bin firmware to dfu file
« Reply #2 on: 30. April 2021, 12:47:01 »

I wonder if when using ST-Link to load MCU STM32F437VIT6TR, should the starting address be 0x08010000 ?

Instead of 0x08000000 ??
Thanks,
Chuck
Logged

Thanks,
De WD8BXS vy 73
DF8OE
Administrator
*****

Offline

Posts: 6268



Stellvertr. OVV I40, Jugend / Nachwuchsreferent

View Profile WWW
Re:Convert .bin firmware to dfu file
« Reply #3 on: 30. April 2021, 14:18:00 »

Bootloader starts at 0x08000000
Firmware starts at 0x08010000

Bootloader only uses (the first) half of the space. The second half is "virtual EEPROM" inside STM32.

vy 73
Andreas
« Last Edit: 30. April 2021, 14:18:17 by DF8OE » 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! <<<<
WD8BXS
alter Hase
****

Offline

Posts: 286





View Profile
Re:Convert .bin firmware to dfu file
« Reply #4 on: 30. April 2021, 16:40:41 »

Can't you load both at the same time, with one .bin file??
A program image?

Chuck
Logged

Thanks,
De WD8BXS vy 73
DF8OE
Administrator
*****

Offline

Posts: 6268



Stellvertr. OVV I40, Jugend / Nachwuchsreferent

View Profile WWW
Re:Convert .bin firmware to dfu file
« Reply #5 on: 30. April 2021, 16:57:28 »

Nop. You would overwrite "virtual EEPROM" which contains all your personal settings (or a backup of them).

vy 73
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! <<<<
WD8BXS
alter Hase
****

Offline

Posts: 286





View Profile
Re:Convert .bin firmware to dfu file
« Reply #6 on: 30. April 2021, 17:40:18 »

No, I mean a blank new mcu,
Logged

Thanks,
De WD8BXS vy 73
DF8OE
Administrator
*****

Offline

Posts: 6268



Stellvertr. OVV I40, Jugend / Nachwuchsreferent

View Profile WWW
Re:Convert .bin firmware to dfu file
« Reply #7 on: 01. May 2021, 04:22:07 »

For a blank new MCU you can assemble the two .bin-files to one "big" starting at 0x08000000.

EDIT:
But it is not simply merging the two files. You have to add 0xFFs behind the bootloader to fill the space where the virtual EEPROM resides.

vy 73
Andreas
« Last Edit: 01. May 2021, 05:08:42 by DF8OE » 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! <<<<
Pages: [1] 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: Convert .bin firmware to dfu file <- 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!