Hi
We are using KEIL uVision3 V3.53 for our application development.
The nxp controller we use is P89LPC9408, which has a CODE size of only 8K.
Since our application got over 8K - Program Size: Data = 243.5 xdata=194 code=8889
So I chose the PEEPHOLE OPTIMIZATION in code optimization option in uVision3. then the Program Size: Data = 193.5 xdata=207 code=7884
After optimization the application can be run using EPM900 emulator. But it is not running after flashing to the actual hardware for that product .
Then I tried flashing after removing some modules to reduce code size below 8K and I chose optimization level 0. This time the application can run in flashed units. This time the program size is Program Size: data=182.5 xdata=209 code=7617 without optimization.
Please let us know, what could be reasons for the Optimized Code not running in flashed units.>
Thanks