LPC3180 - Programming to Flash?

Started by Sam Lee in LPC200011 years ago

Hi, I seem unable to program to flash for the Phytec LPC3180. I can program to RAM well but when i program to flash by selecting the...

Hi, I seem unable to program to flash for the Phytec LPC3180. I can program to RAM well but when i program to flash by selecting the programming option on the IAR workbench as "LPC3180 Ext NAND Flash" , i get the following error. "Write Memory Error @ address 0x31080008 , word access : Core Error" I tried playing around with the Setup macro file (.mac) in the debugger in Project > Optio


LPC2148 Flash Write Problem

Started by malzki7480 in LPC20009 years ago 9 replies

Hi! I have a problem writing to the on chip Flash ROM of LPC2148 in my project. I find it hard to determine the cause of the problem because my...

Hi! I have a problem writing to the on chip Flash ROM of LPC2148 in my project. I find it hard to determine the cause of the problem because my Flash write routines are working in the boot loader code as well as in the application code when i send the flash write command from PC program via USB. Let me explain the 3 situations where I have successful (1 and 2) and unsuccessful (3) writing to flas...


LPC23688 programming to flash

Started by Sam Lee in LPC200011 years ago 1 reply

i get the following errors when i am trying to program to flash on the lpc2368 using the IAR embedded workbench i have set the correct device,...

i get the following errors when i am trying to program to flash on the lpc2368 using the IAR embedded workbench i have set the correct device, the flash.xcl file, the flash.mac file... am i doing something wrong?? THanks a million Sam Thu Apr 19 13:54:41 2007: Loaded macro file: C:\Program Files\IAR Systems\Embedded Workbench 4.0 Kickstart\ARM\config\flashloader\NXP\ FlashNXPLPC512k.ma...


USB Bootloader for internal and external flash memory. LPC2478

Started by eremitic193 in LPC20009 years ago 4 replies

Hello I have implimented a USB Bootloader based on NXP AN10764. I am attempting to expand this bootloader to flash an application into internal...

Hello I have implimented a USB Bootloader based on NXP AN10764. I am attempting to expand this bootloader to flash an application into internal and external flash memory. I am using an LPC2478 cpu and Spansion S29GL128N Flash memory. I have an application for my device which does use the external and internal flash. (But does not use the Bootloader) So I have verified that my hardware functions...


Problems with IAR flash loader

Started by Hard...@allenvanguard.com in LPC20008 years ago 3 replies

Hi, I'm having some issues when I try to use the flash loader in the IAR IDE for device: LPC2138. I get an error saying "Writing outside flash...

Hi, I'm having some issues when I try to use the flash loader in the IAR IDE for device: LPC2138. I get an error saying "Writing outside flash memory at address 0x40000080". In the Projects> Options> Debugger, download tab I selected "Use flash loader(s)". At first I let it choose the default file, however I get the above error. Next I tried using the "Override default .board file" and selected t


LPC2214 and 16 bit flash

Started by smoutpatrick in LPC200012 years ago 8 replies

Hi, What would be the consequences if my hardware design based on the LPC2214 uses 16 bit flash devices that only supports 16 bit...

Hi, What would be the consequences if my hardware design based on the LPC2214 uses 16 bit flash devices that only supports 16 bit accesses? Can I write bytes in the flash using the __packed type modifier? Thanks for the feedback, Patrick Smout


Flash Security

Started by funes_armando in LPC200014 years ago 18 replies

Hi all, Can somebody tell me how the lpc2104 protection against flash memory reading is?. If my competitor is doing...

Hi all, Can somebody tell me how the lpc2104 protection against flash memory reading is?. If my competitor is doing reverse engineering on my products, can he read the lpc2104 flash memory entering it into ISP mode? Thank you very much Arman


Programming external flash

Started by Mac Mahoi in LPC200012 years ago 3 replies

How can i program the external flash in LPC2000 (especially in flashless models like LPC2210)? As i am a beginner in ARM, i would appreciate if...

How can i program the external flash in LPC2000 (especially in flashless models like LPC2210)? As i am a beginner in ARM, i would appreciate if somebody can give me some direction, link or sample code from which i can reference to make the code to burn the ext flash. THanks __________________________________________________ ------------------------ Yahoo! Groups Sponsor --------------...


flashing lpc2290

Started by tscheiell in LPC200010 years ago 2 replies

Hi @all, I think this questions are asked for several times, but I am unsure about the solutions, so I hope that someone will be able to help...

Hi @all, I think this questions are asked for several times, but I am unsure about the solutions, so I hope that someone will be able to help me. I have an lpc2290-board with external flash-memory and extrenal ram. I want to change the code in the external flash. So there are several themes - the iap and the isp and the flash-utility from nxp also but that does not support the lpc229...


Philips Flash Utility

Started by Tom Convent in LPC200013 years ago 8 replies

Hello, I am using philips flash utility for uploading flash. My baudrate is 9600, when I want to increase my baudrate to 38400 or 57600,...

Hello, I am using philips flash utility for uploading flash. My baudrate is 9600, when I want to increase my baudrate to 38400 or 57600, error comes "one of the parameters are not matching" I am using XTAL 12 MHz. How can I increase baudrate so that uploading to flash would be faster. I am using lpc2129 thanks Tom Convent ______


flash read

Started by "lpc.lover" in LPC200012 years ago 1 reply

Hi all. I need help about read information in flash memory. I have write this smole code in assembler: Read_Addrs: LDR r0,=3Daddrsb...

Hi all. I need help about read information in flash memory. I have write this smole code in assembler: Read_Addrs: LDR r0,=3Daddrsb // address to store the value in ram LDR r4,=3Daddrsa // address to read the value in flash LDR r11, [r4] // read of the value in flash=20 STR r0, [r11] // storage of the value in ram But this is don't work!! Can you help m...


Newbie questions about .hex format and startup code

Started by Drasko DRASKOVIC in LPC200011 years ago 2 replies

Hi all, since I am just starting with my lpc2148 board, I have two beginner question: 1) I noticed that all given examples that came with this...

Hi all, since I am just starting with my lpc2148 board, I have two beginner question: 1) I noticed that all given examples that came with this board are in .hex format. Do I always have to compile into this format? Or can I flash ELF format in my chip? 2) Also, these examples came precompiled, and flash them with some Windows flash utility that came with this board. From this flash utility,...


LPC2106 flash memory modification by programming!!!

Started by "lpc.lover" in LPC200012 years ago 3 replies

hello everyone, I would like to know if it is possible to modify information writes in the flash of LPC2106? I want to realize a little...

hello everyone, I would like to know if it is possible to modify information writes in the flash of LPC2106? I want to realize a little program for receive flash hex file by serial port of the LPC2106, and the LPC2106 write it in the flash by programming!! That can see like : send hex file -> receive hex file in memory sram -> write in flash memory. Thank you for a help or idea :)


Flash Programming

Started by vishakha vaibhav in LPC200013 years ago 1 reply

I have to write array of size 384 bytes continuously on the FlashROM to store it permanently. As far as I know ,we can not write on the...

I have to write array of size 384 bytes continuously on the FlashROM to store it permanently. As far as I know ,we can not write on the Flash directly.We will first have to write on RAM and then copy RAM to Flash.But only 32 bytes of RAM is available for this purpose.Do I have to write on RAM and copy it to Flash in a loop,writing 32 bytes at a time?I also


help --- issue of LPC2470 (startup from external flash cs1)

Started by hjiongh in LPC20009 years ago

hi,=20 I'm now using LPC2470/78 . Now I'm using my own board. On board: cs1-- -nor flash, cs0 - nand flash(but not jointing) , so in fact now...

hi,=20 I'm now using LPC2470/78 . Now I'm using my own board. On board: cs1-- -nor flash, cs0 - nand flash(but not jointing) , so in fact now i'm=20 using CS1---nor flash to debug LPC2470 (LPC2478 is no problem). First, i wrote a small project as startup function to copy user code=20 to SDRAM and then execute user code in external SDRAM. User Code=20 stored in cs1---nor flash . (This f...


Erase flash on LPC2138 via JTAG

Started by bmueller38 in LPC200012 years ago 8 replies

Hi everybody... ...another beginners problem. I am unable to communicate with my LPC2138-Board from olimex using the Philips Flash Utility....

Hi everybody... ...another beginners problem. I am unable to communicate with my LPC2138-Board from olimex using the Philips Flash Utility. First it worked well, but now I can't even Read the Chip-ID. I tried a newer version and another program (Flash Magic). All without success. The Board itself seems to be ok since the leds are still blinking after reset. I suppose I somehow corrup...


JTag Flash programming

Started by soren_t_hansen in LPC200013 years ago 1 reply

Hi Tom, I saw your reply reg. flash programming on a lpc2000 through Jtag and I was wondering if I could see this program that you have,...

Hi Tom, I saw your reply reg. flash programming on a lpc2000 through Jtag and I was wondering if I could see this program that you have, that gets the code from the PC and downloads it to the flash. Alternativly maybe you have some resources or articles you could give me a link to, regarding how to make such a program? Best Regards


How I can write and Read from LPC2148 flash?

Started by suha...@honeywell.com in LPC200010 years ago 1 reply

All, I am using LPC 2148 in one of my project. I want to store some data values in the internal flash at Run time.I need to read these...

All, I am using LPC 2148 in one of my project. I want to store some data values in the internal flash at Run time.I need to read these data values from the flash at the power on. I think Some IAP functions can be used to write the data values in the flash.But I couldn't find the document which explains it in detail. Can some body explain in detail how i can use this IAP function. what a...


write/read external Flash S29AL016D connected to LPC 2212

Started by fourati_khaled in LPC200010 years ago 2 replies

Hello, I use an NXP LPC2212 with an external Flash Spansion S29AL016D connected by Address bus and data bus I can't communicate with...

Hello, I use an NXP LPC2212 with an external Flash Spansion S29AL016D connected by Address bus and data bus I can't communicate with Flash. I can't read or write over this external Flash. Is it a problem of synchronisation? Can you help me please? ------------------------------------


using flash magic for programming lpc2378

Started by Nagasrinivas in LPC20006 years ago 1 reply

Hi, I need help with programming my lpc2378 board using flash magic. I was using lpc21isp earlier on ubuntu but ever since I updated my ubuntu...

Hi, I need help with programming my lpc2378 board using flash magic. I was using lpc21isp earlier on ubuntu but ever since I updated my ubuntu distribution to Natty Narhwal everything went down (the upgrade exited with an error 1). I am unable to log on to ubuntu and after that I installed eclipse on windows along with flash magic. But I unable to program lpc2378 using flash magic. Any sug...