Search Results
Search results 1-6 of 6.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
Hello and sorry about the late follow up. I finally had time to look into this. And after examining my project further I discovered the option "Unaligned Access Support" was set to "Yes". Changing this configuration to "No" resolved my issue. Thanks for your help!
-
Hi, thank you for taking the time to look into this. Quote from SEGGER - Nino: “0x2000637a is not aligned correctly which means that your struct is called/used incorrectly. It should be 4 byte aligned but is 2 byte aligned instead. ” The address of the struct (0x2000637a) is assigned by the compiler. I'm not sure how I can instruct the compiler to use a 4 byte aligned address instead? Here's the code where it's assigned (the struct is ctx).: Source Code (28 lines)mbedtls_sha256_init: Source Code…
-
Hi, unfortunately I don't have time to follow up on this. I switched compiler to GCC and everything is running fine now.
-
Hi, I have a C-project which runs on NRF52832 (cortex M4). Using Segger Embedded Studio Release 5.10b (Build 2020091601.43513 Linux x64), segger-cc: version 10.6.6. My issue is the compiler generates an strd instruction using an unaligned address, which causes a hard fault when I run it. C-code: Source Code (37 lines)When compiling with optimization level 0, everything runs fine. However, when changing optimization level to 1 (and above), the following code is generated by the compiler (only par…
-
Quote from CheMax: “You are a wizard. ” Thanks, I'll put that on my resume Quote from CheMax: “How could you come to this ” If you read the error message you posted, it says: Quote from CheMax: “See wiki.segger.com/Correct_typing_of_Thumb_functions for help on correcting this ” It describes the cause of the error which is missing .thumb_func, so I just went through all the assembler files in the project looking for missing ones.
-
Hi, I had the same issue. I fixed this by adding a missing '.thumb_func' in the file ses_startup_nrf_commons.s (in 'System Files'), before the line 'afterInitialize:' around line 105. Source Code (14 lines)