PEMicro problems with CW 10.2 on Debian Wheezy

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

PEMicro problems with CW 10.2 on Debian Wheezy

跳至解决方案
1,743 次查看
joesteeve
Contributor II

Hello all,

 

I am using Codewarrior 10.2 for Linux on Debian Wheezy. My board is a DEMOJM board: DEMO9S08MP16 Rev.B.

 

I am unable to program the board from the IDE. I setup the project to use the "PEMicro USB multilink" to connect to the board. When I do "Run>Run" it fails saying it is not able to connect to the board. It says "No device available". Hitting refresh multiple times does not help. The "PEMicro" menu is also disabled.

 

Any pointers would be of great help.

 

Thanks,

Joe

 

Message was edited by: Joe Steeve  Updated title to reflect the issue more accurately.

标签 (1)
标记 (2)
0 项奖励
回复
1 解答
995 次查看
joesteeve
Contributor II

I finally solved this. You need to do the following:

Open /etc/udev/rules.d/25-pemicro.rules in an editor. Remove all its contents, and paste the following:

SUBSYSTEM!="usb", ACTION!="add", GOTO="kcontrol_rules_end"

ATTRS{idVendor}=="15a2", ATTRS{idProduct}=="0035", GROUP="plugdev", MODE="0664"
ATTRS{idVendor}=="15a2", ATTRS{idProduct}=="0042", GROUP="plugdev", MODE="0664"
ATTRS{idVendor}=="15a2", ATTRS{idProduct}=="0058", GROUP="plugdev", MODE="0664"
ATTRS{idVendor}=="15a2", ATTRS{idProduct}=="005E", GROUP="plugdev", MODE="0664"
ATTRS{idVendor}=="15a2", ATTRS{idProduct}=="005F", GROUP="plugdev", MODE="0664"
ATTRS{idVendor}=="1357", ATTRS{idProduct}=="0001", GROUP="plugdev", MODE="0664"
ATTRS{idVendor}=="1357", ATTRS{idProduct}=="0503", GROUP="plugdev", MODE="0664"
ATTRS{idVendor}=="1357", ATTRS{idProduct}=="0504", GROUP="plugdev", MODE="0664"

LABEL="kcontrol_rules_end"

In a root terminal:

$ ln -s /usr/lib/i386-linux-gnu/libexpat.so.1.6.0 /usr/lib/i386-linux-gnu/libexpat.so.0

在原帖中查看解决方案

0 项奖励
回复
1 回复
996 次查看
joesteeve
Contributor II

I finally solved this. You need to do the following:

Open /etc/udev/rules.d/25-pemicro.rules in an editor. Remove all its contents, and paste the following:

SUBSYSTEM!="usb", ACTION!="add", GOTO="kcontrol_rules_end"

ATTRS{idVendor}=="15a2", ATTRS{idProduct}=="0035", GROUP="plugdev", MODE="0664"
ATTRS{idVendor}=="15a2", ATTRS{idProduct}=="0042", GROUP="plugdev", MODE="0664"
ATTRS{idVendor}=="15a2", ATTRS{idProduct}=="0058", GROUP="plugdev", MODE="0664"
ATTRS{idVendor}=="15a2", ATTRS{idProduct}=="005E", GROUP="plugdev", MODE="0664"
ATTRS{idVendor}=="15a2", ATTRS{idProduct}=="005F", GROUP="plugdev", MODE="0664"
ATTRS{idVendor}=="1357", ATTRS{idProduct}=="0001", GROUP="plugdev", MODE="0664"
ATTRS{idVendor}=="1357", ATTRS{idProduct}=="0503", GROUP="plugdev", MODE="0664"
ATTRS{idVendor}=="1357", ATTRS{idProduct}=="0504", GROUP="plugdev", MODE="0664"

LABEL="kcontrol_rules_end"

In a root terminal:

$ ln -s /usr/lib/i386-linux-gnu/libexpat.so.1.6.0 /usr/lib/i386-linux-gnu/libexpat.so.0
0 项奖励
回复