Cache-related problem in some STM32 HAL drivers

Report here problems in any of ChibiOS components. This forum is NOT for support.
User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Cache-related problem in some STM32 HAL drivers

Postby Giovanni » Sun Mar 17, 2019 9:17 am

Hi,

Putting this here to keep track.

Several LLDs have DMA-accessible buffers inside the driver structure, this is a problem on those devices where cache coherency must be handled.

Required action: move all buffers outside the driver structure, replace those with a pointer to the actual buffer which should be aligned to cache lines.

Giovanni

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: Cache-related problem in some STM32 HAL drivers

Postby Giovanni » Sun Nov 10, 2019 10:22 am

bump


Return to “Bug Reports”

Who is online

Users browsing this forum: Bing [Bot] and 23 guests