Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

C Compiler Error

  1. Jan 2, 2007 #1
    I have been using ICC7 for ARM to create a project for a Philips ARM microcontroller. I've never had any problems with the compiler until today. I made some slight adjustments to the code and when I attempted to compile I got an error that says "Unable to fit C$$code section into ROM memory region". So I undid my changes and attempted again with the same results. I then tried with some code that I was working perfectly and hadnt been touched, same problem. I tried restarting the computer but that had no effect.
    Any ideas?

    EDIT: Solved problem, compiler was out of date.
    Last edited: Jan 2, 2007
  2. jcsd
  3. Jan 2, 2007 #2


    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    Possibly stupid question -- does it erase what's already in ROM each time you compile a program and load it into the ROM?
  4. Jan 2, 2007 #3


    User Avatar

    Staff: Mentor

    Cool. Glad we could help! :biggrin:
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook