Hello, I am developing an application with a bootloader area between 0x0-0x2fff and the application starts at 0x3000. When I check the option "Use Memory Layout from Target Dialog" on "Options for Target/Linker" the linker creates a correct applicatin image starting at 0x3000. As I have a third RAM area I had to use a scatter file. With this option the linker does not consider the bootloader area and place the code starting at 0x0. I have also used the Misc Controls as "--ro-base=0x00003000" and R/O Base: as 0x3000 but it did not work.
Which setting is missing? Thanks,
Andre
I have noticed that R1 = 0x40010010 is higher than the maxim valid address for the 64K area : 0x40000000. This maybe the cause of the data abort.
Hello all again! I have found the problem.
The scatter file was wrong. Line RW_IRAM1 0x40000040 0x10000 was replaced with RW_IRAM1 0x40000040 0xFFC0
Cheers, Andre