EmbeddedRelated.com

CrossStudio and linker script

Started by windam_2000 in LPC200017 years ago 1 reply

Hi All, I'm trying to use a linker script with Cross Studio. Unfortunately, the help files don't indicate how. So I tried to use Project...

Hi All, I'm trying to use a linker script with Cross Studio. Unfortunately, the help files don't indicate how. So I tried to use Project Options-> Linker-> Additional Linker Options and filled in the text box: -T .\Flash.ld The linker gave an error: cannot open linker script file .\Flash.ld: No such file or directory So I copied Flash.ld to the subfolder ARM Flash Debug which is i


Erasing/writing to a specific sector in Flash using Flash Magic

Started by Hard...@allenvanguard.com in LPC200013 years ago 5 replies

Hello, I had a question about erasing/writing to a specific sector in Flash using Flash Magic without erasing the application. My...

Hello, I had a question about erasing/writing to a specific sector in Flash using Flash Magic without erasing the application. My application is located at flash sectors 0-4. I have some data which I would like to store in sector 26 of flash and then use from my main application. I created a .txt file which contains the following data: "A B C D E F G H". I converted the .txt file into a .he...


LPC2148 Flash Write Problem

Started by malzki7480 in LPC200015 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 LPC200017 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 LPC200015 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 LPC200014 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


Programming external flash

Started by Mac Mahoi in LPC200018 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 --------------...


LPC2106 flash memory modification by programming!!!

Started by "lpc.lover" in LPC200018 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 :)


Erase flash on LPC2138 via JTAG

Started by bmueller38 in LPC200018 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...


How I can write and Read from LPC2148 flash?

Started by suha...@honeywell.com in LPC200016 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 LPC200016 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 LPC200012 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...


Re: REPROGRAMMING THE FULL FLASH MEMORY USING IAP THROUGH RS485 NETWORK

Started by Herbert Demmel in LPC200016 years ago 3 replies

Hi, basically it *is* possible to do what you want, but it's not that easy as you might think. As you want to have the possibilty to...

Hi, basically it *is* possible to do what you want, but it's not that easy as you might think. As you want to have the possibilty to exchange the *complete* flash data (that means not only an application area) and the LPC's can not write into the flash memory execting from you have to do as follows: You must write a so-called secondary bootloader, which is fully running in RAM (ima...


LPC2378 Data written to flash

Started by pete...@courtara.com.au in LPC200017 years ago 7 replies

Greetings All, I need to write data to the flash from within the application but in the documentation I have the min numbers of bytes for IAP...

Greetings All, I need to write data to the flash from within the application but in the documentation I have the min numbers of bytes for IAP is 256 I want to store only 4 bytes (1 word) at a time. Is there a way to do this or is there documentation to directly configure and control the flash registers? Thanks in Advance, Peter


Problem with LPC2000 Flash Utility V2.2.3

Started by Martin Steppuhn in LPC200018 years ago 3 replies

Hello, I have a Problem with the LPC2000 Flash Utility. Uploading seems to be ok (Programm works and the Flash Download looks ok) ...

Hello, I have a Problem with the LPC2000 Flash Utility. Uploading seems to be ok (Programm works and the Flash Download looks ok) but the "Compare Flash" Function always fails. "File compare failed" It looks like a problem with the vector table checksum at 0x00000014 ?! Hexfile not includes location 0x00000014


LPC.... Flash - EEPROM

Started by frankausloehne in LPC200019 years ago 3 replies

Hello to everybody I am using IAP to program the FLASH memory ,to store permanently some data, as I have not included EEPROM in my target...

Hello to everybody I am using IAP to program the FLASH memory ,to store permanently some data, as I have not included EEPROM in my target board.So my application itself is programming the FLASH to recall some data during next power ON. I am using the assembler-code which I found in the user manual LPC901..... It runs very well in my software-simulator in Keils ?Vision3. When I am using Keil...


LPC2478 + External Flash

Started by "Rode, Dinesh (IE03x)" in LPC200012 years ago 5 replies

Hello, Is it possible to use on chip and external flash memory at the same time? My code size is more than 512KB & I would like to keep some...

Hello, Is it possible to use on chip and external flash memory at the same time? My code size is more than 512KB & I would like to keep some part of code into external flash. If yes, how can I program this code? Thanks, Dinesh Rode ------------------------------------


LPC2119 Replacing Flash Boot Loader

Started by alipowsky in LPC200020 years ago 1 reply

I'm trying to setup a failproof flash update method, so an interrupted and incomplete flash update would not force to open the unit...

I'm trying to setup a failproof flash update method, so an interrupted and incomplete flash update would not force to open the unit and insert a jumper etc. We did thuch things with other controllers, by using one sector as a fixed service monitor, which was always called by r


lpc2000 flash utility for lpc23xx

Started by naderus2000 in LPC200017 years ago 1 reply

Hi, is there any software for flash programming of LPC23xx like lpc2000 flash utility? i download version v2.2.3 but it doesn't include...

Hi, is there any software for flash programming of LPC23xx like lpc2000 flash utility? i download version v2.2.3 but it doesn't include lcp23xx. thanks.


Disable interrupts in IAP programming

Started by shamsudheen op in LPC200017 years ago 13 replies

Hai all; I am doing an automotive project in LPC2368.Here I am using 512k FLASH of LPC2368 for storing som critical (real time) data...

Hai all; I am doing an automotive project in LPC2368.Here I am using 512k FLASH of LPC2368 for storing som critical (real time) data .I reffered C:\Keil\ARM\Flash\LPC_IAP2_512 for flash programming. sir,Is it neccessary to disable Interrupts before going to IAP programming(reading or writing to FLASH). Since target receiving the critical data using some interrupts,Will...