Difference between revisions of "PIC 18f4550"

From Mech
Jump to navigationJump to search
 
m
Line 9: Line 9:


== See Also ==
== See Also ==
[[USB Communication with PIC]]
[[USB Communication with PC]]

[[USB Bootloading]]
[[USB Bootloading]]

Revision as of 20:50, 26 April 2009

The PIC 18f4553 is a chip very similar to the 18f4520, differing in two important respects:

  • It has a built-in USB transceiver, so you can do USB communication with it.
  • It has a 12-bit analog-digital converter (ADC) as opposed to a mere 10-bit one.

Programming the 18f4553

If your version of the CCS compiler does not list the 4553 as a supported device, you can just program for the 4550, which is almost exactly the same except that it has only a 10-bit ADC. However you will need to update your ICD firmware so that it recognizes the PIC. Save this file to your "C:\Program Files\PICC" directory: [Image:icd-images-firmware-02-51.fw]. Then plug in your ICD and run "C:\Program Files\PICC\icd.exe". Click "Update Firmware", then select "Other" and browse to the file you save. Then hit "Ok" to update the firmware.

If you're programming for the 18f4550, when you hit Program in CCS you'll need to confirm that it's OK that the code wants a 18f4550 while the detected target is a 18f4553.

See Also

USB Communication with PC

USB Bootloading