EmbeddedRelated.com
The 2024 Embedded Online Conference

Hi Need help for my final year project IP camera..

Started by shipra in LPC200014 years ago 21 replies

I am using lpc2103.till now I am using IR sensor to send motion then send the message through pc connect via RS-232 to ARM. I want to interface...

I am using lpc2103.till now I am using IR sensor to send motion then send the message through pc connect via RS-232 to ARM. I want to interface a camera with the board but lpc2103 memory is less. Could somebody please help in how to interface off chip flash memory then load OS kenel into flash.Is this a good idea by the way. Please help me I am just a begineer. Any help would be really a...


lpc2119--REPLACING THE CODE IN FLASH USING IAP

Started by santforjob in LPC200015 years ago 5 replies

I'M RUNNING THE IAPs FROM RAM ITSELF AND REPLACING THE CODE ALREADY PRESENT AT 00 LOCATION IN FLASH BY THE CODE RESIDING IN RAM. PROBLEM IS...

I'M RUNNING THE IAPs FROM RAM ITSELF AND REPLACING THE CODE ALREADY PRESENT AT 00 LOCATION IN FLASH BY THE CODE RESIDING IN RAM. PROBLEM IS THAT THE CODE GOT REPLACED BUT NEW CODE IS NOT GETTING ACTIVATE, INFACT AFTER MANUAL RESETING IT IS NOT WORKING. WHAT WOULD BE THE PROBLEM AND SOLUTION....... ------------------------------------


Another problem with flash utility v2.2.3

Started by mahbub1833 in LPC200018 years ago 2 replies

Hi, Today I downloaded flash utility v2.2.3 from philips website for lpc2148. after successful installation when i ran that program i...

Hi, Today I downloaded flash utility v2.2.3 from philips website for lpc2148. after successful installation when i ran that program i couldn't change device. All other buttons works except the device selection. Another interesting thing is - when I change device from my prior installation (v2.2.0) and then run v2.2.3 again then the chaged device is shown in that. I tried by unins...


LPC2129 - Flash as EEPROM, garbage output

Started by sieg...@gmail.com in LPC200010 years ago

I'm creating a data logger using the LPC2129 and need to store configuration data, even when my SD card might become corrupted. I'm trying to...

I'm creating a data logger using the LPC2129 and need to store configuration data, even when my SD card might become corrupted. I'm trying to use code from AN11008, using FLASH as EEPROM, modified to store a single, short text file. I think my read functions work properly, but writing to EEPROM seems to fail. I'm having trouble wrapping my head around all of this, so I would really appreciate a...


lpc2478 and flash SST39VF3202

Started by bhupesh in LPC200013 years ago 1 reply

i have custome design for lpc2478 and flash SST39VF3202. Need to test the interface with EMC controller. can anybody give me the test code. Can...

i have custome design for lpc2478 and flash SST39VF3202. Need to test the interface with EMC controller. can anybody give me the test code. Can anybody tell the Initialization of EMC of LPC2478? ------------------------------------


LPC2138 and GCC

Started by Alexander Shabarshin in LPC200019 years ago 6 replies

Hello I try to run simple circuit with LPC2138 chip. I plan to use lpc21isp utility to flash it under Linux. Yesterday I installed...

Hello I try to run simple circuit with LPC2138 chip. I plan to use lpc21isp utility to flash it under Linux. Yesterday I installed GCC-4.0.1 from gnuarm.com, BUT I did not find lpc2138.h, startup.S and .ld files to build code for FLASH and RAM of LPC2138 chip. Please, give me some advice where better to download these things? Sample code for LPC21xx wi


LPC2138 Bootloader Issue

Started by tah2k in LPC200018 years ago 6 replies

Hi All- I'm currently experiencing a very frustrating issue with the LPC2138 bootloader. I can successfully and reliably use the Philips...

Hi All- I'm currently experiencing a very frustrating issue with the LPC2138 bootloader. I can successfully and reliably use the Philips flash utility to download an image to a blank LPC2138 once and only once. After that, the flash utility is never able to communicate with the LPC2138. I have been monitoring the recent bootloader thread that was resolved by manipulating the watchdog


IAP command problems on LPC17xx

Started by "M. Manca" in LPC200014 years ago 1 reply

I am debugging some code supporting write of some default data to flash (bank 15 on LPC1752). The problem is that erase and copy ram to flash...

I am debugging some code supporting write of some default data to flash (bank 15 on LPC1752). The problem is that erase and copy ram to flash functions hangs up during debugging. Studying a little I discovered that lPC internal functions need the last higher 32 byte of ram and also that there is a gdb bug that seems to require the last 16 byte of ram. So, is there any other engineer having ...


LPC2000 PHILIPS FLASH UTILITY

Started by aniket_anand84 in LPC200015 years ago 2 replies

Hi all, i m trying to connect arm7tdmi-s development board with H-JTAG,its showing connected but when i try to program it ,it shows "can't halt...

Hi all, i m trying to connect arm7tdmi-s development board with H-JTAG,its showing connected but when i try to program it ,it shows "can't halt target and make it in debug state" .I changed so many thing but unsuccessful.Fro serial flash utility it is not even detecting the board.when trying to blank check,"operation failed:failed to auto baud-step 1" comes..My LPT & COM port both r working.pleas...


Linking Problem -Eclipse,cygwin,gnuarm,gcc Help Please!

Started by "T.M. (Tom) Alldread" in LPC200018 years ago 6 replies

Greetings: I successfully completed James Lynch's excellent tutorial using an Olimex LPC2148 header board. I was able to flash a LED by...

Greetings: I successfully completed James Lynch's excellent tutorial using an Olimex LPC2148 header board. I was able to flash a LED by executing the gcc compiled examples loaded into either RAM or FLASH memory. However when I try to expand the tutor example by adding calls to library functions I find I get loader errors. It would appear the loader is able to find the object code ...


IAP use of SRAM in the LPC17XX

Started by mjbcswitzerland in LPC200013 years ago 9 replies

Hi All Quote from the LPC17XX manual - "IAP commands, which result in a FLASH write/erase operation, use 32 bytes of space in the top portion...

Hi All Quote from the LPC17XX manual - "IAP commands, which result in a FLASH write/erase operation, use 32 bytes of space in the top portion of the on-chip RAM for execution. The user program should not use this space if IAP flash programming is permitted in the application." Does anyone know which space is being referred to exactly? The LPC1766 which I use for tests has three SRAM banks: ...


write data to flash lpc2148

Started by stijn_de_beugher in LPC200015 years ago 3 replies

Hi, I'm working on a project with a lpc 2148. I've written a program which reads from the serial port a text file. I save the characters of...

Hi, I'm working on a project with a lpc 2148. I've written a program which reads from the serial port a text file. I save the characters of this file in an array: buff[2000]. Now I'd like to write this array to the flash of the lpc2148. But I've a few questions about this operation. - Is it possible to overwrite the bootloader of the lpc2148? When I write accidently to the wrong sector, I...


EEPROM Emulation

Started by jpss1277 in LPC200014 years ago 11 replies

I am using Olimex LPC-P2148 board and its OCD debugger in my application development . I intend to use unused flash as substitute of any external...

I am using Olimex LPC-P2148 board and its OCD debugger in my application development . I intend to use unused flash as substitute of any external EEPROM . As my application demands maximum five write operation during whole lifetime of application . This data will be read only 99% of time . Using flash will save chip cost , board space , fault rate and its rectification cost etc . I do not see any ...


Flash fails to write a bit or zeroes other bit

Started by chazeltopman in LPC200020 years ago 8 replies

I'm experiencing write failures of a bit in flash. If I write the pattern 0xA55A to a location like 0x1DC10 and then write a...

I'm experiencing write failures of a bit in flash. If I write the pattern 0xA55A to a location like 0x1DC10 and then write a vector to the following location, 0xDC14, I find that the first location has become 0xA558. Now let me explain the write algorithm I'm using. I ne


LPC2148 CPR1 and IAP

Started by mlcchemtrac in LPC200013 years ago 3 replies

Hay Guys, I have been trying for over 2 weeks to get a definitive answer from NXP technical support regarding this question... When CPR1 is...

Hay Guys, I have been trying for over 2 weeks to get a definitive answer from NXP technical support regarding this question... When CPR1 is set is it possible for the processor to use the boot loader to save data to the flash memory? That is, when my code needs to save operational parameters to the processors flash memory can this be done by the processor itself, (IAP), if the CPR1 bit is s...


erase flash

Started by kd7vn in LPC200016 years ago

I'm working with a olimex lpc-p2387 dev board, openocd rev 568. Some how I have some memory in flash that I can't erase. I'm not sure if this...

I'm working with a olimex lpc-p2387 dev board, openocd rev 568. Some how I have some memory in flash that I can't erase. I'm not sure if this means anything but when I first telnet in and halt the target I get the following. target state: halted target halted in Thumb state due to debug request, current mode: Supervisor cpsr: 0xa00000f3 pc: 0x7fffe13c What is catches my eye is the "Thu...


Back to the SD card uploading firmware issue - LPC2148

Started by Sutton Mehaffey in LPC200012 years ago 5 replies

I have a firmware upload feature that works most of the time (SD card to Serial Flash to CPU Flash). It still fails occasionally, however. I...

I have a firmware upload feature that works most of the time (SD card to Serial Flash to CPU Flash). It still fails occasionally, however. I have noticed that the binary file that is created by the ELF tool (which is loaded onto the SD card) is NOT the same as the code loaded by Keil uVision thru the JTAG. It differs at the very end of the code space (up around 3BE00) for the last bit...


Re: lpc 2138 read protection jtag

Started by Danish Ali in LPC200016 years ago 2 replies

That's the whole point. With JTAG you would be able to read the FLASH or download a new program that can read the FLASH. So that would defeat...

That's the whole point. With JTAG you would be able to read the FLASH or download a new program that can read the FLASH. So that would defeat read protection! All you can do is erase everything by in-system programming over the UART. But. If you want to debug your own code that has read-protection enabled, you can set bit 2 in PINSEL2 as an early step in your code. This will switch P...


new SD code transfer to LPC2148 not quite working

Started by Sutton Mehaffey in LPC200015 years ago 60 replies

I have 'successfully' uploaded new code from my SD card to CPU flash through my intermediate flash. I have my secondary bootloader at 0x00000000...

I have 'successfully' uploaded new code from my SD card to CPU flash through my intermediate flash. I have my secondary bootloader at 0x00000000 and my app at 0x00004000. Everything uploads and verifies correctly to 0x00004000. However, after the WDT trips, the transfer to 0x00004000 doesn't work like it did before. I erased sectors 4-23 on the CPU leaving the bootloader and the vector table. ...


IAP / Memory mapping issues

Started by timojaask in LPC200015 years ago 7 replies

Hi! Maybe someone with experience on IAP could give me some guidelines? I'm having quite a hard time with writing to flash (IAP) in my...

Hi! Maybe someone with experience on IAP could give me some guidelines? I'm having quite a hard time with writing to flash (IAP) in my program. I am using LPC2388 and my application needs to download lots of stuff from UART and write that into into flash. I am using GNU tools. My application is receiving 512bytes at a time from UART and saves that into a uint8 buffer[512]. Once buffer is fu...



The 2024 Embedded Online Conference