Hi Paul.

On Thu, 26 Feb 2015 11:03:59 +0300, Paul Fertser wrote:
> On Thu, Feb 26, 2015 at 01:22:53AM +0100, Jens Bauer wrote:
> It seems you're using an outdated target config (even though the
> binary is new), the current code has no lpc1788.cfg file at all,
> please retry with the recent version. One way to do it is to "make
> install", another is to use -s to specify the location of the tcl
> directory in the source tree.

I do a "sudo make install" every time I build OpenOCD, but the old configs 
stick around., thus I didn't think of changing the config. ;)
-I just tried using lpc17xx.cfg instead of lpc1788.cfg; the only difference is 
that I do not get a double "cortex_m reset_config sysresetreq" line.

I've found out some more (after herassing my local copy violently and finally 
reverting it to a clean repository)...

$ openocd -c 'telnet_port 4444' -f interface/ftdi/jtag-lock-pick_tiny_2.cfg -c 
"transport select swd" -f target/lpc17xx.cfg

> flash banks
#0 : lpc17xx.flash (lpc2000) at 0x00000000, size 0x00000000, buswidth 0, 
chipwidth 0
> lpc2000 part_id 0
lpc2000 part id: 0x281d3f47
> flash banks
#0 : lpc17xx.flash (lpc2000) at 0x00000000, size 0x00080000, buswidth 0, 
chipwidth 0

Eh... It seems I have to issue that lpc2000 part_id 0 command, before the bank 
is updated ?
-So in fact, Nemui's patch must be working for me as well, but do I have a 
problem somewhere else, perhaps ?


Love
Jens

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to