PEMicro problems with CW 10.2 on Debian Wheezy

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

PEMicro problems with CW 10.2 on Debian Wheezy

ソリューションへジャンプ
1,761件の閲覧回数
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 解決策
1,013件の閲覧回数
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 返信
1,014件の閲覧回数
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 件の賞賛
返信