Re: IAP Help

Started by Leighton Rowe in LPC200014 years ago 1 reply

--- In , givc@y... wrote: > Hello Everybody, > > I'm using the LPC2119 and I need to be able to reprogram the Flash > using...

--- In , givc@y... wrote: > Hello Everybody, > > I'm using the LPC2119 and I need to be able to reprogram the Flash > using IAP, can anybody tell me where to start. Is there any > algorithm or tutorial somewhere?? I've done some reading (The User > m


IAP and SD/MMC cards -> newbie question

Started by "da.simons" in LPC200010 years ago 2 replies

Is it possible to use IAP function to program the flash with a image stored on SD/MMC card? Darren ------------------------------------

Is it possible to use IAP function to program the flash with a image stored on SD/MMC card? Darren ------------------------------------


LPC2378 IAP Issue

Started by czesio_lpc in LPC200010 years ago 8 replies

Hello All, Recently I was trying to use IAP mechanism to write one selected flash sector. I prepared my IAP routine and tested it by reading...

Hello All, Recently I was trying to use IAP mechanism to write one selected flash sector. I prepared my IAP routine and tested it by reading out device ID. The result was correct. Next, I tried to write a flash sector with given pattern. In order to do that I disabled all system interrupts and prepared ram buffer (256 bytes long). The buffer was located in RAM at address 0x40006000. I ...


about IAP

Started by supriya albal in LPC20008 years ago 1 reply

I am using LPC2148. Interfacing LM35, I am getting temperature readings from ADC. I want to store these readings in the flash. Later I have to...

I am using LPC2148. Interfacing LM35, I am getting temperature readings from ADC. I want to store these readings in the flash. Later I have to retrieve them.I have referred an example code for writing data into FLASH. Given below - typedef void (*IAP)(unsigned int [],unsigned int []); IAP iap_bypointer; void iap_byfunction (unsigned *cmd,unsigned *rslt,unsigned entry); unsigned command[5];...


IAP (In Application Programming ) LPC2378

Started by torben1962 in LPC20009 years ago 4 replies

Hello! I'm reading about IAP programming of LPC2378 and found following in User manual:...

Hello! I'm reading about IAP programming of LPC2378 and found following in User manual: http://www.nxp.com/acrobat_download/usermanuals/UM10211_1.pdf On page 588 is written:, ... 3.2.7 Interrupts during IAP The on-chip flash memory is not accessible during erase/write operations. When the user application code starts executing the interrupt vectors from the user flash area are ...


IAP mode

Started by Pratik Shah in LPC200011 years ago 2 replies

Hi, I have downloaded IAP ( In application Program )Program from http://www.keil.com/download/docs/298.asp. Program is working fine...

Hi, I have downloaded IAP ( In application Program )Program from http://www.keil.com/download/docs/298.asp. Program is working fine in simulator mode but as soon as i download it to Controller it doesn't write Flash at all So can anyone tell me is there any sequence to follow to enter in to th IAP mode or to write Flash Please Download the Code from the above link.. ...


LPC2364 stack pointer granularity

Started by Colby Boles in LPC20009 years ago

Hi- I have a function that writes some information to the flash using the IAP functions. For certain reasons, the RAM area being copied to...

Hi- I have a function that writes some information to the flash using the IAP functions. For certain reasons, the RAM area being copied to the flash is on the stack. The IAP docs state that the RAM area passed to the IAP function when writing must be word-aligned. My question is: does the ARM7 stack pointer always move in 32 or 16-bit increments? Can I be sure that my stack data variable is...


Error in flashwrite on LPC2132

Started by gtz....@... in LPC200012 years ago 7 replies

Using the Keil Flashfiler, am i having trouble with the internal flash via IAP. It seems that extra data is placed on the flashmap,...

Using the Keil Flashfiler, am i having trouble with the internal flash via IAP. It seems that extra data is placed on the flashmap, different from RAMbuffer, after it is delivered to IAP_execute. Has any one Experienced the same ? or and have some advice. I have stopped interrupt, during the IAP call. and the bootloader is v2.11 GTZ


Doubt on IAP in LPC2138

Started by balakumar chinuswamy in LPC200013 years ago 2 replies

? When i try to do the IAP in LPC2138. I am getting a prefetch abort . please let me know if any solutions. regards Bala ...

? When i try to do the IAP in LPC2138. I am getting a prefetch abort . please let me know if any solutions. regards Bala


Reg: IAP commands between lpc 2364 vs 1764

Started by prab...@yahoo.co.in in LPC20008 years ago

Hi all, Is there any different on IAP commands behavior between lpc2364 and lpc1764 except IAP_LOCATION( 0x1FFF1FF1). Because I am using...

Hi all, Is there any different on IAP commands behavior between lpc2364 and lpc1764 except IAP_LOCATION( 0x1FFF1FF1). Because I am using same 2364 Flash code(read,write,erase on Onchip using IAP commands) on LPC1764. But some flash functionality fails randomly(read,write,erase). Thanks, ------------------------------------


Exiting IAP call in ARM mode

Started by stephen_osborn_co in LPC200012 years ago 5 replies

I am using the CallIAP() function from the flash programming file area of this group. It switches to THUMB mode before calling the IAP entry...

I am using the CallIAP() function from the flash programming file area of this group. It switches to THUMB mode before calling the IAP entry function. I am using the IAP to program a single sector of the flash with user adjustable parameters. My program often crashes after programming the flash. Tne parameters are always programmed correctly as verified by checksum. Sometimes it crashes ...


LPC2368: IAP problems IAR vs Flash magic

Started by jozevrtar in LPC200010 years ago

Hi I have interesting problem, I am using LPC2368 on my board. Among other I am using IAP for savig some data to internal FLASH(...

Hi I have interesting problem, I am using LPC2368 on my board. Among other I am using IAP for savig some data to internal FLASH( using sector 14 which is above my code ). The application is working fine if I use IAR IDE for programing ( .sim file ), using J-LINK. But when using flash magic ISP(first i create .hex file ) for programing the aplication is working OK till IAP functions are y...


IAP usage (another one)

Started by ylavoie66 in LPC200011 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


IAP Problem in LPC2138

Started by dine...@hcl.in in LPC200010 years ago 2 replies

Hi All, I have a problem in using IAP commands. When i do a sector 8 erase and write to address 0x00008000 or any sector8 address...

Hi All, I have a problem in using IAP commands. When i do a sector 8 erase and write to address 0x00008000 or any sector8 address the microcontroller is getting reseted. In the write routine it is exactly getting reseted when i call the IAP routine to prepare the sector for write. The 2 reset sources are watchdog and the signal at P0.14. While doing the flash erase and write operation...


Can I use PLL with IAP routines?

Started by naderus2000 in LPC200010 years ago 3 replies

Hi, I want to use flash of LPC2148 like eeprom and I want to know can I use IAP routine with PLL on (60 MHZ) and also MAM fully...

Hi, I want to use flash of LPC2148 like eeprom and I want to know can I use IAP routine with PLL on (60 MHZ) and also MAM fully enable? beacuse I see the keil and iar sample code don't use PLL.


LPC2148_Demo updated with IAP, WDT, DAC, SWI and I2C demos

Started by jcwren in LPC200011 years ago 2 replies

I've updated the LPC2148 demo code package to include examples of IAP (In-Application Programming, or writing flash from within a...

I've updated the LPC2148 demo code package to include examples of IAP (In-Application Programming, or writing flash from within a program), watchdog handling, outputting a waveform on the DAC, software interrupts (SWI), and I2C functionality. The IAP code allows interrogating the boot loader version, processor ID, erasing, filling and blank checking flash sectors from the CCI (Console Comm...


Using IAP in LPC2378(CPU clock frequency for IAP)

Started by c.pa...@acevin.com in LPC200010 years ago

hi, In my application i am using LPc 2378,I am using IAP programming in that CPU clock frequency is 12MHz in that my application is execute...

hi, In my application i am using LPc 2378,I am using IAP programming in that CPU clock frequency is 12MHz in that my application is execute properly.But I need to increase my CPU clock frequency, when i increase CPU clock frequency(72MHz)this program sometimes it hangs and sometimes it prints garbage values (for example, the length of the string is displayed as '/'). What is maximum CPU clock...


LPC2148 IAP snippet - Chapter 9

Started by Sutton Mehaffey in LPC20009 years ago 4 replies

Has anyone gotten the small IAP snippet of code to work from chapter 9 of the user's manual? I've tried issuing the 'Read Part ID Number' and I...

Has anyone gotten the small IAP snippet of code to work from chapter 9 of the user's manual? I've tried issuing the 'Read Part ID Number' and I get 0x00000001 instead of the reading on page 307. Sutton ------------------------------------


LPC2129 IAP problem solved, sorta.

Started by yamppman in LPC200013 years ago 7 replies

After about a year on Prozac and Valium since my last encounter with the Philips LPC series, I'm on it again, using it in a new...

After about a year on Prozac and Valium since my last encounter with the Philips LPC series, I'm on it again, using it in a new project. And I need to use the IAP functionality ofcourse. And after spending several hours trying all kinds of variants on the apparently n


Problem with IAP and GCC

Started by titi_toon in LPC200010 years ago 3 replies

Hello, I am using GCC on a LPC2138. Did someone manage to have the IAP work with GCC ? Thank you very...

Hello, I am using GCC on a LPC2138. Did someone manage to have the IAP work with GCC ? Thank you very much. Jerome ------------------------------------