On Mon, Jul 6, 2009 at 12:46 PM, Xiaofan Chen<[email protected]> wrote:
> On Mon, Jul 6, 2009 at 11:29 AM, Gary Carlson<[email protected]> 
> wrote:
>
>> Based on your most recent information, I am pretty sure this a different
>> problem that my patch won't fix.
>
> Yes I agree. There are more fundamental problems there.
>

I am sorry. It is a stupid udev rule error. I have set up proper udev rules
in Ubuntu and Fedora. But I have not set up the correct udev rules for
the Arch Linux and the newly installed OpenSuse 11.1.

Now it is working. You patch is good. Now I do not have startup error
any more.

Under Arch Linux:

[mc...@myhost jlinkv3]$ sudo openocd -f openocd_lpc2148.cfg
Open On-Chip Debugger 0.2.0-in-development (2009-07-06-06:37) svn:2462M
$URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $
For bug reports, read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS
jtag_nsrst_delay: 200
jtag_ntrst_delay: 200
jtag_speed: 15
force hard breakpoints
Info : J-Link initialization started / target CPU reset initiated
Info : J-Link compiled Feb 20 2006 18:20:20 -- Update --
Info : JLink caps 0x3
Info : JLink hw version 30000
Info : Vref = 3.288 TCK = 1 TDI = 0 TDO = 0 TMS = 0 SRST = 0 TRST = 255

Info : J-Link JTAG Interface ready
Info : JTAG tap: lpc2148.cpu tap/device found: 0x4f1f0f0f (mfg: 0x787,
part: 0xf1f0, ver: 0x4)
Info : JTAG Tap/device matched

Strangely from the previous log, it is not immediately clear that the error
is due to permission.

-- 
Xiaofan http://mcuee.blogspot.com
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to