Currently i use:
erase
loadfile "image.hex"
How can i erase only the section of the image? the image size is known.
use SetFlashDLNoRMWThreshold 0xFFFFFFFF for read modify write and remove erase from script, this will result in changing only the section we upload an image to