You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For STM32H7 devices the data section is placed into the DTCM memory which is not accessible by peripheral DMA transfers (contrary to STM32F7 where that works).
The linker script selects the memory with the lowest address for data, but I'd suspect the intention was to pick the largest continuous region and this is a bug.
cont_ram_regions[0] is the region with the lowest address. Probably cont_ram should be used instead which is the largest contiguous region.
@salkinium Was it the original intention to pick the largest region or is the current behaviour intended? If it should be the largest I can open a PR and fix it.
The text was updated successfully, but these errors were encountered:
I'm not sure what exactly the original intention was tbh. I think STM32H7 simply reused the F7 linkerscript but was never validated in detail as you're now doing.
I didn't know the DMA limitations back then, so definitely a bug.
For STM32H7 devices the data section is placed into the DTCM memory which is not accessible by peripheral DMA transfers (contrary to STM32F7 where that works).
The linker script selects the memory with the lowest address for data, but I'd suspect the intention was to pick the largest continuous region and this is a bug.
The STM32 linker script templates have:
cont_ram_regions[0]
is the region with the lowest address. Probablycont_ram
should be used instead which is the largest contiguous region.@salkinium Was it the original intention to pick the largest region or is the current behaviour intended? If it should be the largest I can open a PR and fix it.
The text was updated successfully, but these errors were encountered: