Troubleshooting C Compiler Error for Philips ARM Microcontroller

  • Thread starter Thread starter NCEE
  • Start date Start date
  • Tags Tags
    Compiler Error
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 3K views
NCEE
Messages
4
Reaction score
0
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:
Engineering news on Phys.org
Possibly stupid question -- does it erase what's already in ROM each time you compile a program and load it into the ROM?
 
NCEE said:
EDIT: Solved problem, compiler was out of date.

Cool. Glad we could help! :biggrin: