Dear All;
I am working for an automotive project using LPC2368. Here, I want to write datas from CAN network to the 512KB Flash of LPC2368 while application is running . The data, we want to store is some critical data from CAN network.As per IAP standard we have to reduce the CPU clock while Programming the FLASH. If we are reducing the clock while CAN is working ,this is affecting CAN reception.As a solution ,if we getting the data from the CAN network ,first we are writing these data to 2KB of Battery RAM and then writing from battery RAM to FLASH while bigining of next booting time.Here for every booting time ,first of all read data from FLASH and attach data from battery RAM and then write whole data again to same FLASH.Now Flash contain a sequence of DATA from battery RAM . This methode is working fine for ISP programming.But if I am using JTAG ,all the previous data get erased from Flash.hence I will be having only last data from Battery RAM. Will you please tell me that ,what is the difference in downloading the hex file using JTAG and ISP .How old data from flash get erased , when we ae using JTAG.
sincerely shamsudheen OP