Troubleshooting C Compiler Error for Philips ARM Microcontroller

  • Thread starter Thread starter NCEE
  • Start date Start date
  • Tags Tags
    Compiler Error
Click For Summary
SUMMARY

The forum discussion centers on troubleshooting a C compiler error encountered while using ICC7 for ARM with a Philips ARM microcontroller. The specific error message was "Unable to fit C$$code section into ROM memory region," which persisted even after reverting code changes. The issue was resolved by updating the outdated compiler, confirming that the compiler does erase existing ROM content during each new program load.

PREREQUISITES
  • Familiarity with ICC7 for ARM compiler
  • Understanding of Philips ARM microcontroller architecture
  • Knowledge of ROM memory management
  • Basic troubleshooting skills for compiler errors
NEXT STEPS
  • Research how to update ICC7 for ARM compiler effectively
  • Learn about ROM memory management in embedded systems
  • Explore common compiler error messages and their resolutions
  • Investigate best practices for coding in C for ARM microcontrollers
USEFUL FOR

Embedded systems developers, firmware engineers, and anyone working with Philips ARM microcontrollers who need to troubleshoot compiler issues.

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:
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
6
Views
3K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
14
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 70 ·
3
Replies
70
Views
5K