This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

RW memory range over lap problem when compiling for nrf52840

Hello, I got this error:

Error: L6221E: Execution region RW_IRAM1 with Execution range [0x20003120,0x200046a8) overlaps with Execution region ER$$.ARM.__AT_0x20003000 with Execution range [0x20003000,0x20003800).

I assume ER$$.ARM is something CM4 related that better left unchanged , but I duplicated the RW_IRAM1 settings from an example project by nordicsemi.

The thing is, I wanna be 100% sure about what I'm doing so I'm not going to straight up modify the IRAM1 range in the "magic wand" setup into something less overlap-ish.

So what can and should I do?

Parents
  • The IRAM1 address, I still don't know how to decide the IROM address yet.

    Edit: Sorry, I just realized what you mean. I deliberately modified both IROM AND IRAM one at a time. It appears that the app can be properly download after the IRAM modification, notwithstanding I'm using both of your given values now, the program doesn't appear to be running (reset and run checked) so I'll try some official example app and see if there is something wrong with my hardware platform. Is there a strobe/hello world -ish app that I can use in my scenario?

    Thanks a lot for your help :)

Reply
  • The IRAM1 address, I still don't know how to decide the IROM address yet.

    Edit: Sorry, I just realized what you mean. I deliberately modified both IROM AND IRAM one at a time. It appears that the app can be properly download after the IRAM modification, notwithstanding I'm using both of your given values now, the program doesn't appear to be running (reset and run checked) so I'll try some official example app and see if there is something wrong with my hardware platform. Is there a strobe/hello world -ish app that I can use in my scenario?

    Thanks a lot for your help :)

Children
No Data
Related