I think the erase is happening in the right place. Looking at the twr-k60n512.cfg file, the bank definitions are:
# # Bank definition for the 'program flash' (instructions and/or data) # flash bank pflash.0 kinetis 0x00000000 0x40000 0 4 $_TARGETNAME flash bank pflash.1 kinetis 0x00040000 0x40000 0 4 $_TARGETNAME The address 0x40800 corresponds to sector 1 of bank 1, since the K60N512 has 2 KB sections. Looking at the source, "Probing flash info for bank 0" might show up whenever OpenOCD is searching for the flash bank corresponding to the given offset in get_flash_bank_by_addr in flash_write_unlock. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
