|
From: Pavel C. <ch...@as...> - 2008-04-29 11:33:48
|
Edgar Grimberg napsal(a): > and, even more into the "typical user operation" area: > > > flash erase_address 0 0x2000 > erased address 0x00000000 length 8192 in 0.557000s > > flash write_image > C:\workspace\open_ocd\testing\examples\LPC2148Test\test_rom.elf > wrote 364 byte from file > C:\workspace\open_ocd\testing\examples\LPC2148Test\test_rom.elf in > 0.153000s (2.323325 kb/s) > > verify_image > C:\workspace\open_ocd\testing\examples\LPC2148Test\test_rom.elf > checksum mismatch - attempting binary compare > Verify operation failed address 0x00000014. Was 0x58 instead of 0x60 Hello Edgar, this is also a property rather than a bug. Please have a look into datasheet one more time, LPC2148 verifies checksum of the vectors area before executing code from the flash. That is why the flash driver replaces flash location 0x14 by correct checksum during its operation (because the image typically does not contain correct value) This feature may be turned on/off by a parameter given to the driver. Best regards, Pavel |