Search found 13117 matches

by Giovanni
Tue Nov 24, 2020 5:42 pm
Forum: Development and Feedback
Topic: STM32WB55 support
Replies: 35
Views: 3732

Re: STM32WB55 support

I wanted to do the clock tree like in L5 and G4, this could take a bit of extra work if you start from the code as it is now.

Giovanni
by Giovanni
Tue Nov 24, 2020 8:33 am
Forum: Development and Feedback
Topic: STM32WB55 support
Replies: 35
Views: 3732

Re: STM32WB55 support

Those could become helper drivers, like DMAs, for sure but not "abstract" high level drivers in the HAL, too specific.

Giovanni
by Giovanni
Mon Nov 23, 2020 7:18 pm
Forum: Development and Feedback
Topic: STM32WB55 support
Replies: 35
Views: 3732

Re: STM32WB55 support

Hi,

USB is always the same, it must be some tiny clock or GPIO detail.

BTW, is there support in OpenOCD for this device?

Giovanni
by Giovanni
Sat Nov 21, 2020 10:19 pm
Forum: Bug Reports
Topic: Wrestling with MAC on F107 Topic is solved
Replies: 18
Views: 4774

Re: Wrestling with MAC on F107 Topic is solved

There has been no such change.

Giovanni
by Giovanni
Thu Nov 19, 2020 4:53 pm
Forum: STM32 Support
Topic: Weird SPI driver behavior on STM32H750 Topic is solved
Replies: 3
Views: 52

Re: Weird SPI driver behavior on STM32H750 Topic is solved

Hi,

Placement is defined in the linker file included by the makefile, the default ones puts the C stack in TCM which is not DMA-accessible.

The easy approach is to use static buffers.

Giovanni
by Giovanni
Thu Nov 19, 2020 7:38 am
Forum: STM32 Support
Topic: Weird SPI driver behavior on STM32H750 Topic is solved
Replies: 3
Views: 52

Re: Weird SPI driver behavior on STM32H750 Topic is solved

Hi,

SPI buffers have to be placed in DMA-accessible areas, is your stack placed into an accessible RAM?

Giovanni
by Giovanni
Thu Nov 19, 2020 7:37 am
Forum: ChibiOS/RT
Topic: ChibiOS OS Library Test Suite
Replies: 6
Views: 149

Re: ChibiOS OS Library Test Suite

FXCoder wrote:Hi,
I just did a quick check on a L432 NUCLEO and found main memory decreased after each 'test oslib'.
Could it be that a factory object is not being released (left dangling with heap allocated)?
--
Bob


It is possible, do you know in which test case this happens?

Giovanni
by Giovanni
Wed Nov 18, 2020 10:33 pm
Forum: ChibiOS/RT
Topic: ChibiOS OS Library Test Suite
Replies: 6
Views: 149

Re: ChibiOS OS Library Test Suite

vrollei wrote:Will check it, is there any way to clean up memory after test cases execution?
Thanks!


Currently not, it would require resetting the heap state which could create unintended consequences. You may try calling again the memory allocators initializers which are not an official API.

Giovanni
by Giovanni
Wed Nov 18, 2020 9:54 pm
Forum: ChibiOS/RT
Topic: ChibiOS OS Library Test Suite
Replies: 6
Views: 149

Re: ChibiOS OS Library Test Suite

This could be caused by memory fragmentation, the factory uses memory allocation, check the heap state using the "mem" shell command.

Giovanni
by Giovanni
Tue Nov 17, 2020 4:17 pm
Forum: Development and Feedback
Topic: toward secure embedded systems
Replies: 4
Views: 169

Re: toward secure embedded systems

Any RTOS is able to operate synchronously using pre defined time slots and similar. In RT you could use virtual timers and schedule everything in fixed time slots without even using threads. The problem is that any real embedded applications is handling asynchronous external events, a pure synchrono...

Go to advanced search