LPC1788 project upgrade

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC1788 project upgrade

944件の閲覧回数
aut
Contributor I

Hi all.

I have to upgrade an electronic board with an LPC1788 microcontroller. I have to redo the PCB. The reason is due to the firmware size too big. Setting the compiler to maximum "size mode" optimization, the current firmware size is near to the maximum allowed flash size, so, currently I can't add any software update. 

The current project is composed by

  • LCD TFT 7" display
  • 64 MByte external SDRAM
  • 64 MByte external FLASH with standard SPI and QUAD SPI
  • SD card interface
  • CAN interface
  • USB interface
  • UART interface  
  • external EEPROM I2C

I know that LPC4088 is pin-to-pin compatible with LPC1788 but it has the same (512 kByte) flash memory size.

I want to choose a MCU with better performance, with a flash size at least double or triple and with an architecture that allow me to recycle most of the current software.     

Have you any suggestion?

Many thanks

 

   

0 件の賞賛
返信
2 返答(返信)

923件の閲覧回数
frank_m
Senior Contributor III

If you just want to implement one latest change or bugfix that does not fit in, you might consider a different toolchain. The Keil compiler is renowned for it's compact code size, compared with other compilers.

OTOH, if you plan several incremental updates and extensions, an upgrade of the controller is probably required.

> I know that LPC4088 is pin-to-pin compatible with LPC1788 but it has the same (512 kByte) flash memory size.

In my experience, porting a serious firmware to another MCU is far more effort than a PCB reshuffle.

0 件の賞賛
返信

934件の閲覧回数
carstengroen
Senior Contributor II

Have you considered executing out of the SDRAM ?

I do this in quite a few projects, load the application from NAND diskdrive to SDRAM, and execute it from there. You will of course have a speed reduction, but maybe you can get around that by placing code cleverly in Flash/SDRAM. Just a though to save some work (maybe it is not possible for a number of reasons) ....

0 件の賞賛
返信