HI,
I Used In application programming for backup purpose for LPC 2368. I has some test conditions in my application where I had to retain the value of some variable after reset but not in the power on hence I modified my scatter file. while doing so the time taken my the IAP routine increased a lot (from 1 sec) to 3 minutes. Can some one tell what might be prolem there. As when I m removing that particulat scatter file and using the default one I am geting the full speed.
Does your change in the scatter file significantly changes the size of the output file?
If running at low baudrates, the transfer and verify times can increase significantly in case the program has to transfer a huge amount of 0xff in the middle of the binary.
NO I di not get any change in my HEX file Size after the changing of the HEX file. Is its value must be changed?.
post the scatter files please.
LR_IROM1 0x00000000 0x00080000 { ; load region size_region ER_IROM1 0x00000000 0x00080000 { ; load address = execution address *.o (RESET, +First) *(InRoot$$Sections) .ANY (+RO) } RW_IRAM1 0x40000000 0x00004000 { ; RW data .ANY (+RW +ZI) } RW_IRAM2 0x7FE00000 0x00004000 { .ANY (+RW +ZI) } OVERLAY_RAM1 0x40005000 OVERLAY { main.o (ram) ;ram.o (TEST) }
}
for LPC 2368
both of them, using the proper tags...?
yes Both of them using the proper TAG