Hi all,

Attached is a patch to add a new command 'verify_image_checksum' which does the 
same thing as 'verify_image' except that it doesn't find and print the 
differences. I've found this quite useful to run before downloading an image to 
check if the download is needed - if the jtag is running at high speed, on my 
STM32 it generally takes about 1 second to verify, saving 30 seconds to 
download  - it also saves wearing out the flash memory.

Also attached is an attempt at making the FT2232 jtag driver try other channels 
- currently it seems that if CHANNEL_ANY is selected, then only CHANNEL_A is 
tried. There may be a better way of doing this - my patch may not catch errors 
as well as the previous code.

Regards,

Evan Hunter


Attachment: 0001-Add-verify_image_checksum-command.patch
Description: 0001-Add-verify_image_checksum-command.patch

Attachment: 0003-try-other-ft2232-channels.patch
Description: 0003-try-other-ft2232-channels.patch

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to