Ive not yet found a way to program the 512 byte CIB block in a STM32W.
Ive tried using jlink commander. 123.bin is a 512 byte file, where the first 16 bytes match the pre-programmed 'option bytes' at the start of the CIB area.
J-Link>exec device=stm32w108c8 (allow opt. bytes)
Info: Device "STM32W108C8 (ALLOW OPT. BYTES)" selected (64 KB flash, 8 KB RAM).
J-Link>loadbin C:\work\svn\wml.hg.factory\
trunk\123.bin,0x8040800
Loading binary file... [C:\work\svn\wml.hg.factory\trunk\123.bin]
Writing bin data into target memory @ 0x08040800.
J-Link>verifybin C:\work\svn\wml.hg.factory\trunk\123.bin,0x8040800
Loading binary file C:\work\svn\wml.hg.factory\trunk\123.bin
Reading 512 bytes data from target memory @ 0x08040800.
Verify failed @ address 0x08040810.
Expected 98 read FFJ-Link>
The same commands work in main flash. (0x80000000). I get the same behaviour
with the jflash gui.
version 4.54d
Any clues?
Thanks,
Ive tried using jlink commander. 123.bin is a 512 byte file, where the first 16 bytes match the pre-programmed 'option bytes' at the start of the CIB area.
J-Link>exec device=stm32w108c8 (allow opt. bytes)
Info: Device "STM32W108C8 (ALLOW OPT. BYTES)" selected (64 KB flash, 8 KB RAM).
J-Link>loadbin C:\work\svn\wml.hg.factory\
trunk\123.bin,0x8040800
Loading binary file... [C:\work\svn\wml.hg.factory\trunk\123.bin]
Writing bin data into target memory @ 0x08040800.
J-Link>verifybin C:\work\svn\wml.hg.factory\trunk\123.bin,0x8040800
Loading binary file C:\work\svn\wml.hg.factory\trunk\123.bin
Reading 512 bytes data from target memory @ 0x08040800.
Verify failed @ address 0x08040810.
Expected 98 read FFJ-Link>
The same commands work in main flash. (0x80000000). I get the same behaviour
with the jflash gui.
version 4.54d
Any clues?
Thanks,