uVision3 and Flash manage

Started by Peter Kic in LPC20009 years ago

Hi! I have lpc2378 with 512k flash. So I would like to use part of flash for data storage, part for my own bootloader - upgrading sistem....

Hi! I have lpc2378 with 512k flash. So I would like to use part of flash for data storage, part for my own bootloader - upgrading sistem. I looked, how to manage with flash. In "ULINK2 User's Guide" chapter "Adding New Algorithms" is written how to do it. "LPC2000 IAP2 512kb FLASH" file describe structure of FLASH. But there is not involve last sector (address: 0x0007 D000 - 0x0007 DFFF...


Lpc2292 external flash

Started by in LPC200012 years ago 1 reply

Hi, I'd build my own board with 4MB ext. SRAM and 4MB flash. The flash is at49bv320c. I've try the olimex test program, SRAM test is...

Hi, I'd build my own board with 4MB ext. SRAM and 4MB flash. The flash is at49bv320c. I've try the olimex test program, SRAM test is fine,(after some waitstate tuning:), but flash test is fail. I know that olimex using INTEL flash with other ID, but I can't read the ID either. It's a 16bit flash, so I connect OE,WE,CS0, lpc-A1 to at49-A0 and so on... I think it must b


LPC2478 - Store variables directly to FLASH memory

Started by Tomislav in LPC20008 years ago 1 reply

Hi everyone, I'm using Gcc compiler 4.1.2 found inside WinARM. I have 64 MB SDRAM and 500k FLASH on my board. I'm using Flash Magic for...

Hi everyone, I'm using Gcc compiler 4.1.2 found inside WinARM. I have 64 MB SDRAM and 500k FLASH on my board. I'm using Flash Magic for programming. I'm looking for a way to store very large constant array directly to FLASH. This array should be preloaded to FLASH, before I start my program. The size of array will be about 200-250k. Unfortunately, FLASH Magic doesn't have Send File comman...


LPC2290 and External FLASH Memory Throughput

Started by kaiandxiulpc2000 in LPC200012 years ago 2 replies

I know the internal FLASH on the family is capable of 60MHz peak operation. I have a lot of newbie type questions on using external...

I know the internal FLASH on the family is capable of 60MHz peak operation. I have a lot of newbie type questions on using external FLASH with the LPC229x parts. What kind of speed can I realistically achieve with the FLASH-less LPC2290? What type of specific FLASH device can that be done with (examples of Spansion or Intel St


Re: FLASH programing of LPC 2378

Started by jdauchot in LPC200010 years ago

Hi Have you tried the Phillips/NXP LPC2000 Flash Utility V2.2.3 its free to download. Just search in google of a site near you. As far as...

Hi Have you tried the Phillips/NXP LPC2000 Flash Utility V2.2.3 its free to download. Just search in google of a site near you. As far as write data in flash while code is running in the flash is more tricky. One way of doing this is to run the code in ram and just refer to the manual to find out how to write data to the flash Regards Jean-Jacques --- In l...@yahoogroups.com, "...


LPC 2148 - Inconsistency in reading flash

Started by Kiran K in LPC20006 years ago 4 replies

Hi - We use LPC2148 in our product. We are using flash to store image data to be shown on the screen. In some of the boards (around 5% of...

Hi - We use LPC2148 in our product. We are using flash to store image data to be shown on the screen. In some of the boards (around 5% of boards), we are facing issue while reading the flash data. The data read is not the data saved onto the flash. 1. The flash location is read using the command - bitMapData = (*((unsigned long *)address)); //where address is the flash memory locat...


LPC2888 DFU-Flash Question

Started by thonguyen02 in LPC20009 years ago 3 replies

I use Keil and got the Keil's USB mass storage running. I flash the code through Ulink Jtag and now I want to update the software through the...

I use Keil and got the Keil's USB mass storage running. I flash the code through Ulink Jtag and now I want to update the software through the usb. NXP has DFU-Flash tool to download the software to flash through usb. So does anyone know how I can do like that without using DFU-Flash? I know that I should erase the flash marker 0xAA55AA55 at 0x104FF800 to make the device work as nxp usb...


Flash program problem, help?

Started by volunteer_sysu in LPC200011 years ago

I am trying to program a Flash device, SST39VF1601, via the UART. The flash programmer is OK, and I can also write the first few instructions...

I am trying to program a Flash device, SST39VF1601, via the UART. The flash programmer is OK, and I can also write the first few instructions into the device. But just after that, it stopped working. I have tried many times, however, the results were the same. The following were the several lines in HEX form that could be written into the flash: :2000000018F09FE518F09FE518F09FE518F09FE...


MAM with 2 Flash banks vs. MAM with 1 Flash bank

Started by arrek_x in LPC200011 years ago 3 replies

In LPC21xx devices below series LPC213x Flash memory is split into two Flash banks and code is being fetched alternately form those banks. OK,...

In LPC21xx devices below series LPC213x Flash memory is split into two Flash banks and code is being fetched alternately form those banks. OK, fine - it looks simple :). But what about the way of MAM working in LPC213x, where only one Flash bank is used? I suspect, that code must be fetched from Flash in similar manner, because it's core rule of accerelating program execution. But how is...


Re: Programming the external flash in a ROMless microcontroller (NXP

Started by Stephen Pelc in LPC200010 years ago

From: Deven Topiwala > LH79520 is a ROMless device (at least the one from NXP does not have > in-built flash, the sharp device has some...

From: Deven Topiwala > LH79520 is a ROMless device (at least the one from NXP does not have > in-built flash, the sharp device has some in-built flash). > How do I write the program in the flash? Because most Flash is soldered to the board, the usual way is to use a JTAG device to connect to the CPU and to waggle the address, data and control lines. This is usually


external flash erase problem

Started by levy_ariel in LPC200011 years ago 1 reply

Hi all I am using the LPC2212 CPU with external flash. I have two programs, boot and main application. At first I put both of them in the...

Hi all I am using the LPC2212 CPU with external flash. I have two programs, boot and main application. At first I put both of them in the external flash and all works well. Now I have put the boot program in the internal flash, and it runs well. However, now when I try to erase several external flash block from the boot application the proces fails. I can see that the external flash CS i...


LPC22xx Flash Copy Protection

Started by mirax_ua in LPC200012 years ago 5 replies

Hello ppl, Those processors don't have any flash copy protection, do they? As long as there is some executable code in external memory and...

Hello ppl, Those processors don't have any flash copy protection, do they? As long as there is some executable code in external memory and that is what external flash is meant for. You can hook up some of you code into external flash that will read the contents of internal flash and give it away via say serial interface. What protection are we talking


LPC2478 - External NAND Flash

Started by pakka19692000 in LPC20009 years ago 1 reply

Hi My project uses an external NAND flash for image storage. The flash is working but I now need to contend with bad blocks, error correction...

Hi My project uses an external NAND flash for image storage. The flash is working but I now need to contend with bad blocks, error correction and wear levelling. Has anyone written their own 'simple flash file system'? or has any tips, suggestions or can point me in the right direction.... thanks ------------------------------------


IAP questions (LPC2101) - conserving flash

Started by shergtu in LPC200012 years ago 6 replies

Hi, I searched before posting & didn't find what I was looking for, hopefully this isn't old territory. I will be using the 2101 in a new...

Hi, I searched before posting & didn't find what I was looking for, hopefully this isn't old territory. I will be using the 2101 in a new design. 2k SRAM, 8k flash (2x4k blocks) It seems as though the minimum amount that can be programmed at once (IAP) is 256 bytes, and that the RAM-->flash copy command is what does it. I need to use a portion of the flash as a non-volatile m


help --- debug in external flash ,using LPC2470

Started by hjiongh in LPC20009 years ago

Hi, All Now i met a big issue of debug in external flash in using LPC2470. I linked nor flash to CS1. Because LPC2470 start from CS1. Now I...

Hi, All Now i met a big issue of debug in external flash in using LPC2470. I linked nor flash to CS1. Because LPC2470 start from CS1. Now I wanted to debug in external flash . But I can not load code to CS1. Although I had changed CS0 to link nor flash (test whether CS0 was ok ,because my Development Board using LPC2478 + CS0-nor flash , and it tested successfully). Hope anyone d...


LPC2294 - Intneral flash security

Started by Joseph Goldburg in LPC200012 years ago

Hi All, Can the internal flash be locked and protected from commands/instructions run from external flash or extneral SRAM? ...

Hi All, Can the internal flash be locked and protected from commands/instructions run from external flash or extneral SRAM? Regards Joseph


Issue with LPC2478 and EXternal NOR flash

Started by mythili chandrasekaran in LPC20007 years ago

Hi, ? I am working on the setting up the external flash for LPC2478. Currently I am facing the issue with executing the code from External NOR...

Hi, ? I am working on the setting up the external flash for LPC2478. Currently I am facing the issue with executing the code from External NOR flash. ? The size of the internal flash in LPC2478 is 512K. Since the application requires more memory than 512K, it has been decided to use the external NOR flash. I have set the MEMMAP to 3 in the cstartup.s file so that the bootloader remaps the ve...


Programming the external flash in a ROMless microcontroller (NXP LH79520)

Started by Deven Topiwala in LPC200010 years ago 5 replies

Hi All, I am planning to use LH79520 in a project. I have a basic Q. LH79520 is a ROMless device (at least the one from NXP does not have...

Hi All, I am planning to use LH79520 in a project. I have a basic Q. LH79520 is a ROMless device (at least the one from NXP does not have in-built flash, the sharp device has some in-built flash). How do I write the program in the flash? One way of doing this is executing the code from SRAM and writing in the flash from there. Is there any tool available that supports different t...


execute from external flash

Started by Gus in LPC200010 years ago 3 replies

I have compared executing code from external 16-bit flash to executing from internal flash to see that using internal flash is 10 times...

I have compared executing code from external 16-bit flash to executing from internal flash to see that using internal flash is 10 times faster! Is this normal or I have something setup wrong? I didn't try it with THUMB mode G


Flash Write Rate, Section Statement

Started by rf_equip in LPC20009 years ago

Hello All, I have two questions: 1 - What is the LPC21xx Flash programming speed? I am thinking about using the a portion of the interal...

Hello All, I have two questions: 1 - What is the LPC21xx Flash programming speed? I am thinking about using the a portion of the interal flash for "mode storage" I am aware that I can wear out the part if I end up writing to the same location but I am going to use a rolling memory scheme. 2 - I am writing a In Application Program Loader. I can write to flash now. Next thing ...