Title: Testers wanted / Tester gesucht
Post by: DB4PLE on 14. July 2018, 20:54:10
Hi,
the H7 port is done, now the testing begins. And here you can help, even if you don't own a OVI40 H7.
In the attached ZIP you can find binaries for all supported devices including the OVI40 H7 as dfu or bin. The naming is slightly different from the one normally used, so if you are using the USB drive method, you may have to rename bin files. However, the file and directory names make it quite clear for which device the files are.
PLEASE TEST THESE. These should work exactly like the 2.9.42 they are based on. So even if you don't have an H7 you can help by testing. Both bootloader and firmware should be tested if possible. Firmware is relatively risk free, just overwrite the old one.
Bootloader testing: Nothing serious can happen but it may be more difficult to recover in case of failure since in worst case you have to use jumper P6.
If you find no issues for F4 and F7, we are ready to merge the H7 soon.
73 Danilo |
Title: Re:Testers wanted / Tester gesucht
Post by: DB4PLE on 15. July 2018, 10:18:42
ATTENTION / ACHTUNG:
The H7 bootloader via USB drive method MUST NOT BE USED. IT DOES NOT WORK CORRECTLY! WAIT FOR A FIX.
H7 Bootloader itself and DFU method works. All other processors, all should be working without problems.
73 Danilo |
Title: Re:Testers wanted / Tester gesucht
Post by: DB4PLE on 15. July 2018, 11:08:27
Hi,
new bootloaders available, please test these, if possible. H7 it tested myself and it works with USB drive and DFU via cable.
Firmwares are unchanged, use previous package.
73 Danilo |
Title: Re:Testers wanted / Tester gesucht
Post by: DF8OE on 15. July 2018, 13:59:14
I have tested firmware on OVI40 F7 and mcHF F4 1MB - all is working as expected. Tomorrow I will test bootloaders - if no other one wants to do that. It is not so easy for me because I use special bootloaders with built-in testing flag for my experimental firmwares and I must reflash these because Danilos bootloaders do not contain this flag...
vy 73 Andreas |
Title: Re:Testers wanted / Tester gesucht
Post by: peter_77 on 16. July 2018, 08:52:41
Guess is makes only sense for those who have H7 installed on their pcb. Due to the fact that actual H7 have a chip design error and the STM world waits for the redesigned H7 beeing available at the end of this year there will only be a very small number of people who can even do this test. The majority has surely F7s used on the I40. |
Title: Re:Testers wanted / Tester gesucht
Post by: Michael_K on 16. July 2018, 08:54:10
FW auf OVI40 F7 arbeitet ohne erkennbare Besonderheiten. In System-Info: Build Jul 14 2018 17:54 Bootloader aus Zeitgründen noch nicht getestet. vy 73 aus Erfurt Michael_K |
Title: Re:Testers wanted / Tester gesucht
Post by: DB4PLE on 16. July 2018, 09:15:50
Hi Peter,
Guess is makes only sense for those who have H7 installed on their pcb. Due to the fact that actual H7 have a chip design error and the STM world waits for the redesigned H7 beeing available at the end of this year there will only be a very small number of people who can even do this test. The majority has surely F7s used on the I40.
|
|
the "task" was to also test F7 and F4 builds since I had to do a number of small changes in shared code which might also affect F4 and F7. And I would like to know if I introduced "stupid" bugs with these changes.
So everyone is invited. The bugs with the H7 are in fact my least concern, since I guess the number of working OVI40 UI H7 owners is clearly in the single digit range...
It seems, the STM32H7x3 Rev Y hardware design errors do not affect us. The issues in the HAL library provided by STM made it such a painful process (half of the peripheral clocks were turned off by their HAL code instead of being turned on, that caused me serious trouble to find the issue).
BTW: STM just released a new revision (X) and even a completely H7 member (the STM32H750. Which no use for us, has almost no flash, just 128k AFAIK, this is a "low-end" H7, all the computational power but only little code storage). But it shows they are now confident to have reached maturity and will probably starting to prepare ramping up the production by now.
73 Danilo
EDIT: Thanks, Michael and Andreas for testing! |
Title: Re:Testers wanted / Tester gesucht
Post by: peter_77 on 16. July 2018, 10:09:54
OK, if that applies to F7 testing as well i am happy to do so too. Danilo, just to make sure to take the correct files for F7, so its your above "h7alpha" zip file, right ? If i understand you right this one works for us F7 candidates as well, correct ? |
Title: Re:Testers wanted / Tester gesucht
Post by: DF8OE on 16. July 2018, 10:14:16
Open the ZIP - contents is self-explaining.
Most interesting is bootloader in all its functions (USB-update, DFU update, starting firmware).
vy 73 Andreas |
Title: Re:Testers wanted / Tester gesucht
Post by: Michael_K on 17. July 2018, 05:47:56
Moin, zum Bootloader: USB-update trotz 3-maligen Versuchs hat nicht geklappt (alter BL war 4.0.0) DFU-update --> o.k. Start FW --> o.k. Anzeige System-info: 4.1.0 vy 73 aus erfurt Michael_K |
Title: Re:Testers wanted / Tester gesucht
Post by: OE1FHB on 17. July 2018, 07:35:10
Guten Morgen, habe heute versucht Bootloader zu laden. Ausgangslage : Fw.:D2.9.42 Bl.:4.0.0 Aus Bootloader H7 Alpha, mchf.dfu geladen > Sys. Info zeigt 4.1.0.mit FW 2.9.42, mit FLDIGI und WSJT x getestet keine Probleme aufgetreten. Versuch über USB Stick alte FW zu laden (2.9.35 ),download ohne Fehler beendet. Startversuch > PWR On >weißer Schirm blinkt ,nichts geht mehr. >:( >:( >Ausgangslage wieder hergestellt > FW 2.9.42 Bl 4.0.0 >alles wieder OK .
VY 73 Friedrich |
Title: Re:Testers wanted / Tester gesucht
Post by: DB4PLE on 17. July 2018, 07:50:48
Hallo Michael, Friedrich,
vielen Dank. Hat also Sinn gemacht, das etwas intensiver anzuschauen. Beim H7 geht übrigens alles, so ist das Leben. Den F4 kann ich mir nicht anschauen, habe keinen zur Hand. Aber den F7 kann ich nach Umbau hier wieder in Betrieb nehmen und entsprechend auf Fehlersuche gehen.
73 Danilo |
Title: Re:Testers wanted / Tester gesucht
Post by: DB4PLE on 17. July 2018, 08:16:21
Hallo Michael,
welches Fehlerbild hat sich bei Dir beim USB Update ergeben? Hast Du Fehler 4 angezeigt bekommen?
Grüße Danilo |
Title: Re:Testers wanted / Tester gesucht
Post by: Michael_K on 17. July 2018, 08:53:23
@Danilo ich war zu schnell mit dem DFU-update; aus der Erinnerung so was wie "file not found"; bin z.Zt. unterwegs; teste es morgen noch mal vy 73 aus Erfurt Michael_K |
Title: Re:Testers wanted / Tester gesucht
Post by: DB4PLE on 17. July 2018, 09:17:14
Hi,
regarding the issue of the not working bootloaders I made a very nasty discovery: If I compile the F7 bootloader with an older compiler (gcc 6) the bootloader does work, if I use the newest compiler the bootloader USB drive writing does not work and fails due to some error in the STM library code.
This is bad stuff. Need to look closely at this but currently have no clue if it is a problem with our setup (linker scripts etc.), a true compiler issue or a bug in our code or in the STM code which just "appears" when using the newest compiler. One of the interesting points is the fact that the H7 code build with the newest compiler works without problems. The bootloader code is for F7 and H7 in this part virtually identical (only the flash writing and firmware start is different, but we are not using these functions in the code before we fail on the newer compiler).
It appears that the problem is related to the use of the newer GCC 7 compiler version provided by ARM (both Linux and Windows builds).
In any case, even with the older compiler, flashing does not seem to work on the F7, this was the area I made changes (not in the storing of the old firmware on the drive, this is unchanged)
I need to investigate a little more.
73 Danilo
|
Title: Re:Testers wanted / Tester gesucht
Post by: DF8OE on 17. July 2018, 09:17:38
Bevor wir uns hier "verrennen": Bitte kontrolliere genau was für einen Dateinamen der Bootloader sucht. Der wird beim Updateversuch angezeigt. Eventuell hat Danilo hier etwas anderes als "fw-40sdr" hardgecoded. Außerdem ist es auch interessant, ob die alte Firmware auf dem USB-Stick gesichert wird (erfolgt überhaupt eine Sicherung, wie lang ist das File etc.)
vy 73 Andreas |
Title: Re:Testers wanted / Tester gesucht
Post by: DB4PLE on 17. July 2018, 09:23:49
Hi,
to be clear about the issues I see:
With new compiler: 1. Start the bootloader with a USB drive plugged in 2. Press Band- while powering on.
Result: The saving of the old firmware will fail with error 4.
Diagnosis: No clue yet.
With old compiler and correctly named bin: 1. + 2. as before
Result: Storing and writing of new firmware works without error message but the firmware does not start.
Diagnosis: My guess here is, flashing does not work as intended.
|
Title: Re:Testers wanted / Tester gesucht
Post by: DB4PLE on 17. July 2018, 09:35:57
Hi,
okay, I found the programming error causing the actual flashing of the firmware on the F4 and F7 to fail. I fixed that, and with the old compiler (gcc 6 2017 q2) the bootloader on the F7 works as expected.
@Friedrich: Dein Flashen auf dem F4 musste schiefgehen, den Fehler habe ich gefunden.
It seems to me that there is an interesting issue just on the F7 and new compiler (gcc 7) issue, which does not appear on the H7.
I will soon publish two sets of bootloaders, one set build with the gcc 6 and one with the gcc 7. Please test when they become ready, again mostly F4 and F7, and specifically the USB driver update.
73 Danilo |
Title: Re:Testers wanted / Tester gesucht
Post by: DB4PLE on 17. July 2018, 11:11:52
GCC 6.3.1 Bootloaders
Please test if USB DRIVE Update is working for F4 and F7 (both should work).
GCC 7 bootloaders follow... |
Title: Re:Testers wanted / Tester gesucht
Post by: DB4PLE on 17. July 2018, 11:22:03
GCC 7.3.1 Bootloaders
Please test USB drive function (should work for F4 and H7 and most likely does not work for F7).
As of now I have not a single clue why running a different compiler version causes a problem for the F7 but not for the essentially identical H7 processor (both more or less use the same compiler settings relevant for code generation, both are a cortex-m7 with a double precision fpu).
We'll probably find out at some point...
Please confirm my findings: gcc: F4,F7,H7 bootloaders work without any problem gcc: F4,H7 bootloaders should work, F7 does not work with USB drive (stops with error 4).
We'll keep using the gcc6 (as we have been doing for a while) as the compiler for official builds and all is almost good for now.
73 Danilo
|
Title: Re:Testers wanted / Tester gesucht
Post by: DF8OE on 17. July 2018, 12:49:16
Das ist übrigens sehr gut dass Du mich "gewarnt" hast. Ich hatte auch schon den gcc7 für die offiziellen Builds eingerichtet...
vy 73 Andreas |
Title: Re:Testers wanted / Tester gesucht
Post by: OE1FHB on 17. July 2018, 14:23:56
Hab bl - mchf.dfu von gcc 7.3.1 geladen ohne Probleme. Nachher über USB Update von FW durchgeführt , war ohne Probleme möglich.
Vy 73 Friedrich
|
Title: Re:Testers wanted / Tester gesucht
Post by: DB4PLE on 17. July 2018, 17:08:13
Hallo Friedrich,
danke! Bestätigt meine Vermutung.
Grüße Danilo
|
Title: Re:Testers wanted / Tester gesucht
Post by: DB4PLE on 17. July 2018, 22:39:11
Hi,
I found the issue. It is not a compiler bug, so as usual the problem sat in front of the monitor... The disk read / write code requires the data to start on an memory address which can be divided by 4 (i.e. is 4 byte aligned). We did not enforce this by a compiler setting however in most cases it was aligned correctly. Only the gcc7 F7 build did not have this aligned. And with that the bootloader failed. This was pure luck that we did not have that problem earlier. Fix is easy, just tell the compiler to align the data correctly. With that done, all is working now.
Thanks to the testers.
@Andreas: The GCC 7 can and should be used for official builds I would say.
73 Danilo |
Title: Re:Testers wanted / Tester gesucht
Post by: DF8OE on 18. July 2018, 04:36:06
Hi Danilo,
I have modified my building script to GCC7 now. Very good work!
vy 73 Andreas |
Title: Re:Testers wanted / Tester gesucht
Post by: S53DZ on 18. July 2018, 07:05:02
Danilo,
great job. Thanks for that. GCC 7 works fine.
PS: It is again a proof for an old saying: "All great findings happened by accident." And in spite of all the hard work. But I comfort myself that all that hard work make the accident happen. |
Title: Re:Testers wanted / Tester gesucht
Post by: DB4PLE on 18. July 2018, 07:12:14
Hi Andreas,
Hi Danilo,
I have modified my building script to GCC7 now. Very good work!
vy 73 Andreas
|
|
Just as a reminder: Before you release the bootloader build with gcc 7, we should fix it also in active-devel. I'll take care of that.
73 Danilo |
Title: Re:Testers wanted / Tester gesucht
Post by: DF8OE on 18. July 2018, 08:11:15
Of course. I think you will combine H7 port with this work and if both arrived in active devel I will merge and release a "first test version".
BTW: Do you have implemented H7 build via Makefile already? If so: I will expand my publishing script for an OVI40 H7 build.
vy 73 Andreas |
Title: Re:Testers wanted / Tester gesucht
Post by: DB4PLE on 18. July 2018, 08:25:35
Hi Andreas,
yes, Makefile does work, all the firmware and bootloaders in the zip in this thread were build using the Makefile approach on Ubuntu (using the new Windows Linux Subsystem which for this kind of application is quite nice). I also extended the .travis.yml to take care of the H7 build as well... All of that will be in the H7 pull request from my ovi40h7 branch.
However, I made the small bootloader fix go to active-devel (see my pull request). So you'll have this in right now since it is an immediate issue, not like the H7 port which can wait a few more days.
73 Danilo |
Title: Re:Testers wanted / Tester gesucht
Post by: DF8OE on 18. July 2018, 08:33:40
Shall I release a build containing these changes?
vy 73 Andreas |
Title: Re:Testers wanted / Tester gesucht
Post by: DB4PLE on 18. July 2018, 08:37:09
Hi Andreas,
I would say yes if you switch to the gcc7 for builds, so that we can find out if this change does not cause issues (anymore).
73 Danilo
|
Title: Re:Testers wanted / Tester gesucht
Post by: DF8OE on 18. July 2018, 08:48:38
Shall I release both bootloader and firmware binaries?
vy 73 Andreas |
Title: Re:Testers wanted / Tester gesucht
Post by: DB4PLE on 18. July 2018, 08:55:50
Hi Andreas,
yes. The change to gcc7 affects both firmware and bootloader, so we should release both as experimental/development builds.
73 Danilo |
Title: Re:Testers wanted / Tester gesucht
Post by: DF8OE on 18. July 2018, 09:10:02
OK - done. Everything finished successfully.
Because of my script does yet not support fw and bl upgrading in one step I have done it in two.
vy 73 Andreas |
Title: Re:Testers wanted / Tester gesucht
Post by: OE5RKM on 19. July 2018, 06:35:07
Hallo
zur Info
ovi40 F7 BL 4.1.0 mit Firm 2.9.42 OK
mit Firm 2.9.43 error 2
BL 4.1.1 mit Firm 2.9.43 ALLES OK
Danke
73 Rudi |
Diskussions- und Newsboard des DARC-Ortsverbandes I40 | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
|