Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firmware for the new STM32L412KB based RS41 #92

Open
videobuff opened this issue May 16, 2024 · 4 comments
Open

Firmware for the new STM32L412KB based RS41 #92

videobuff opened this issue May 16, 2024 · 4 comments

Comments

@videobuff
Copy link

The latest recoverd sonde (from the german Bundeswehr) contains the STM32L412KB chip and is a device with Ultra-low-power with FPU Arm Cortex-M4 MCU 80 MHz with 128 Kbytes of Flash memory. Looks the same (bottom one on the picture)
The current firmware RS41ng is written for the STM32F100. And that is an M3 MCU.
Hence you cannot flash it with the current firmware.

Is there already a process to port the current firmware for the new sondes ?

My knowledge is not enough to port the current firmware so I am keen to find out if someone is already on to it.
If needed i could donate one of the new sondes.

Erik

Scherm­afbeelding 2024-05-17 om 00 33 09
@kd2eat
Copy link
Collaborator

kd2eat commented May 17, 2024

Erik, if you happen to get a few spares of the new model and felt like mailing one to the States, let me know. I was involved in the hardware side of the DFM-17 port, and could take a swipe at this too. I just don't have access to one.

@videobuff
Copy link
Author

videobuff commented May 17, 2024 via email

@kd2eat
Copy link
Collaborator

kd2eat commented May 17, 2024

Erik, Thanks so much. I emailed my address to your email account listed in QRZ. Let me know, here, if you don't get it. Thanks! Mike / KD2EAT.

@kd2eat
Copy link
Collaborator

kd2eat commented May 29, 2024

I've received the sonde from Erik (thanks!). I've done some preliminary research on the processor. This could be in the "Big Deal" category. The processor is an STM32L41R8T6, A few differences from the existing RS41:

CPU speed: 24 mhz vs 80 mhz
SRAM: 8k vs 40k

The processors for both the classic RS41 and the DFM17 were in the "Medium Value Line" according to the HAL defines in the source code. It's not clear that this processor would be. I also haven't researched whether this processor is even supported by the existing HAL code. That will be the next step. It's likely that we'll either (at best) have a different CMAKEFILE for the new RS41, or at worst, deal with a different HAL library that supports it. We may be forced into the STM32CubeMX libraries if there isn't support in the current library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants