cancel
Showing results for 
Search instead for 
Did you mean: 

On the STM32H745 platform,When I use the memcpy or memset function to access external SDRAM(0xC0000000),If the address is not double byte aligned, the program enters harddefault.I tested the same situation on M4 platform without any problems.

NLI.11
Associate II

memcpy(0xc0000000,buffer,2) this is ok

memcpy(0xc0000001,buffer,2) this is error

1 ACCEPTED SOLUTION

Accepted Solutions
Radosław
Senior II
3 REPLIES 3
Radosław
Senior II

Read Errata, FMC do not support unaligned acces.

Thanks for your help.But I do not see the "FMC do not support unaligned acces" in H745 Errata. Another problem is that this only happens on the M7 platform.Does it mean that only M7 has this problem.

Radosław
Senior II