Hi,
I'm using JLinkExe on GNU/Linux system, I can successfully program a LM3S8962 with the following script
########################
speed 32
device LM3Sx9xx
Sleep 500
h
w4 0x400FE100, 0x00000009
w4 0x40000C00, 0x1ACCE551
w4 0x40000008, 0x00000000
Sleep 500
r
Sleep 500
loadbin /usr/local/src/qs-bldc/gcc/qs-bldc.bin , 0x00001000
Sleep 500
r
Sleep 500
h
Sleep 500
g
#################################
now I wish to program a TM4C123AH6PM but with this script
#################################
speed 32
device TM4C123AH6PM
Sleep 500
h
w4 0x400FD008, 0xA4420001
Sleep 500
loadbin /usr/local/src/COMAN_shared/src/ecat/slave/HyQ_IO/gcc/HyQ_IO.bin , 0x0
Sleep 500
r
Sleep 500
h
Sleep 500
g
q
#######################################
I got this error ...
J-Link>w4 0x400fd008 0xa4420001
Writing A4420001 -> 400FD008
J-Link>loadbin /tmp/HYQ_IO.bin, 0x0
Loading binary file... [/tmp/HYQ_IO.bin]
Writing bin data into target memory @ 0x00000000.
Info: J-Link: Flash download: Flash programming performed for 1 range (16384 bytes)
****** Error: Programming failed @ address 0x00004F80 (block verification error)
Verification failed @ address 0x00004000
Info: J-Link: Flash download: Total time needed: 2.157s (Prepare: 1.034s, Compare: 0.053s, Erase: 0.143s, Program: 0.417s, Verify: 0.000s, Restore: 0.508s)
Any hints ?
Thanks
ALessio