Skip to main content
DS.4
Senior
Jun 13, 2023 8:47 AM UTC
Question

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

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?

This topic has been closed for replies.

3 replies

Associate II
Jan 12, 2024 1:22 PM UTC

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?

Tesla DeLorean
Guru
Jan 12, 2024 3:00 PM UTC

Perhaps just follow the direction and align the base address?

ie 0x20000010 and not 0x20000004

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Tesla DeLorean
Guru
Jan 12, 2024 3:01 PM UTC

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..