LPC213x Flash Read wirte

Started by dine...@hcl.in in LPC200012 years ago 1 reply

Hi All, I am a newbie for LPC2000 series. I want to store some parameter values in flash while my program is running from flash. Can...

Hi All, I am a newbie for LPC2000 series. I want to store some parameter values in flash while my program is running from flash. Can somebody please tell me how to do that or it will be of great help if i can get some exaqmple code for that. Thank,s in advance. Dinesh


EMC & Flash

Started by mjscottinpa in LPC20009 years ago 26 replies

I'm using an LPC2478, and the system has DSRAM and FLASH on the EMC. The SDRAM is fine, but when I try to program the flash, from code in the...

I'm using an LPC2478, and the system has DSRAM and FLASH on the EMC. The SDRAM is fine, but when I try to program the flash, from code in the flash on the LPC2478, I get nothing. Whenever I try any write based operation like reading the chip ID I get nothing. The write protect is pulled high, all the signals look right when looked at on the oscilloscope. Power is good, it is setup on the static bu...


U-Boot with internal and External Flash

Started by scott nichols in LPC20008 years ago

Hi guys, I am using an LPC2458 with internal flash, and I also have a external flash chip. I would like to use u-boot to write to the external...

Hi guys, I am using an LPC2458 with internal flash, and I also have a external flash chip. I would like to use u-boot to write to the external flash but the internal flash is not CFi-enabled. Has anyone used u-boot to have bank 1 be the internal non-CFi flash and bank 2 be the CFi flash before? Maybe it is as simple as calling the CFi driver code from my non-CFi driver when fetching the ...


Re: lpc2387 mamtim < 7 bug? flash contents appear to change?

Started by Paul Curtis in LPC20009 years ago

Hi, > > > > Marginal flash writes? > > > > > > Hmm? I don't understand what you mean. Can you elaborate, please? > > > > Your...

Hi, > > > > Marginal flash writes? > > > > > > Hmm? I don't understand what you mean. Can you elaborate, please? > > > > Your flash has not been written correctly (using the correct timings an= d > > algorithms) leading to reads thtat are marginan and that cannot be > > error-corrected, or cannot be error-corrected correctly; or your flash > has > > been over-programmed and ECC informa


Writing only to part of the Flash

Started by Ananda Regmi in LPC20009 years ago 3 replies

Greetings, In my project I am using a LPC2106. I would like to save some configuration information in flash. Configuration data could be...

Greetings, In my project I am using a LPC2106. I would like to save some configuration information in flash. Configuration data could be changed when the program is running. I could do something like this: LPC2106 has 128Kb(0x20000) of Flash. I can set aside flash address starting from 0x11000 and beyond for my configuration data. But my worry is that every time I would load a new ver...


IAR Flash Programming

Started by lp2000c in LPC200014 years ago 2 replies

After IAR released EWARM version 4.20A, one of my colleagues discovered a bug in their flash programming for the LPC chips. It ...

After IAR released EWARM version 4.20A, one of my colleagues discovered a bug in their flash programming for the LPC chips. It will not let you program the last sector of flash (the one before the bootloader). IAR has posted a fix (as well as flash programming suppor


Hi, need help on flash-programming

Started by albin_martinsson in LPC200013 years ago

Hi everybody. I have this problem with my flash-programming. I'm writing an appliction were a file is sent on CAN to the LPC2129 and...

Hi everybody. I have this problem with my flash-programming. I'm writing an appliction were a file is sent on CAN to the LPC2129 and is then programmed in flash-memory. All this is working, I can print out the received data and check that its ok. The problem is when I should read the static data from the flash-memory. I use a byte pointer to poin


Re: LPC2210 Serial programming of External Flash

Started by Brendan Murphy in LPC200011 years ago

--- In l...@yahoogroups.com, "wickedmonster2002" wrote: > > Thank you for your response, but I know that already. The only way the > ...

--- In l...@yahoogroups.com, "wickedmonster2002" wrote: > > Thank you for your response, but I know that already. The only way the > LPC2000 Flash utility can help me is to load a program into internal > RAM and use that to program the External Flash. > > I will restate that LPC2210's don't have internal Flash, so its not > quite easy to do this. That's why I am asking if some


Flash Code Protection

Started by levy_ariel in LPC200012 years ago 28 replies

Hi All, I am burning the internal flash of LPC2212 using PHILIPS LPC2000 flash utility. Is there a way to make the code protected?

Hi All, I am burning the internal flash of LPC2212 using PHILIPS LPC2000 flash utility. Is there a way to make the code protected?


Is there any size restriction for adding externel serial flash

Started by dhan...@solus.co.in in LPC20009 years ago 3 replies

Hi to all, I am working on ARMCortex-M3. I was about to add 2MB of serial flash using SSI. Actually i told to add two 2MB's serial flash but...

Hi to all, I am working on ARMCortex-M3. I was about to add 2MB of serial flash using SSI. Actually i told to add two 2MB's serial flash but LM3S6965 has only one SSI, i could go with that. my questions are: 1.when i choose to a 2MB serial flash, i wonder whats the maximum size of serial flash available in market? 2. And whats the maximum size of flash can be used for an 32-Bit controller?any ...


Flash breakpoints

Started by Fernando Mondello in LPC200010 years ago

Hello, I=B4m having a problem with the flash breakpoints. i=B4m using an lpc2106, a wiggler clone from Olimex and IAR 5.11=20 compiler. The...

Hello, I=B4m having a problem with the flash breakpoints. i=B4m using an lpc2106, a wiggler clone from Olimex and IAR 5.11=20 compiler. The problem is that i can only set one breakpoint when i execute the=20 code from flash. At work, i=B4m using an lpc2129 and i can set 2 flash=20 breakpoints with the same tools(ide + debugger). The question is:=20 lpc2106 has only one flash breakpoint o...


Disappointment by the Flash Utility 2.2.1

Started by varuzhandanielyan in LPC200014 years ago 1 reply

I was very glad to know about the new version of the flash programmer. But, unfortunately, it contains the same error, which ...

I was very glad to know about the new version of the flash programmer. But, unfortunately, it contains the same error, which was mentioned several times in this group - the Compare Flash function does not work. Varuzhan


Nor Flash Problem @ LPC2468

Started by "rick.lei" in LPC200010 years ago

My board is based on LPC2468. And I use a nor flash, intel's GE28F160, to store the data. During the debug, I found a strange thing. When I...

My board is based on LPC2468. And I use a nor flash, intel's GE28F160, to store the data. During the debug, I found a strange thing. When I start to debug the code, the data I want to write into the flash has been there! It means When I finish the debug, there are twins data in the flash. I don't know why this happens. Is there anybody that can give me some advice. Thanks! BR ...


LPC2388: External Memory: Missing Write Cycles

Started by laserplumb in LPC20009 years ago 5 replies

We've programmed LPC2388 ('B' revision) external memory interface to write a sequence of four bytes to selected command locations of external...

We've programmed LPC2388 ('B' revision) external memory interface to write a sequence of four bytes to selected command locations of external Flash, and then to read flash status back. Our scope shows only three Flash write cycles, and then a Flash read cycle. [Looks like one Flash write cycle was lost]. When we add dummy code between the second and third Flash writes, then scope shows all fou...


flash programming

Started by supriya albal in LPC20009 years ago 2 replies

Can i store data in Flash using __at attribute? Can i read flash directly using pointers? I tried these 2 things for LCD programming. But...

Can i store data in Flash using __at attribute? Can i read flash directly using pointers? I tried these 2 things for LCD programming. But program didn't work. So wanted to clear the doubts.(using LPC2148).


LPC2478 trouble with LCD controller ,run in external flash

Started by hjiongh in LPC200010 years ago 11 replies

I'm working on a device using the new LPC2478 to drive a touchscreen TFT. We're using Embedded Artists' new LPC2478-OEM board, and run code in...

I'm working on a device using the new LPC2478 to drive a touchscreen TFT. We're using Embedded Artists' new LPC2478-OEM board, and run code in external flash. The example project is run in internal flash and it runs correctly. Because my project is too large to run in internal flash, so I decide to place project to external flash ,use CS0, address from 0x80000000. Now problem is: ===...


JTAG programming

Started by ovidearistide in LPC200012 years ago 1 reply

Hi, I am trying to program my flash memory via the JTAG interface. However, I am unable to find enough documentation on the JTAG...

Hi, I am trying to program my flash memory via the JTAG interface. However, I am unable to find enough documentation on the JTAG interface. Can anyone give me a kickstart? I am trying to flash in two ways: 1) From the flash itself (Firmware update). 2) Externally (initial flash). Ad 1) This is the most important one for me. To achieve this I need to execute my firmware update code i...


Storing data in Flash memory

Started by chet...@gmail.com in LPC200011 years ago 12 replies

Hi there, My project is based on LPC2368 which has 512kB in built Flash memory. My final code size will be within 16kByte so i want to make...

Hi there, My project is based on LPC2368 which has 512kB in built Flash memory. My final code size will be within 16kByte so i want to make use of the remainder Flash memory space to store certain CAN data. Please suggest me a way for storing data in the Flash memory . Are there any special routines available to do it ?


Philips Flash Utility does not program the flash

Started by noman992003 in LPC20007 years ago 12 replies

I am using this Olimex LPC-2106 Dev. board. I can download and run the program demo2106_blink_ram from the ram. But when I try program the flash...

I am using this Olimex LPC-2106 Dev. board. I can download and run the program demo2106_blink_ram from the ram. But when I try program the flash with the test program demo2106_blink_flash after checking for blank flash, it would show the blue progress line but would not blink the LED. I followed the steps below: 1.I powered up the board connected the rs232 cable to computer and the board, the sa...


Trouble writing to flash on LPC2468

Started by benknnnn in LPC20008 years ago 8 replies

Heya, We've been having issues writing to the flash of an LPC2468 using JTAG, the issue being is that we simply can't write when using...

Heya, We've been having issues writing to the flash of an LPC2468 using JTAG, the issue being is that we simply can't write when using JTAG. By using the default boot loader, we are able to download our .hex file to the device using Flash Magic, and the program will run fine. Interestingly, we can also attach the debugger (CrossStudio) to the device and follow the execution after using Flash...