cmucam3-hardware (#1) - Error: region RAM overflowed (#222) - Message List

Error: region RAM overflowed

Hi, can someone help me on this. I've using CMUcam3 without much problem until I tried to code a shape recognition program. When I compiled, the .hex file cannot not be generated. The error message is:

c:/program files/codesourcery/sourcery g++ lite/bin/../lib/gcc/arm-none-eabi/4.2 .1/../../../../arm-none-eabi/bin/ld.exe: simple-track-color_lpc2106-cmucam3 sect ion .bss will not fit in region RAM c:/program files/codesourcery/sourcery g++ lite/bin/../lib/gcc/arm-none-eabi/4.2 .1/../../../../arm-none-eabi/bin/ld.exe: region RAM overflowed by 309560 bytes collect2: ld returned 1 exit status make: *** [simple-track-color_lpc2106-cmucam3] Error 1

Can someone help on this? Is it that my program is too big? Thanks

  • Message #550

    Yup, your program is using too much RAM. 309560 bytes too much actually. The processor itself only has about 60000 bytes of RAM to start with.