--- Quote Start ---
I still haven't found a solution.
I create one JIC file with following images:
BLOCK START ADDRESS END ADDRESS
hwimage_app1.hex 0x00000000 0x0002FEB3
swimage_app1.hex 0x0002FEB4 0x00038C83
hwimage_app2.hex 0x00090000 0x000BF762
swimage_app2.hex 0x000BF763 0x000C8502
I would be really helped by some code where I can give an offset in the bootloader files.
I think in file boot_loader_epcs_bits_sii_siii_ciii.S the following should have an offset:
line 96:
// 1) Open EPCS-device at flash-offset zero.
movi r_flash_ptr, 0
line 145:
// Close & re-open EPCS where we will start extracting the length
movi r_flash_ptr, 48
line 182:
// Close & re-open EPCS at byte 33
movi r_flash_ptr, 33
It should not be too difficult?! But I cannot manage it to get it working!
--- Quote End ---
There's a bit of code further down where it copies the length in bits to r_flash_ptr and converts it to a length in bytes. I think you'll need to add your hwimage offset to this value to get the swimage offset.
N.B.: I haven't tried it. ;)