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

Issues with AT91M55800: init_serial, overlapping execution regions

Hi!
I am using the RealView MDK for a research project. The target device is AT91M55800A.
First, I created a project for it. I confirmed the default startup file and added a .c file to the project. I tried then to compile the program. It failed to do so, because init_serial and init_time were missing. I added these functions with empty bodies inside a .c file. This seemed to fix these errors.
Now, when I try to build it, I get these errors:

rv_project.axf: Error: L6221E: Execution region ER_IROM1 overlaps with Execution region RW_IRAM1.
rv_project.axf: Error: L6221E: Execution region ER_IROM1 overlaps with Execution region RW_IRAM2.
rv_project.axf: Error: L6221E: Execution region ER_IROM2 overlaps with Execution region RW_IRAM2.

It seems to me that the default startup file is not sufficient and something needs to be configured. I am new to this topic and I don't know what are these execution regions. Can you point me to a hint what options need to be set to make the project work. I guess that the memory must be properly divided into ROM and RAM but have no idea how to do it.

Parents
  • Any news about this AT91M55800A issue ?

    I'm having the same problem.

    I don't know you, but I'm working with the demo version, don't know if that's the cause of "use memory layout from target dialog" being disabled.

    I will have soon a full purchased version, meybe this checkbox will be enabled in the full version, and maybe it will work fine, but I expected to evaluate it first with the demo version.

    Thank you.

Reply
  • Any news about this AT91M55800A issue ?

    I'm having the same problem.

    I don't know you, but I'm working with the demo version, don't know if that's the cause of "use memory layout from target dialog" being disabled.

    I will have soon a full purchased version, meybe this checkbox will be enabled in the full version, and maybe it will work fine, but I expected to evaluate it first with the demo version.

    Thank you.

Children