Jlink flash without erasing first

You can modify the upload command using upload_cmd to your own wishes. However, if you wish to compile a firmware that is shifted from its start address, you should modify the upload offset, e.g. using

board_upload.offset_address= 0x4000

for starting your firmware at that offset. Some boards already have that as to not overwrite the bootloader (example).

1 Like