On Fri, Oct 21, 2011 at 11:37 PM, Xiaofan Chen <xiaof...@gmail.com> wrote:
> On Fri, Oct 21, 2011 at 11:06 PM, Peter Stuge <pe...@stuge.se> wrote:
>> So there are two differences in behavior versus 0.5:
>>
>> 1. \ in -f parameters get evaluated one time extra by Jim tcl
>> 2. paths in -f parameters are now relative to a different directory,
>>   one level down from previously
>>
>> 2. is most likely caused by another commit.
>
> Yes you are right. I moved openocd.exe out of bin directory to
> make it in the same directory of the scripts files (board, interface, etc)
> and 2 will go away.
> C:\work\openocd\binary>openocd -f board/ek-lm3s1968.cfg
> Open On-Chip Debugger 0.6.0-dev-snapshot (2011-10-21-21:26)
> Licensed under GNU GPL v2
> For bug reports, read
>        http://openocd.sourceforge.net/doc/doxygen/bugs.html
> Info : only one transport option; autoselect 'jtag'
> 500 kHz
> ...
>
> The other command used to work for version 0.5.0 still does not work.
>
> C:\work\openocd\binary>openocd -f board\ek-lm3s1968.cfg
> Open On-Chip Debugger 0.6.0-dev-snapshot (2011-10-21-21:26)
> Licensed under GNU GPL v2
> For bug reports, read
>        http://openocd.sourceforge.net/doc/doxygen/bugs.html
> Runtime Error: embedded:startup.tcl:58: couldn't read file
> "boardek-lm3s1968.cfg": No such file or directory
> in procedure 'script'
> at file "embedded:startup.tcl", line 58
>

The following does work now.
C:\work\openocd\binary>openocd -f board\\ek-lm3s1968.cfg
Open On-Chip Debugger 0.6.0-dev-snapshot (2011-10-21-21:26)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.sourceforge.net/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
500 kHz
...


-- 
Xiaofan
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to