Hi Jan,
Thanks for your question. You are right. If the memory type is specified as Device, unaligned data accesses (memcpy() and memset()) will cause an Alignment fault. Refer to https://developer.arm.com/documentation/ka004708/latest and https://developer.arm.com/documentation/ka002886/latest. In your project, the memory should be Normal memory type. Could you follow up the guide https://developer.arm.com/documentation/ka002886/latest to disable the access alignment restrictions? Thanks.
Kind Regards,
Haiqing