EmbeddedRelated.com
Memfault Beyond the Launch

IAP writes corrupted data to flash

Started by laur...@gmx.de in LPC200010 years ago 5 replies

Hello, I am trying to program the flash of a LPC2387 via IAP. I use the code provided in the LPC2300 user manual. When I try to write a...

Hello, I am trying to program the flash of a LPC2387 via IAP. I use the code provided in the LPC2300 user manual. When I try to write a simple test pattern (0x00, 0x11, 0x00, 0x11...), after reading again I get corrupted data like 0x00, 0x01, 0x00, 0x10. So something is written, and you can recall the pattern, but the data is corrupted. Here is my write routine: iap_comm...


LPC2388 IAP Flash Write

Started by davidxytac in LPC200014 years ago 2 replies

Hi, I want to write Flash more than 4096 bytes. I was writing in 256 blocks size. After 16's write, which is 16*256=4096 bytes, IAP commands...

Hi, I want to write Flash more than 4096 bytes. I was writing in 256 blocks size. After 16's write, which is 16*256=4096 bytes, IAP commands still writes all the blocks (over 100) without error. But data was written incorrectly. Anyone has any idea what is wrong? How to write more than 4096 bytes data easily? Thank you, David Zhou ------------------------------------


LPC214x read internal flash

Started by Dominik in LPC200012 years ago 3 replies

Hi. all. I have question for all who use IAP in own code. I download some code (sparcfun) - usb SD card bootloader. If connect to USB then mass...

Hi. all. I have question for all who use IAP in own code. I download some code (sparcfun) - usb SD card bootloader. If connect to USB then mass storage detect and if copy new firmware and unplug USB then upload file from SD card to internal flash. In LPC2148 is : sector 0 to 7 4kB size sector 8 to 21 32kB size sector 22 to 26 4kB size. Now if want use some sector like eeprom and store so...


Fwd: FISH: A free Reference Model Flash resident FORTH for the NXP LPC1114 and LPC812:

Started by "Leo...@btinternet.com [lpc2000]" in LPC200010 years ago

-------- Original Message -------- Subject: FISH: A free Reference Model Flash resident FORTH for the NXP LPC1114 and LPC812: Date: Sat, 24...

-------- Original Message -------- Subject: FISH: A free Reference Model Flash resident FORTH for the NXP LPC1114 and LPC812: Date: Sat, 24 May 2014 10:16:51 +0000 (UTC) From: Microcontroller Central To: Leon Heller http://www.mediafire.com/download/f00by91pikiw0w6/FISH_FORTH_NXP_M0_PubRel_v1.4.zip --- > From the Glossary: FISH is a 32-BIT


LPC2148: How to write number of 100 byes of data in flash sector

Started by Wool Gather in LPC200014 years ago 2 replies

Hi every one, I am new with this ARM7 uC. I have been gone through Datasheet of LPC2148 for writing data in to flash. I have couple of...

Hi every one, I am new with this ARM7 uC. I have been gone through Datasheet of LPC2148 for writing data in to flash. I have couple of question about how to write / re- write data on sectors. Example: If i would like to write 100 byte of data to sector number 8, the size of sector 8 is 32 KByte. I am getting data from UART 0 after every five minutes and storing that data in to globa...


LPC2138 Using IAR Compiler

Started by venu_95 in LPC200016 years ago 2 replies

Hi Friends, I just stated on a new development using IAR 5.11 compiler and LPC2138 micro controller. And used the code provided by...

Hi Friends, I just stated on a new development using IAR 5.11 compiler and LPC2138 micro controller. And used the code provided by IAR ARM/examples/NXP/LPC213x code to get started.=20 Could anyone please advise me on the following issues, 1. I was wondering whether can I the use the same files provided under "ARM/examples/NXP/LPC213x/config" directory Flash.icf, Flash.mac, RAM.ifc &...


LPC2378 interfacing

Started by varma varma in LPC200017 years ago 5 replies

Hi jason, Many thanks for the reply.Initially i thought no body reply. We want to interface 512Mbytes external RAM to the LPC2378.This RAM...

Hi jason, Many thanks for the reply.Initially i thought no body reply. We want to interface 512Mbytes external RAM to the LPC2378.This RAM is meant for data storage.But LPC 2378 has only 16 address lines.I have seen SAMSUNG 512MB NAND flash memory requires 16 address lines.Do you think NAND flash memory is good idea to use as external RAM.We need to store 512MB data in 3 minutes time. We...


Rowley software and LPC2144 doesn't work

Started by Gus in LPC200018 years ago 3 replies

Hello, I am testing a new design that have LPC2144 on it. I can load programs into RAM and run them but when trying to load in FLASH rowley...

Hello, I am testing a new design that have LPC2144 on it. I can load programs into RAM and run them but when trying to load in FLASH rowley tools fail. I tried a different board with LPC2148 and it worked fine. I can even load a program in RAM and this program writes to FLASH and my program works fine so IAP works fine. Has anyone used rowley tools with LPC2144? Is it possible that I


Is SSP Possible with SPI Flash Mem?

Started by sig5534 in LPC200016 years ago 3 replies

I'm trying to setup an SSP port as SPI to interface with a 4M SPI Flash memory chip, eg. M25P40. For a MEM write cycle, you must send 8 bit...

I'm trying to setup an SSP port as SPI to interface with a 4M SPI Flash memory chip, eg. M25P40. For a MEM write cycle, you must send 8 bit opcode, 24 bit adr, and 8 bit data. For a MEM read cycle, you send 8 bit opcode, 24 bit adr, and then read 8 bit data. How is this possible with the SSP/SPI setup of these LPC MCUs? They only have 1 reg setting for "data size", 4-16 bits. But th...


LPC210X_isp.exe Where Is It?

Started by dsidlauskas1 in LPC200018 years ago 1 reply

Where can I get version 2.2.3 of the Philips flash programming utility. Philip's web site can't find it??? Tnaks for your help. Dave...

Where can I get version 2.2.3 of the Philips flash programming utility. Philip's web site can't find it??? Tnaks for your help. Dave Sidlauskas


Storing variable data in FLASH

Started by Greg Esmond in LPC200017 years ago 10 replies

I'm working on a project using an LPC2129 (IAR / Olimex kit), and I need to store some variables in non-volatile memory. I've looked through the...

I'm working on a project using an LPC2129 (IAR / Olimex kit), and I need to store some variables in non-volatile memory. I've looked through the documentation, but can't find what I'm looking for. Any suggestions? Thanks, Greg


Phillips Fash utility

Started by jdauchot in LPC200016 years ago 4 replies

Hi Has anyone try using the LPC2000 Flash Utility V2.2.3 with VISTA. I cannot get it to work with LPC2294 Board and the USB Virtual...

Hi Has anyone try using the LPC2000 Flash Utility V2.2.3 with VISTA. I cannot get it to work with LPC2294 Board and the USB Virtual Port. All drivers being loaded OK. Regards Jean-Jacques ------------------------------------


Need to use Linux with LPC2468 or LPC2378

Started by sathebv in LPC200014 years ago 2 replies

Hello Friends I am planning to use the Linux on sd flash & to use it with LPC2378 . will it work ? Pls comment . Thanks...

Hello Friends I am planning to use the Linux on sd flash & to use it with LPC2378 . will it work ? Pls comment . Thanks bhal. ------------------------------------


firmware upgrade using I2C only

Started by niri...@gmail.com in LPC200015 years ago 4 replies

Hi, I would like to program the lpc2138 flash (on board) to a new firmware by using only the i2c. Can it be done? Should I use the IAR-EW...

Hi, I would like to program the lpc2138 flash (on board) to a new firmware by using only the i2c. Can it be done? Should I use the IAR-EW ?intel-extended? output? If so, can anyone please tell me if there are any specific settings I should take care of, and which address should I start programming from? Thank you. ------------------------------------


getting started lpc2294

Started by daniel_7144 in LPC200018 years ago 4 replies

i want to get started with the lpc2294 i have the lpc2000 flash utility instaled and lpc-e2294 development board can anyone tell me what...

i want to get started with the lpc2294 i have the lpc2000 flash utility instaled and lpc-e2294 development board can anyone tell me what software do i download to write code/compile programs? i currently use c/c++ for AVRs thanks, daniel


IAP usage (another one)

Started by ylavoie66 in LPC200017 years ago 7 replies

Sorry to bother everyone with this rethorical topic. I get : 0x0D as the return code from a "Copy RAM to FLASH" IAP command. This value is not...

Sorry to bother everyone with this rethorical topic. I get : 0x0D as the return code from a "Copy RAM to FLASH" IAP command. This value is not documented (highest value is 11 in NXP docs). Any expert advise on this? Regards, Yves


Re: Flash problem

Started by Gus in LPC200019 years ago 11 replies

hold the BL pin then try to connect using philips utility over the serial port. If you can't chip is useless. Gus ---...

hold the BL pin then try to connect using philips utility over the serial port. If you can't chip is useless. Gus --- In , "mobilsiten" wrote: > > Hi! > > I'm pretty new on this and I t


IAP example and usage on lpc2138

Started by mucko in LPC200018 years ago 2 replies

Hi, I want to store some data to the on chip flash of lpc2138, so, is there an example how this is done? thanks... ...

Hi, I want to store some data to the on chip flash of lpc2138, so, is there an example how this is done? thanks... __________________________________________ Yahoo! DSL ? Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com


Getting started with the LPC2468

Started by robb...@hotmail.com in LPC200015 years ago 16 replies

hi everyone, i'm very new to this kind of ARM processor, since i'm used to the AVR environment. i have a few questions and i hope that you guys...

hi everyone, i'm very new to this kind of ARM processor, since i'm used to the AVR environment. i have a few questions and i hope that you guys can help me. how do i run the code that i have flashed on the LPC2468? i use Flash magic and for C building 'Multi', which is a IDE from greenhills. Do i need startup.s code for this, and where can i find this? i have seen one in the keil examples...


Search for part -- replacement for LPC11C24

Started by skiddybird in LPC200012 years ago 14 replies

hi, everyone, Is there a kind of MCU that includes at least one on-chip CAN transceiver(like LPC11c24), plus the following features? 32-bit...

hi, everyone, Is there a kind of MCU that includes at least one on-chip CAN transceiver(like LPC11c24), plus the following features? 32-bit ARM7 architecture, 128K flash, 16k SRAM, two SPI interfaces, RTC, UART, IAP, watchdog. It would be best if it contains one ethernet port, and be able to run uclinux. ------------------------------------



Memfault Beyond the Launch