Search found 418 matches

by alex31
Thu Jul 31, 2025 6:07 pm
Forum: Development and Feedback
Topic: EFL internal flash driver on single bank MCU
Replies: 7
Views: 7014

Re: EFL internal flash driver on single bank MCU

Why the API is not suitable for direct flash operations? it should be quite generic, it is not meant for MFS only. Hello, Is there more that these functions in the generic API ? /*===========================================================================*/ /* External declarations. */ /*==========...
by alex31
Sat Jul 26, 2025 10:46 am
Forum: Development and Feedback
Topic: EFL internal flash driver on single bank MCU
Replies: 7
Views: 7014

Re: EFL internal flash driver on single bank MCU

Some information on flash memory I discovered while experimenting with the STM32G4 and ChibiOS: The EFL module is designed around MFS use cases and relies on a VMT-based API, which is not suitable for direct flash operations. So if you need to use flash for anything other than a filesystem, you’ll h...
by alex31
Fri Jul 25, 2025 2:38 pm
Forum: Development and Feedback
Topic: EFL internal flash driver on single bank MCU
Replies: 7
Views: 7014

Re: EFL internal flash driver on single bank MCU

I will give a try, I will decorate the EFL api and lld functions with a macro that can be nothing or an attribute section. should I also decorate the functions declared inline ? If they are really inlined, there should be no need, but I dont't know if inline is only a hint or an order that the compi...
by alex31
Fri Jul 25, 2025 10:39 am
Forum: Development and Feedback
Topic: EFL internal flash driver on single bank MCU
Replies: 7
Views: 7014

EFL internal flash driver on single bank MCU

Hello, I have to write a bootloader able to flash the application (from external SPI eeprom) on a stm32g491 (512Kb, single bank). from what I have understood, most of the bootloader code can reside in flash, but the part that actually erase and program the flash should run from RAM since one bank de...
by alex31
Tue Jun 24, 2025 3:38 pm
Forum: Development and Feedback
Topic: how to dynamically choose a driver for a given peripheral
Replies: 1
Views: 7230

how to dynamically choose a driver for a given peripheral

Hello, I'm developing firmware for a UAVCAN proxy card that can fulfill multiple roles, which are selected via configuration parameters stored in an external EEPROM. Many of these roles rely on libraries written years ago. I'm facing a conflict where one role uses USART2 with the SD driver, while an...
by alex31
Mon Feb 17, 2025 10:53 am
Forum: Development and Feedback
Topic: GCC 14.2.1 available from ARM web site
Replies: 1
Views: 18521

Re: GCC 14.2.1 available from ARM web site

For the ultimate edgers :oops: I have compiled 15.0.1_experimental for ubuntu 24.04 : https://drive.google.com/file/d/1i6P6pFENXAkXFkslHCBC7RD-G5yBI3Ow/view?usp=drive_link In short : ChibiOS compile fine, static analyzer don't complain. g++15 trigger some error messages due to real bugs in my code t...
by alex31
Sat Feb 01, 2025 6:36 pm
Forum: Bug Reports
Topic: gptStartOneShot 'fails' with interval of 1 Topic is solved
Replies: 5
Views: 26339

Re: gptStartOneShot 'fails' with interval of 1 Topic is solved

Hi Giovanni,

I arrived at the same conclusion, assertion and addon in the documentation should be an honorable solution :-)

A.
by alex31
Sat Feb 01, 2025 4:59 pm
Forum: Bug Reports
Topic: gptStartOneShot 'fails' with interval of 1 Topic is solved
Replies: 5
Views: 26339

Re: gptStartOneShot 'fails' with interval of 1 Topic is solved

Hello,

It seems this bug has come back from the past.
In latest stable for oneshot and continuous : called with interval == 1, callback is never called.

Alexandre
by alex31
Fri Jan 31, 2025 8:47 pm
Forum: ChibiOS/HAL
Topic: Unsure about clock tree configuration (because the CANbus baud rate is not correct)
Replies: 4
Views: 30631

Re: Unsure about clock tree configuration (because the CANbus baud rate is not correct)

Where is my fault? Hello, Clock tree is indeed fine, but all the subfield CAN_BTR_SJW CAN_BTR_TS2 CAN_BTR_TS1 CAN_BTR_BRP have a minimum length of 1, so you must specify N-1 for all these fields c.a.d if you want a value of 1, you must specify 0 . you should write this : CAN_BTR_SJW(0) | CAN_BTR_TS...
by alex31
Thu Jan 30, 2025 4:08 pm
Forum: Bug Reports
Topic: FDCAN with STM32H735
Replies: 44
Views: 73235

Re: FDCAN with STM32H735

Hello, I have backported your proposed FDCAN driver from trunk to stable 21.11, and use it in my projects (H753 and G491), and so far all is working 8-) I agree that with mutex one can stop and start the driver, I have tested this solution and it works, with the burden of having to protect all the C...

Go to advanced search