logo
Welcome, Guest. Please Login or Register.
06. December 2021, 00:21:09


Home Help Search Login RegisterWIKIUHSDR Download

Amateurfunk Sulingen
Diskussions- und Newsboard des DARC-Ortsverbandes I40  |  allgemeine Kategorie  |  UHSDR Firmware (Moderators: DF8OE, DL1PQ)  |  Topic: Building Fw for H7 <- zurück vorwärts ->
Pages: [1] Go Down Print
   Author  Topic: Building Fw for H7  (Read 609 times)
satoryboy
schon länger dabei
**

Offline

Posts: 87



Ich liebe dieses Forum!

View Profile E-Mail
Building Fw for H7
« on: 23. October 2021, 13:53:39 »

Hello All

The task is simple - to compile the mod-firmware for the STM32H743ZIT6U controller (soldered from the Nucleo-144 board). There are no problems with the STM32F765ZIT6 controller, but at the time of purchase it was not available. I took a separate computer (Win7-64), installed the compilation environment strictly according to the instructions - https://github.com/df8oe/UHSDR/wiki/Windows-x64-Compiler-Setup-and-Build-Environment. Corrected only the system variable Path. Compiled the current "active-devel" project, version 2.12.0, for the H7 controller. When compiling, I got the message:

... text data bss dec hex filename
773620 6320 106256 886196 d85b4 fw-ovi40.elf
arm-none-eabi-objcopy -O binary fw-ovi40.elf fw-ovi40.bin
arm-none-eabi-objcopy -O binary fw-ovi40.elf fw-ovi40.bin

17:53:06 Build Finished. 0 errors, 7 warnings. (took 7m: 50s.197ms)

The firmware does not start (black screen, LEDs do not move). In this case, the stock firmware 2.12.0 starts without problems. Question - compile for Linux only? Are the instructions for her up to date?
Logged
DF8OE
Administrator
*****

Offline

Posts: 6150



Stellvertr. OVV I40, Jugend / Nachwuchsreferent

View Profile WWW
Re:Building Fw for H7
« Reply #1 on: 23. October 2021, 14:43:37 »

I can only tell that compiling under Linux is working. I do not have Windows environment. What you are reporting are non-critical things, and you get a binary. If it does not work it can be related to the version of the gcc you use, or optimization settings that are set by the GUI. I do not use any GUI at all - just makefile on command line. Doing so you can be sure that there is no other hidden place whre additional settings are applied that you cannot see.

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! <<<<
DL8EBD
positron
Urgestein
*****

Offline

Posts: 2221



SMD Junkie

View Profile
Re:Building Fw for H7
« Reply #2 on: 23. October 2021, 17:14:41 »

compiling for a H7 also works under Windows.
However, it is significantly(!) faster under Linux
Logged

vy73
Thomas
satoryboy
schon länger dabei
**

Offline

Posts: 87



Ich liebe dieses Forum!

View Profile E-Mail
Re:Building Fw for H7
« Reply #3 on: 23. October 2021, 18:50:12 »

Yes, and the executable code is more compact. But still, how do I compile a mod firmware that will not hang the controller? I will be working on a compilation option for Linux, but time is running out. Help!

Sources: https://disk.yandex.ru/d/HAfvN5SVED9GqQ
« Last Edit: 23. October 2021, 18:53:19 by satoryboy » Logged
satoryboy
schon länger dabei
**

Offline

Posts: 87



Ich liebe dieses Forum!

View Profile E-Mail
Re:Building Fw for H7
« Reply #4 on: 24. October 2021, 09:58:51 »

I stitched it with an old mod-firmware compiled for Ubuntu. The transceiver works without problems. The root of all evil is in the compiler.
 look.jpg
Logged

DF8OE
Administrator
*****

Offline

Posts: 6150



Stellvertr. OVV I40, Jugend / Nachwuchsreferent

View Profile WWW
Re:Building Fw for H7
« Reply #5 on: 24. October 2021, 13:19:17 »

Normally I am using gcc8 for building arm projects. This is a known issue and e.g. nanovna / tinysa recommends gcc8, too.. But I can use gcc-arm-none-eabi 10_2020_q4_major-1 without problems building F4/F7/H7. Resulting binary is much bigger - that's all, No other issues known.

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! <<<<
satoryboy
schon länger dabei
**

Offline

Posts: 87



Ich liebe dieses Forum!

View Profile E-Mail
Re:Building Fw for H7
« Reply #6 on: 24. October 2021, 13:57:02 »

Thanks to the namesake from Germany, sent the firmware compiled for Linux. There are glitches and freezes, but I'll figure it out over time. The correct compiler rules.
 20211024_171434.jpg
« Last Edit: 24. October 2021, 13:57:35 by satoryboy »
Logged

Pages: [1] Go Up Print 
Diskussions- und Newsboard des DARC-Ortsverbandes I40  |  allgemeine Kategorie  |  UHSDR Firmware (Moderators: DF8OE, DL1PQ)  |  Topic: Building Fw for H7 <- 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!