Instrucciones de Instalación de Ccs Compiler para Linux
Instrucciones de Instalación de Ccs Compiler para Linux
http://www.ccsinfo.com/downloads/CCSLoadInstall.run
sudo ./CCSLoadInstall.run
3. The installer will request you to restart your PC. It is HIGHLY recommended
to do so or you will run into issues running the software and accessing any
programmers.
You should see the /dev/ttyUSB* device at the end of the output. If you
do not a /dev/ttyUSB* device, see Appendix A for troubleshooting.
7. Once you know the number, add 1 to it and this will be the 'COM' number
you will pass to CCSLoad. To test if your programmer is being detected
you can run the following command:
8. Once the programmer test has passed, connect the target board to the
programmer and run CCSLoad with the command options below from a
terminal window to test that the programmer can communicate with the
target board:
Where PICXXXXXXX should be replaced with the type of PIC chip on the
target board the programmer is connected to.
************************************************************************
* Appendix A: Troubleshooting *
************************************************************************
------------------------------------------------------------------------
Issue:
No /dev/ttyUSB* device is found
Things to Check:
This can occur for a few different reasons. The most common reason
is having an older Linux kernel. If the following command returns
anything less than 2.6.30, this may be your issue:
uname -r
0 = ICD-U20
1 = ICD-U40
2 = MachX
3 = Load-n-Go
4 = ICD-U64
5 = Prime8
------------------------------------------------------------------------
------------------------------------------------------------------------
Issue:
No /dev/ttyS* device is found
Things to Check:
This symbolic link is created by a udev rule that is placed at
/etc/udev/rules.d/99-CCS-USB.rules. If your version of udev is older
or does not pick up the file for any reason, the link will not be
created. If this is the case, you can manually create the link with
the following command:
------------------------------------------------------------------------
Issue:
CCSLoad requests a COM Port even when one is specified:
Things to Check:
This happens when CCSLoad cannot find the programmer at the given
port. The most common reason for this is permissions. Your user
may need to be added to a specific group to access the programmer.
To check if this is the issue, run the ccsloader command with sudo.
If this works then you most likely have a permissions issue.
Solution:
To allow your user to access the device, do the following:
ls -l /dev/ttyUSB*
2) The group who owns the device above is uucp. Your distribution
may use a different group for these devices. To add your user to
the group that owns the programmer device, do the following:
3) You will now need to log out/reboot for the your user to be added
to the group.
4) Starting with step 7 above, you can begin testing if this fix has
corrected your problem.
------------------------------------------------------------------------