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.
I have no idea where I could enter this data
that belong in the "Target" tab, RAM section.
I tried there - no effect. As I said, the option in the linker to use the layout in the Target tab does not work (it is gray) and I cannot make it to work. It seems that whatever I write in the Target tab, it has no effect on the compilation? The documentation mentions that the Evaluation version does not work with sophisticated scatter files? Could be this a problem? I am not using a scatter file, the option for it in the Linker tab is disabled, too. I even don't know what a scatter file is. Anyway... I set the R/W base from the Linker tab to be 0x00300000 and got this as a result:
ARM_test4.axf: error: L6047U: The size of this image (67972 bytes) exceeds the maximum allowed for this version of the linker
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.
This button is definitely enabled with the full MDK version, it is disabled in the eval version.
Does this mean, that the Evaluation version of MDK cannot build projects for AT91M55800? If this is the case, what alternative would you recommend me to try?