Forums Search for: FLASH
LPC2129 - reading/writing char array to flash
inI have appnote 11008 open right now and this seems like overkill for what I want (and I'm confused as to how I would extend for char arrays). I...
I have appnote 11008 open right now and this seems like overkill for what I want (and I'm confused as to how I would extend for char arrays). I have a board that reads a configuration file from an SD memory card. Sometimes, that card is unreadable and a value is needed regardless. The boards are tuned for different devices, so a single default will not work. Since I have tons of flash memory...
LPC2000 Flash Utility
inDear Srs, We are experimenting the ISP downloading using the LPC2142 using the Philips Flash Utility 2.2.1 on our board. When we hit...
Dear Srs, We are experimenting the ISP downloading using the LPC2142 using the Philips Flash Utility 2.2.1 on our board. When we hit the "Read Device" bottom of the utility we got the following message "TYPE NOT SUPPORTED" even receiving the ID number and the Version Loader 2.1.of the micro controller. It seens to me that it is
Working around LPC flash updates and endurance
inHello, I am using a LPC2132 controller for a project. I need to update last event logs to non-volatile memory at least 300 times a day. To...
Hello, I am using a LPC2132 controller for a project. I need to update last event logs to non-volatile memory at least 300 times a day. To reduce cost, I am planning to use half of the the onchip program flash memory. However, I am concerned about longevity of this module, as 10K erase cycles gives us only 333 days of reliable memory. Actually, the data to be logged is not more than 256 b...
IAP Flash Erase/Write Sector 0
inHi, IAP commands for erasing and writting Internal Flash failed. I found the first 62 ( about ) of the sector 0 can not be erased, which leads...
Hi, IAP commands for erasing and writting Internal Flash failed. I found the first 62 ( about ) of the sector 0 can not be erased, which leads to the failure of writting. Does anyone know why the first 62 bytes are protected. And how to disable the protection for erasing and writting? Thank you, david ------------------------------------
IAP data mismatch LPC2468
inHi everyone, I'm trying to use IAP to store a data buffer in flash (i.e. at sector 14 of my LPC2468). I successfully did it using IAR IDE...
Hi everyone, I'm trying to use IAP to store a data buffer in flash (i.e. at sector 14 of my LPC2468). I successfully did it using IAR IDE v. 5.20 and locating a simple code in RAM, but when I moved to my real application, which runs from flash, I encountered the following problem: iap_entry return CMD_SUCCESS (== 0) but data written in memory are inconsistent. for istance if I try to...
USB to RS232 adapter for Flash ISP Ultility downloads?
inHello, Downloading to boards such as Keil's MCB2103 via the Philips flash utility requires an RS232 port. However, most new laptops...
Hello, Downloading to boards such as Keil's MCB2103 via the Philips flash utility requires an RS232 port. However, most new laptops don't have one these days. In a post a while ago I read that one of the forum members (Varuzhan) did this but it wasn't with the newer LPC2103. So, is it likely that any USB-RS232 adapter could work or do I have t
IAR, JLINK and PLL problems
inHi We are using the IAR workbench and Jlink to develop code for the LPC2129. I must use the PLL and debug from FLASH as my timing...
Hi We are using the IAR workbench and Jlink to develop code for the LPC2129. I must use the PLL and debug from FLASH as my timing is criticle but the use of the PLL is preventing the Jlink connecting. The only way around this is to use the Philips Flash utility to erase the
Using LPC2470 with no Flash at all...
inI'm looking at a possible application using LPC2470 (flashless 2478) as an intelligent QVGA LCD controller - it looks like working out similar in...
I'm looking at a possible application using LPC2470 (flashless 2478) as an intelligent QVGA LCD controller - it looks like working out similar in cost to standalone LCD controller ICs & you get the CPU thrown in for free! As far as I can see, it should be possible to use it with no internal or external flash, by loading code into internal SRAM on every startup via ISP from a host system. (r...
Second Stage bootloader
inHello everyone, In the past few days I've been doing some research on bootloaders for the LPC. I think that for my application the most...
Hello everyone, In the past few days I've been doing some research on bootloaders for the LPC. I think that for my application the most effective approach would be to use a "second-stage" bootloader that can be executed from the main program. My basic idea is this: The main bootloader code would reside in flash near the top end. In this way the code in the lower region of flash can be...
Bootloader problems on LPC175x
inI am trying to create a bootloader on an LPC1754 using the IAP commands. I have placed my bootloader code at 0x00000400 with the main code...
I am trying to create a bootloader on an LPC1754 using the IAP commands. I have placed my bootloader code at 0x00000400 with the main code starting at 0x00002000. The bootloader cannot change any flash below 0x00002000. I can get the flash to program and verify correctly, however when the device is restarted it doesn't run. I think this may be something to do with the valid code signature i...
[LPC2378] Is it possible to lose the bootloader?
inHowdy, I've been parachuted into a project using an LPC2378 and I have to figure out why the micro will not program via the serial port or...
Howdy, I've been parachuted into a project using an LPC2378 and I have to figure out why the micro will not program via the serial port or via the JTAG port. I've been studying the user manual and the flash magic docs so have a running start. I have been able to prove that my setup works using flash magic and a Keil MCB2300 dev board. I know that DTR and RTS are controlling reset and...
LPC2148 writing 256 byte Flash example program
inHi all Can any one have any example program to write 256 byte of data in to flash memory of lpc2148 ? Thanks in advance. Wool
Hi all Can any one have any example program to write 256 byte of data in to flash memory of lpc2148 ? Thanks in advance. Wool
FLASH programing of LPC 2378
inHi All, I am very new to ARM/NXP23xx boards and learning. I want to have some information on how to program its Flash. If this type of question...
Hi All, I am very new to ARM/NXP23xx boards and learning. I want to have some information on how to program its Flash. If this type of question has been previously discussed, then please send the reference. I am using NXPs LPC2378 Kickstart board (of IAR) and IAR Workbench to compile and download an application. This works fine, but I would like to compile and download an application witho...
lpc2103 & rowley crossworks 1.6
inHello, I am trying to debug some pice of code using Rowley crossworks and 2103.Olimex Wiggler is used.flash Debug built configuration is...
Hello, I am trying to debug some pice of code using Rowley crossworks and 2103.Olimex Wiggler is used.flash Debug built configuration is used.But always getting messages below.Flash cannot be programmed.I have Keil Demo board with LPC2138.It is working proper with same configuration. Does someone have comments about it? Regards Bilge Executing reset script FLASHReset() Loading targe...
Using a USB serial adapter with Philips Flash Utility
inI just got a new computer up and running due to a crash. My new one doesn't have a serial port. Even though I use JTAG to program my LPC2148,...
I just got a new computer up and running due to a crash. My new one doesn't have a serial port. Even though I use JTAG to program my LPC2148, I decided to try and get the Flash Utility working. It connects and starts uploading, but never finishes. It always times out and I get 'Cannot communicate with test board'. I restart and it will start uploading, but quit at different times. Can y...
Saving Memory in LPC2103
inHello Group, I have been developing a program on ARM7 LPC2103 for a year. The project has grown steadily. I am driving UART1, LCD, and some...
Hello Group, I have been developing a program on ARM7 LPC2103 for a year. The project has grown steadily. I am driving UART1, LCD, and some GPIO ports. Recently I started to add code to save into flash and discovered that my program was already 31KB and almost at the limit of the CPU's flash. I am using Keil but in the last few days I downloaded CrossWorks eval and rebuilt the project but ...
RAM function calling FLASH function WARNING, Crossworks
inHi forum, is there a way to obtain a warning when a function marked to reside in RAM (.fast_run) calls a non-marked function residing in FLASH...
Hi forum, is there a way to obtain a warning when a function marked to reside in RAM (.fast_run) calls a non-marked function residing in FLASH (which the compiler does not inline)? Thanks, Jan ------------------------------------
Re: Need help setting up the watchdog timer to generate an interrupt
in> Watchdog testing is tricky. I've found that if I erase the 2138 and set a break in the MM_WATCHDOG_ISR() it works ONCE. Then, I must erase...
> Watchdog testing is tricky. I've found that if I erase the 2138 and set a break in the MM_WATCHDOG_ISR() it works ONCE. Then, I must erase or re-flash the part with watchdog dis. before trying again, otherwise it will always hit the watchdog ISR as soon as the watchdog is enabled. Also, test in flash only, not in ram. Do NOT load test code with watchdog time-out too quick or
Flash write errors
inHi. Are Flash write errors normal, i.e. a known issue? When programming my LPC2138 using the isp21lpc utility, every now and then I get a...
Hi. Are Flash write errors normal, i.e. a known issue? When programming my LPC2138 using the isp21lpc utility, every now and then I get a write error; a second attempt always succeed. This happens roughly once every 100 programming attempts. I thought it could have been a problem with my serial cable or some other hardware problem, but now I added an IAP function to my test program and
Flash Magic and USB serial port
inHi For all interested, I have purcahsed a Card Bus Serial card to work with flash Magic (Startech 2 Port 16950 Serial RS-232 CardBus...
Hi For all interested, I have purcahsed a Card Bus Serial card to work with flash Magic (Startech 2 Port 16950 Serial RS-232 CardBus Adapter) and it works like magic on my laptop. Regards Jean-Jacques ------------------------------------