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.
Solved! Go to Solution.
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
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