Forums Search for: FLASH
LPC2478 - Store variables directly to FLASH memory
inHi 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...
LPC 2148 - Inconsistency in reading flash
inHi - 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...
LPC2478 - External NAND Flash
inHi 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 ------------------------------------
Issue with LPC2478 and EXternal NOR flash
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)
inHi 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...
EMC & Flash
inI'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...
Flash Code Protection
inHi 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?
LPC2478 trouble with LCD controller ,run in external flash
inI'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: ===...
Storing data in Flash memory
inHi 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
inI 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
inHeya, 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...
USB Bootloader problems - Bootloader from Flash
inHi A buddy of mine is using an LPC2148. He is using USB and is trying since days to implement an USB bootloader but with no success. His...
Hi A buddy of mine is using an LPC2148. He is using USB and is trying since days to implement an USB bootloader but with no success. His bootloader is on the Flash, NOT the RAM. He is using the IAP function to start the bootloader. This seems to work so far. He can delete sectors BUT as soon as he wants to write to the Flash the Flash is unlocked and he can't write to it. Is the reaso...
Anybody implement NAND flash driver on LPC210x ?
inHas anybody implemented NAND flash driver on LPC210x ? Now we are considering using LPC2106 in our project which needs a...
Has anybody implemented NAND flash driver on LPC210x ? Now we are considering using LPC2106 in our project which needs a NAND flash to storage data. Two UARTs, I2C and SPI are all used for other functions. If p0.23 to p0.31 is used for NAND flash data pins, it wi
Programming FLASH via JTAG - OpenOCD
inHi everybody! Im trying to load my code into the FLASH memory of an LPC2148 via JTAG using OpenOCD. Im using Yagarto (Eclipse + OpenOCD) to...
Hi everybody! Im trying to load my code into the FLASH memory of an LPC2148 via JTAG using OpenOCD. Im using Yagarto (Eclipse + OpenOCD) to do the work. There is any way to configure the OpenOCD to erase *only* the sectors of FLASH that would be filled with the code? Doing some research I found the command "flash auto_erase" on th OpenOCD pdf, but dont seems to work for me... Ac...
Philips Flash Utility for LPC2148?
inI recently switched development boards from the Olimex LPC2138 to the LPC2148. Now it seems that the standard Philips Flash Utility (ver....
I recently switched development boards from the Olimex LPC2138 to the LPC2148. Now it seems that the standard Philips Flash Utility (ver. 2.2.0) that I was using for the LPC2138 does not include the LPC2148 in its supported devices list. What are you using to program the flash on the LPC2148? Is Lpc21isp the only free Win tool for flash programming on the LPC2148? Thanks, Paul
internal flash programming using ARM Multi-ICE
inHi All, I'm using an ARM Multi-ICE on a MCB2130 board (LPC2138) and debugging via gdb insight. So far, I've only been able to use the flash...
Hi All, I'm using an ARM Multi-ICE on a MCB2130 board (LPC2138) and debugging via gdb insight. So far, I've only been able to use the flash utility via ISP to flash the chip. The eventual product will only have a jtag connector, so I was wondering how I can flash the chip via jtag. I tried searching this list, but didn't find any posts that answered my query. Does anyone have any experi...
OpenOCD + GDB + Flash Programming LPC2368 Problem
I'm having problems with flash programming and an LPC2368 using GDB. Presently my major problem is that when I pass the command for flash...
I'm having problems with flash programming and an LPC2368 using GDB. Presently my major problem is that when I pass the command for flash programming through GDB to the OpenOCD server I get an error from GDB at the end of the flash programming process: (gdb) monitor flash write 0 test.bin 0 Ignoring packet error, continuing... Reply contains invalid hex digit 116 (gdb) This error i...
flash data storage on lpc
inHi, Has anyone used the flash on a LPC2468 as application data storage? I have a file system and wish to store files on the unused part of the...
Hi, Has anyone used the flash on a LPC2468 as application data storage? I have a file system and wish to store files on the unused part of the flash. What are the ways of gaining access? Thanks for your help. Regards, Zhao ------------------------------------
super fast data dump to SD memory card possible?
inHi lpc2000 group! For a data logger I want to store incoming data on a SD-flash memory card as quickly as possible. I am using LPC2103...
Hi lpc2000 group! For a data logger I want to store incoming data on a SD-flash memory card as quickly as possible. I am using LPC2103 runnung at 4x16MHz, and I have connected a 1GByte SD-Flash to the SSP (SPI1) port; no FAT- filesystem (for speed reasons), just pure "data dump" onto the flash. I have never used SPI nor SD Flash cards before, so this might be impossible or stupid, but...
External Flash as EEPROM
inHello, I am using an LPC2210 on Phytec Board, and (I assume) you all know that the LPC2210 does not have an internal flash, nor does it...
Hello, I am using an LPC2210 on Phytec Board, and (I assume) you all know that the LPC2210 does not have an internal flash, nor does it have IAP. So, programming is purely done through external flash and external ram. (it does have 16 kb internal ram, but i dont use it). My question is, is it possible to use some memory locations or sectors of external flash as eeprom, or a place to stor...