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

Configure project for code in external ROM - MCb2400 (using LPC2478)

Hi

Using LPC2478 micro on a MCB2400 eval board with Keil-ARM toolchain. I'm trying to place constant data into external ROM rather than the default on chip ROM.

I can right click a C source file and choose to place it in ROM1 location in the source options under memory assignment->Code/Const-> Select ROM1.

I have also setup the external ROM1 location and size in the project properties, left the 'default' checkbox off and for the on chip IROM1 both 'default' and 'startup' are selected.

I have then added the flash algorithm to program the external flash.

When I download the project to the target I see it attempt to program both on chip and external ROM locations but nothing actually gets programmed to the external NOR Flash (ROM1).

I have left the CS0 setup as per the blinky example in the LPC2400.s file. Am I missing anything else to move code from on chip ROM to external ROM?

Any help appreciated, and thanks in advance.

Regards
Simon

0