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

LPC1788 and (K9F2G08U0B or K9F1G08U0B) and Jlink

Hello all,

I am working on programming LPC1788 with external ROM (NAND Flash) K9F2G08U0B or K9F1G08U0B (They are somehow similar). The NAND works perfectly on LPC1788 with simple reading datasheet, writing corresponding code and programming LPC1788.

There are some related questions that I have encountered during developing the application. As I am using EMWIN for GUI, I have several images that I need to use. Now the main problem is LPC1788 memory shortage. I have followed https://www.taterli.com/en/204/ with total failure. The questions are as follows.

First and foremost, is it possible to program Nand Flash via Jlink? (The NAND flash is on EMC BUS) (using related FLM (flash algorithm) and "Jlink.ini" files)

Second, if first question answer is YES, how is it possible to do such a thing?

Third, How can one put a variable in external ram, should it be written with _attribute keyword or changing c file options in Keil and set memory assignment?

Forth, What is a scatter(loading) file, and what is it for?

If there is any sample project available, it would be of more help. 

Any help would be appreciated.