Hello to all,
From now i was devloping application using LPC 2138, it has 32K RAM and 512K Flash. My programe is requiring more SRAM, as I am using 100k Image sensor, it quite more image processing is there.
#1) can I get any flashless mc from LPC track itslef [so i could have minimmum changes in code if changing mc], but with more then 100k of SRAM ??
I have checked paramatric search of keil, i was unable to locate uc more then 64k in Philis LPC track.
#2) Is it possible to interface external SRAM with current LPC 2138 ???
#3) If I plan to go with ATMEL's controller AT91R40008 [or other uc with <100K SRAM and with very less or no flash. HOW MUCH MY CODE OF CURRENT APPLICATION SUPPOSE TO AFFECT??
In my code i have devloped GPIO modules, Camera IC's Drivers, serial interface modules and IAP modules.
Please guide me, it is critical for me
Regards, mittal
Hi,
first of all I am a little biased but I will provide the best advise I can give. Changing code from LPC to Atmel, the SFRs are different, the interrupt controller is different, speed executing from internal memory is different but the ARM core is the same. So, you will have to change all initialization code and any kind of hardware drivers and redo benchmarks. Any math or control algorithms will usually not change. It is a lot less work to switch to another ARM device than switching to another architecture such as e.g. MIPS but it is also less work to switch to another LPC, e.g. the LPC2220. . So, in the end you have to make the decision.
One more issue, if you are depending on speed executing from flash, you will see a HUGE difference when using the AT91R40008. The AT91R40008 is not one of the newer Atmel Flash devices with monolithic die (meaning the memory and the micro are two separate dice) and you can only get decent speed out of the chip if you copy the code into the SRAM. It delivers only a fraction of the possible performance when executing directly from Flash.
Robert