- Mon Feb 16, 2015 10:05 am
#179775
I'm trying to use openocd with LPC4078 without success since I can't find the right script file. I tried to use the script for lpc1768 but then I'm unable to write the flash. I'm using st-link/V2 as interface.
The parameter for launching openocd are:
Is there anybody out there which made it working with the "openocd <-> st-link <-> lpc4078" combination?
Thanks.
The parameter for launching openocd are:
Code: Select all
With those parameters openocd connects correctly to the board but when I try to write the flash I get the following error message:-f /interface/stlink-v2.cfg -c "transport select hla_swd" -f /target/lpc17xx.cfg
Code: Select all
Which makes sense since I specified lpc1768 and the cpu is lpc4078, but I can't find the right script. The error message comes from lpc2000.c source file, in this file there's no mention to lpc4000 familly flash. Should i use another flash memory driver? BUG: unknown Part ID encountered: 0x47193f47
Is there anybody out there which made it working with the "openocd <-> st-link <-> lpc4078" combination?
Thanks.