Problem to debug the LPCxpresso 1769

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Problem to debug the LPCxpresso 1769

891件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Sedu on Tue Aug 09 07:04:35 MST 2011
[SIZE=1]Hello,

I use the LPCxpresso 1769 Board (I have the same problem with the LPC1343) and LPCxpresso v4.0.6 IDE. My system is a Ubuntu 10.04 with Kernel 2.6.38.

By debugging I get the error:
"No emulator or board available. This could be because it is unpowered, unconnected or already in use"

For diagnostics I tries this:
http://support.code-red-tech.com/CodeRedWiki/LPCLinkDiagnostics#Linux

[B]dfu-util -l:[/B][/SIZE]
[SIZE=1]Found Runtime: [0x0471:0xdf55] devnum=17, cfg=0, intf=0, alt=0, name="UNDEFINED"

[B]dfu-util -d 0x471:0xdf55 -c 0 -t 2048 -R -D LPCXpressoWIN.enc[/B]:[/SIZE]
[SIZE=1]Opening USB Device 0x0471:0xdf55...
Claiming USB DFU Runtime Interface...
Determining device status: state = dfuIDLE, status = 0
WARNING: Runtime device already in DFU state ?!?
Found Runtime: [0x0471:0xdf55] devnum=17, cfg=0, intf=0, alt=0, name="UNDEFINED"
Claiming USB DFU Interface...
Setting Alternate Setting ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
Transfer Size = 0x0800
bytes_per_hash=604
Starting download: [##################################################] finished!
state(8) = dfuMANIFEST-WAIT-RESET, status(0) = No error condition is present
Done!
can't detach: error sending control message: Broken pipe
Resetting USB to switch back to runtime mode

[B]lsusb[/B]:[/SIZE]
[SIZE=1]Bus 001 Device 018: ID 1fc9:0009

[B]crt_emu_cm3_nxp -info-emu -wire=winusb:[/B]
Ni: LPCXpresso Debug Driver v4.0 (Jul 22 2011 09:57:25)
0 Emulators available:

[/SIZE][SIZE=1][B][COLOR=black]crt_emu_cm3_nxp -info-target -p=LPC1769 -wire=winusb -4:[/COLOR][/B][/SIZE]
[SIZE=1]Ni: LPCXpresso Debug Driver v4.0 (Jul 22 2011 09:57:25)
Et: Failed emulator initialization: E(xx). WinUSB driver load/install error: libLPC_Link.so. libusb-1.0.so.0: cannot open shared object file: No such file or directory


It looks like the [/SIZE][SIZE=1]libusb-1.0.so.0 is not available, but i checked it and it seems to be ok.
Does someone know this problem?

Thank you for help.
[/SIZE]
0 件の賞賛
返信
4 返答(返信)

860件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Sedu on Thu Aug 11 01:26:10 MST 2011
[SIZE=2]Ok, reinstalling LPCxpresso solved the problem. Perhaps it was really related to the libusb-1.0.so.0 in the  [/SIZE][FONT=Courier New][SIZE=1]/usr/local/lpcxpresso_4.0.6_131/lpcxpresso/bin[/SIZE][/FONT].
[SIZE=2]Thank you very much for helping.

With you a nice day.[/SIZE]
0 件の賞賛
返信

860件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Aug 10 02:51:22 MST 2011
Where is the libusb-1.0.so.0 that you found? The version that we supply should be located in [FONT=Courier New][SIZE=1]/usr/local/lpcxpresso_4.0.6_131/lpcxpresso/bin[/SIZE][/FONT] .

Note that another user who encountered this found that for some reason they had to install the 32bit compatibility components twice before they got things running....

http://knowledgebase.nxp.com/showthread.php?p=7364

Might be worth trying this, as well as reinstalling.

Regards,
CodeRedSupport
0 件の賞賛
返信

860件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Sedu on Wed Aug 10 01:56:56 MST 2011
[SIZE=1]It is a native installation with 64 Bit. I rebooted more than once.

The 32-bit compatibility components are installed (Packages:[/SIZE][SIZE=1] linux32 ia32*[/SIZE][SIZE=1]).

[/SIZE]
0 件の賞賛
返信

860件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Aug 10 01:05:06 MST 2011
Is this a native installation of Linux, or are you running under a VM?

I presume that you rebooted after installation?

Is it 64 bit or 32 bit Ubuntu? If 64bit, did you install the 32-bit compatibility components, as per the install instructions?

Regards,
CodeRedSupport
0 件の賞賛
返信