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

Converting to RealView compiler...

In reference to a prior post I made about a problem I was having with sprintf, I contacted KEIL tech support. The answer implicated the CA compiler, and a suggested solution was to use the RealView compiler.

When I converted my non-RealView created project to a RealView project, a dialog box warned me that if I proceeded [some?] project options would be reset to their default state. Since that conversion, I've been unable to use my ULINK to download code to flash on my target (which I used to be able to do with no problem).

Via the IDE HELP files, I...

(1) Replaced my SAM7S.s file with the new SAM7.s file.

(2) I also manually configured my target memory layout (although, being an AT91SAM7S32 newbie, I'm not completely positive I did it right). I set the iRom to 0x100000/0x8000 (32K) and the iRam to 0x200000/x2000 (8K) based on the new "blinky" example for a similar AT91SAM7 project.

I checked all the flash download and debugger project options, and made them match what they were in my prior non-RealView version of the project too.

Unfortunately, I'm stuck. Does anyone have any other suggestions for fixing this problem?

Thanks,
Dave.

Parents Reply Children
  • I made some progress after verifying that I could download a sample RealView "Hello" project to flash on my target, by creating a new RV project from scratch, and adding all my project files to it. After doing that I could download it to flash again.

    I then compared all the project options between it and my prior project, and could find only 2 differences. The difference is that on the linker tab under project options there are two fields filled in and grayed out for the project created from scratch that are blank and grayed out on my original project. The two fields are labeled "R/O Base" and "R/W Base", which look like the base address of ROM and RAM on my target.

    Can anyone tell me how I should be able to get those fields filled in (with the right values) on my original project?

    Can anyone tell me if they know whether or not having those fields filled in or blank could be responsible for the IDE crashing whenever I click on the "Download to Flash Memory" button in the IDE?

    Thanks,
    Dave.