cancel
Showing results for 
Search instead for 
Did you mean: 

Keil error : : Exec region RW_IRAM1 address (0x20000008) not aligned on a 64 byte boundary.

DS.4
Senior II

BLE_HearRateFreeRTOS example: latest .

; *************************************************************

; *** Scatter-Loading Description File generated by uVision ***

; *************************************************************

LR_IROM1 0x08000000 0x00080000 {  ; load region size_region

 ER_IROM1 0x08000000 0x00080000 { ; load address = execution address

  *.o (RESET, +First)

  *(InRoot$$Sections)

  .ANY (+RO)

 }

 RW_IRAM1   0x20000008 0x2FFF8 { ; RW data

  .ANY (+RW +ZI)

 }

  RW_RAM_SHARED1 0x20030000 0x28 { ; RW data 

   *(MAPPING_TABLE)

  }

  RW_RAM_SHARED2 0x20030028 0x27D8 { ; RW data    

  *(MB_MEM1)

  *(MB_MEM2)

  .ANY (+RW +ZI)

  }

 }

How do I proceed?

3 REPLIES 3
SimoE
Associate II

I have the same but a little different problem:

BV_FULLBAND\Exe\Dory.axf: Error: L6244E: Exec region RW_IRAM1 address (0x20000004) not aligned on a 16 byte boundary.

I downloaded the STM32WB5MM sample project and compiled it in Keil µVision5. But this Error happens. I don't know how to handle it.

Do you have a solution since the problem happens or does anyone have the same problem but know how to solve it?

Perhaps just follow the direction and align the base address?

ie 0x20000010 and not 0x20000004

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Likely a V6 compiler/link ABI issue

RW_IRAM1   0x20000040 0x2FFC0 { ; RW data, 64-byte alignment required

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..