I use lpc2378 and can write to flash with IAP, but if I have working ethernet (based on easyweb sample) then... then a number of things occure exept normal work.
Anybody uses write data to flash with ethernet ?
Well, if you are writing over your interrupt vectors, then you certainly are going to be having problems. I first copy my interrupts into RAM and then change MEMMAP to reflect this.
A couple more thoughts -Be sure that you are disabling interrupts before you call an IAP function. -Be sure that you are not flashing over your application (execute from RAM if you have to)
Be sure that you are disabling interrupts before you call an IAP function.
ups.... right text should be Be sure that you are disabling interrupts not with __diable_irq() before you call an IAP function.
Hi,
As you say, that you first copy your interrupts into RAM and then change MEMMAP to reflect this.
I am also trying for the same.
I am able to map the interrupt vectors in RAM.But my problem is how to execute irq from RAM while IAP.
I am working with LPC2468
Awaiting reply.
Anu