This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

L6221E execution regions overlap error

I am working on Keil uVision4 and just started learning ARM Cortex-M3 assembly. Executing a program but have this error during the build process:


.\mycode1.axf: Error: L6221E: Execution region ER_RO with Execution range [0x00000000,0x00000038) overlaps with Execution region ER_RW with Execution range [0x00000000,0x00000008).
.\mycode1.axf: Error: L6221E: Execution region ER_RO with Execution range [0x00000000,0x00000038) overlaps with Execution region ER_ZI with Execution range [0x00000008,0x00000108).


How can it be fixed?


p.s. I have attached my simple code i am working on.

my_code.txt.zip
0