PDA

View Full Version : 18F4520 44 pin



ferrousduke
- 27th February 2008, 10:46
Hi I am looking for a cheap debugger programmer for PIC18F4520 44 pin microcontroller. planning to buy one stepper motor with it may be some sensor as well. I saw olimex have sort of prototyping boards. can I program controller with it and at the same time carry input output operations on it? any suggestions?

mackrackit
- 27th February 2008, 12:08
If you need a programmer, go with the PICKIT2
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en023805
and a breadboard.

ferrousduke
- 28th February 2008, 10:52
and how much does it cost altogether?

mackrackit
- 28th February 2008, 12:50
I would go with the PicKit only. $34.99. I purchased the Debug kit, never have used the board that cam with it.
http://www.microchipdirect.com/productsearch.aspx?Keywords=PG164120

I have been using these bread boards. More than one can snap together for larger projects. $4.00 each.
http://www.allelectronics.com/cgi-bin/item/PB-400/105/SOLDERLESS_BREADBOARD,_400_CONTACTS_.html

And your choice of headers for the connection.
http://www.allelectronics.com/cgi-bin/category/192/Headers.html

So $50.00 plus should get you a couple of bread boards, headers and programmer. Plus shipping.

ferrousduke
- 14th March 2008, 08:10
Hi.
bought some electronics. OEM-PICKIT2 programmer, Olimex PIC-USB-4550 prototyping board, PIC ICSP connector, RC servo. attachiing the photos with this message. Now the problem is MPLAB IDE does not have any support for Pickit2. program for PICkit2 can only load .hex files. so I need to compile my source code into .hex format. are there any useful programs for this? I have got CCS C but can not support PICkit2 and I can not get .hex as well.

so I m sort of stuck.

skimask
- 14th March 2008, 12:55
Now the problem is MPLAB IDE does not have any support for Pickit2
I thought the latest MPLAB did have PicKit2 support...


program for PICkit2 can only load .hex files. so I need to compile my source code into .hex format. are there any useful programs for this?
MPLAB for doing straight assembly code...
PicBasicPro for doing PicBasicPro, which compiles to assembly, which MPLAB assembles, into hex code.


I have got CCS C but can not support PICkit2 and I can not get .hex as well.
wrong forum...

mackrackit
- 14th March 2008, 13:51
Yep, wrong forum. But if you do succeed in getting a hex file out of the program you have
http://www.ccsinfo.com/faq.php?page=standalone
and I wish you luck.

The PICKIT2 can be set up so that when ever it see a ne hex it will automatically program the chip. I leave it running in the background when I am working.

Give PB a try
http://www.melabs.com/pbpdemo.htm