Skip to main content
DS.4
Senior
June 13, 2023
Question

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

  • June 13, 2023
  • 2 replies
  • 3368 views

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?

2 replies

Associate II
January 12, 2024

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
January 12, 2024

Perhaps just follow the direction and align the base address?

ie 0x20000010 and not 0x20000004

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Tesla DeLorean
Guru
January 12, 2024

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 VenmoUp vote any posts that you find helpful, it shows what's working..