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

Maximum Code size for LCP2294

Hi,

I am using the Phytec phyCORE LCP2294 board and I want to know what the maximum allowed code size for this board is.
I have a complex algorithm that runs fine but when I add some more code to it, it seems as if the application halts after flashing it to the board.
I am quite sure that the application itself is ok since it runs in several other environments without any problems.

How can I check what amount of memory is used by code, data,...

My environment:
Phytec phyCORE LPC2294 (PL1231.1)
uVision3 V3.5

Thanks in advance,

Christian

  • if the code is built and flashed correctly, you are probably not exceeding the maximum code size (unless you are cheating with a scatter file, but even that will generate errors during flashing - or maybe not? I'm not sure).
    use the application 'fromelf' to generate a binary file of your ".axf" file. This file represents the exact amount of space required for your code, but you can conclude this from the .map file as well (see listing options).
    Also, the processor's data sheet will tell you how much ROM it has available for user applications (after deducting the internal bootloader etc.).

  • For informarion about Phytec products, you obviously need to contact Phytec!