IAR and Jlink flash Loader strangeness...

Started by bobtransformer in LPC200011 years ago

I am trying to use the Segger/Jlink flash loader and getting warnings (memory inconsistencies and can't find Main etc)and the code that runs is...

I am trying to use the Segger/Jlink flash loader and getting warnings (memory inconsistencies and can't find Main etc)and the code that runs is really the last code that was ISPs into the flash. If I first output an intel.hex file and use the serial ISP uploader to program the flash then go to debug it appears to work and debug OK. I've got the correct outputs enabled as specified in the ...


Write flash from external interrupt

Started by jof307 in LPC20009 years ago 1 reply

Hi, I am programming a LPC2119. I have implemented the external interrupt eint1 and flash read/write routines. I must write some data to flash...

Hi, I am programming a LPC2119. I have implemented the external interrupt eint1 and flash read/write routines. I must write some data to flash when the ext. interrupt occurs (when supplying voltage falls down external interrupt is evoked to save configuration data) External interrupt and flash procedure work very well. But when I start flash writing procedure out of the interrupt function...


USB Bootloader problems - Bootloader from Flash

Started by a6o4o in LPC200011 years ago 3 replies

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...

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...


LPC2368 _In_application programming

Started by "op.shams" in LPC200011 years ago

Dear sir; I am doing an automotive project in LPC2368.I want to use a part (one sector) of 512k FLASH as storage device like EEPROM.That...

Dear sir; I am doing an automotive project in LPC2368.I want to use a part (one sector) of 512k FLASH as storage device like EEPROM.That is ,I want to Write some data to FLASH from RAM and to read back to other part of RAM from the FLASH. I am using uVision3,hence got the code from C:\Keil\ARM\FLASH\LPC_IAP2_512 and my main program is shown below. main() { unsigned char...


Flash Versus RAM

Started by mhaines4102 in LPC200013 years ago 5 replies

On the 2138, there is 512K of flash and 32K of RAM. Can anyone tell me what goes in flash vs. RAM (i.e. globals, stacks, heap, executing ...

On the 2138, there is 512K of flash and 32K of RAM. Can anyone tell me what goes in flash vs. RAM (i.e. globals, stacks, heap, executing code.) I have lots of assumptions, but would like a clear answer. Thanks in advance.


Anybody implement NAND flash driver on LPC210x ?

Started by berrycake33 in LPC200014 years ago 14 replies

Has 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


LPC2300 in Read-Only flash mode

Started by Rafael Noronha in LPC20007 years ago 3 replies

Hi! I need to ensure that my LPC2387 will remain in Read-Only flash mode after programming. I could use the CRP2 (code read protection 2)...

Hi! I need to ensure that my LPC2387 will remain in Read-Only flash mode after programming. I could use the CRP2 (code read protection 2) if it doesn't allow erase the entire flash (ex.: lpc21isp -wipe ...). I'll need to read flash after programming, but I'll can write/erase it never. Does anyone have any idea or suggestion on how I can solve this problem? Grateful, Rafael.


LPC2103 Flash Debug Problems

Started by john857162 in LPC200011 years ago

Hi I am trying to debug a flash program for the LPC2103. I followed the tutorial by J Lynch and am using Eclipse with the Zylin plugins and...

Hi I am trying to debug a flash program for the LPC2103. I followed the tutorial by J Lynch and am using Eclipse with the Zylin plugins and OpenOCD. I can connect to the flash device using OpenOCD and can flash the micro ... my config is: #daemon configuration telnet_port 4444 gdb_port 3333 #interface interface ft2232 ft2232_device_desc "Olimex OpenOCD JTAG A" ft2232_layout "...


LPC2000 Flash utilty problem

Started by in LPC200012 years ago 7 replies

Hi.=0D I now design a test board using LPC2214.=0D When I download hex code to target, I use the LPC2000 flash utility.=0D =0D If my hex code...

Hi.=0D I now design a test board using LPC2214.=0D When I download hex code to target, I use the LPC2000 flash utility.=0D =0D If my hex code is over 130KB, flash utility annouces the following message.= =0D "Code in HEX file exceeds Flash Limitations!"=0D =0D The internal flash of LPC2214 is 256KB.=0D But my code size is about 130KB.=0D =0D Why does this problem happen to?=0D How can ...


Programming FLASH via JTAG - OpenOCD

Started by Gaspar Pollano in LPC200010 years ago 8 replies

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...

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...


Diff between EEPROM & FLASH ROM?

Started by Sara...@ansaldo-signal.co.in in LPC200011 years ago 5 replies

Hi, I am newbit to this field . Normallly,flash is a type of EEPROM.But,We can't say it is a EEPROM. As per my knowledge,the data is stored in...

Hi, I am newbit to this field . Normallly,flash is a type of EEPROM.But,We can't say it is a EEPROM. As per my knowledge,the data is stored in EEPROM in byte manner,but in Flash type it is stored as page or sector wise. I had a question,how the FLASH ROM differs from EEPROM? Thanks, S.Kumar


Philips Flash Utility for LPC2148?

Started by skyspyco in LPC200012 years ago 6 replies

I 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


LPC23x x flash speed

Started by naderus2000 in LPC200011 years ago 1 reply

Hello, in this link "http://www.standardics.nxp.com/products/lpc2000/lpc23xx/~LPC2378/# LPC2378" write that: "The LPC23xx series operates at...

Hello, in this link "http://www.standardics.nxp.com/products/lpc2000/lpc23xx/~LPC2378/# LPC2378" write that: "The LPC23xx series operates at 72MHz with up to 512KB of zero-wait state on-chip flash. " i want to why NXP write that flash is zero-wait state whereas the flash work up to 20Mhz and need MAM and set 3 clock for wait state? does flash really work up to 72 MHz with wait state? ...


IAP problems

Started by haim_ec in LPC200013 years ago

Hi everybody!!! I'm new in the group. I'm working with an LPC2194 and the uVision3 Keil Software using the GNU compiler. My boot loader...

Hi everybody!!! I'm new in the group. I'm working with an LPC2194 and the uVision3 Keil Software using the GNU compiler. My boot loader version (from the Flash Utility is 1.64) My problem is related with the IAP. I get to write in the flash, but the program a few miliseconds later do not work anymore. Before writing to the flash I di


internal flash programming using ARM Multi-ICE

Started by windam_2000 in LPC200011 years ago 7 replies

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...

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

Started by andy4onroad in LPC200011 years ago

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...


Second Stage Bootloader

Started by imacke76 in LPC200012 years ago

Hello , I implemented a second stage bootloader in the first flash sector of my Phillips LPC2294. The bootloader is able to update the flash...

Hello , I implemented a second stage bootloader in the first flash sector of my Phillips LPC2294. The bootloader is able to update the flash by CAN bus using IAP commands. The bootloader checks a signature and if this is correct, it starts the program from the second flash sector. Before starting the program in the second flash sector, interrupts are disabled using the I-bit in the cpsr re...


erase Flash using UART1?

Started by gtrfender in LPC200012 years ago 3 replies

Hello, Is there a way to erase Flash instead of using the Philips Flash Utility via UART0? The LPC2292-board I'm working on is configured...

Hello, Is there a way to erase Flash instead of using the Philips Flash Utility via UART0? The LPC2292-board I'm working on is configured with UART1 on the RS232 port and UART0 communicating with the IO board. I'm developing a Loader program, however, I downloaded some code that rendered the board unable to communicate. I'm trying to erase Flash and get the board back to a known s...


flash data storage on lpc

Started by zhli...@yahoo.com in LPC200010 years ago 12 replies

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...

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 ------------------------------------


load a new program from serial flash

Started by Lefebvre in LPC200011 years ago

hello, I work with IAR environment and LPC2106 I want do an upgrade program. 1) I compile and link my new program with code segment...

hello, I work with IAR environment and LPC2106 I want do an upgrade program. 1) I compile and link my new program with code segment = 00002000-0001dfff option. 2) I put this code in a SPI serial flash . 3) I make a little program for read the serial flash and write the LPC flash in sector 1 to 14 ( address 0x02000 to 0x1dfff) My big problems are: how pass the execution to my new pro...