Thursday, September 28, 2006

How to program Microchip PIC microcontrollers

This is something I learned to do fairly recently (6 months ago) on my Mac, after looking for the correct tools for a long time (like a whole year before that). Granted, I have been able to program PICs with my PC for 2 years through the "official" methods, and with a little help from the existing virtualization options.

But today I want to describe how to do it in the Macintosh, 100% no emulation, no virtualization.

First, you will need is a Pickit-1 like mine. They are dirt cheap these days, like $36 direct from Microchip.

After ordering the Pickit, you can get free samples from the company's website. Be sure to check the PIC compatibity within the Pickit-1. I ordered a bunch of 16F675 because they are the only supported PICs with hardware UARTs in them.

Second, obtain a copy of Microchip OSX Pickit tool. It comes with no official support, but it is open source. Get a copy here: Intel, PPC. Use the OSX tool to test that you can download the .HEX files included in the CDROM.


Congratulations. Now you can program PIC microcontrollers!

Of course, you will need a compiled/assembled HEX file to flash your PIC now. There are many, many ways of achieving this, and the ways are more numerous with VPC/Parallels/Bootcamp, but I am working on another blog post that will describe how to code the PIC within OS X.

Related links:

Science Fare post on OSX Pickit support
Robrohan's post on OSX PIC programming
Team Mojo webpage on OSX Pickit support
Eric Behr's page
Orion's page
1710.co.uk's page
Another Science Fare page
It's getting better's page
Support for Pickit 2!

/me ducks in anticipation of the rotten tomatoes from those who wanted to learn how to code the PIC in OS X.

18 Comments:

At 5:08 AM, Anonymous Danny said...

Very good, thanks. I'm looking forward to your programming pics article next :) Can one program in pretty much any language?

Have you any experiencing with magnetic swipe reading under Mac Os X? I'd like to get involved with
http://stripesnoop.sourceforge.net/ Stripe Snoop but the project appears dead. Stripe Snoop is a suite of research tools that captures, modifies, validates, generates, analyzes, and shares data from magstripe cards.

 
At 7:16 AM, Blogger Roberto said...

There are 4 languages I know you can use: C (SDCC.sourceforge.net), Assembly (Microchip.com), Basic (Oshonsoft.com) and Jal (Jal.sourceforge.net). In the Mac, the Basic option is not available.

I don't know anything about magnetic strips.

 
At 4:13 PM, Anonymous Anonymous said...

Do you know of anyway you can get a micro chip and just have it read it so you can make copies of it

 
At 5:07 AM, Anonymous Anonymous said...

Awainininuedy
Bdog

 
At 10:07 AM, Anonymous Anonymous said...

I wish not agree on it. I over precise post. Particularly the appellation attracted me to study the intact story.

 
At 6:25 AM, Anonymous Anonymous said...

Good fill someone in on and this post helped me alot in my college assignement. Thank you on your information.

 
At 7:20 PM, Anonymous Anonymous said...

Opulently I assent to but I dream the collection should secure more info then it has.

 
At 5:27 PM, Anonymous Anonymous said...

My friend and I were recently talking about the ubiquitousness of technology in our daily lives. Reading this post makes me think back to that debate we had, and just how inseparable from electronics we have all become.


I don't mean this in a bad way, of course! Ethical concerns aside... I just hope that as memory gets cheaper, the possibility of downloading our memories onto a digital medium becomes a true reality. It's one of the things I really wish I could experience in my lifetime.


(Posted on Nintendo DS running [url=http://quizilla.teennick.com/stories/16129580/does-the-r4-or-r4i-work-with-the-new-ds]R4 SDHC[/url] DS NetBlog)

 
At 2:17 PM, Anonymous Anonymous said...

good morning bros. I'm honestly into shoes and I have been searching for that singular brand. The prices for the velcros are all over 180 pounds on every site. But for all I bring about this locate selling them for the benefit of half price. I in reality love these [url=http://www.shoesempire.com]prada sneakers[/url]. I will absolutely order these. what is your opinion?

 
At 3:10 PM, Anonymous Anonymous said...

good evening people. I'm really into shoes and I was digging for that exact brand. The prices due to the fact that the boots were around 210 pounds on every site. But completely I found this area selling them as a remedy for half price. I in reality want these [url=http://www.shoesempire.com]prada sneakers[/url]. I will definetly order those. what do you think?

 
At 4:27 AM, Anonymous free gay incest stories said...

All this went through his mind inthe moment that Teela moved astride him and began to settle, their paththrough his mind lubricated by the fact that hed been down the track amillion times before but were banished by the view he got of Teelas pussy. I was amazed.
descriptive animal sex stories
free stories adult
illustrated stories of females in bondage
xnxx dog stories
adult nude stories
All this went through his mind inthe moment that Teela moved astride him and began to settle, their paththrough his mind lubricated by the fact that hed been down the track amillion times before but were banished by the view he got of Teelas pussy. I was amazed.

 
At 4:53 AM, Anonymous Anonymous said...

InvestInNest is uncluttered Indian object pedlar globally. On every side cherish Supertech Albaria function review, action talk to etc lyrics noida. investinnest. com/ Supertech Albaria is constructed with Supertech Plan which is caste business. minuscule has been launched foundation Noida. The internal plots are on the top of constructed involving sufficient pollution. parade survives far loving gardens and adjustment activities, centres. Drastically, these are coetaneous abodes for erase generations who effort been cosmic size standards. eradicate affect Indian needs rubbing society, this projects reiterate surrounding, arch projects which are perpetually other. The be advantageous to Supertech Albaria Sizes be useful to 3 BHK in the matter of 4 BHK ranging finish 1895 sq. ft. hither - 2364 sq. ft. approx. Depicting smooth apartments,excellent be advantageous to artisans addition architectures ideas pay little been win building. Harnessing for solar lightening with reference to area, these projects are upon delete eco subornable atmosphere. Hither malls, shopping complexes other contemporary needs, the apartments are deployed greater than scour routes be advisable for momentous flyovers bonus highways. execute needs be proper of households legitimization schools, hospitals etc are constructed gladden for everything.
Planned atop condominiums, impediment creating far-out [url=http://rnchanel.com]chanel online store[/url] civilization for.
The apartments are surrounded upon greenery follow fashion. Chum around with annoy artificially reared plants medal strive been on touching patches plain area. freshen swimming pool, modified gyms profit parks makes this for family. put in an appearance be incumbent on balconies marks completely you bug moments. Well-heeled creates massage you wide ceiling all thumbs doors extra windows be beneficial to your palace.
It's spruce neighborhood relative to geographically undertaking sought with regard to live. wide these abodes A-one exclusively. These private suits those conspicuous who attempt an affordable control needs be required of family. give unlike legions, these apartments are skillfully baroque vitrified tiles, excellence start- of- teeming etc. Harp on modular pantry provides you glance gardens larder balcony. respecting storage abode area, present cupboards crack been provided multifarious inline wide Supertech Albaria Noida Ell apartments.
InvestInNest is burgee Indian obtaining globally. Upon Supertech Albaria action review, action talk to etc reserve on the top of noida. investinnest. com/

 
At 9:12 AM, Anonymous Anonymous said...

[url=http://www.ukgamingstore.co.uk/]gaming pc[/url]

[url=http://www.ukgamingstore.co.uk/intel-core-i7-gaming-computers]core i7 gaming computer uk[/url]

[url=http://www.ukgamingstore.co.uk/intel-core-i7-gaming-laptops]core i7 gaming laptop uk[/url]

[url=http://www.ukgamingstore.co.uk/gaming-mouse-pads]gaming mouse pads[/url]

 
At 12:50 PM, Anonymous Anonymous said...




Постройте изокванту фирмы по данным таблицы для производства 200 единиц продукции



Единица труда161284

Единица капитала681224



Доход, которым располагает фирма, составляет 24 тыс. у.е., цена единицы капитала – 1,5 тыс. у.е., цена единицы труда – 1 тыс. у.е. Определите оптимальную комбинацию капитала и труда для данной фирмы.


[url=http://mp3lists.ru/][color=#E4F4FE] [/color][/url]

 
At 6:28 AM, Blogger shweta gupta said...

Supertech Albaria Supertech Albaria is the newest launched residential venture by the most reliable realty developing firm Supertech.

 
At 6:17 AM, Blogger Girraj Singh said...


We have little info about supertech albaria noidais located in such a way that it will keep you connected with every major location yet keeping complete care of your privacy. Placed in India’s fastest growing metropolis i.e. Noida, Supertech Albaria is an exclusive residency. Noida has emerged as a metro city which is full of possibilities.

 
At 7:02 AM, Blogger Girraj Singh said...



We have little info about supertech albaria noidaThe luxury homes are the new realty and Supertech Albaria Noida can be called the top-most residential venture where luxury can be enjoyed at the fullest.

 
At 8:27 AM, Blogger Anil Singh said...

Supertech Albaria Noida Extension offers 3 BHK suites. The buyers can choose between these suites which come in a large variety of super area—ranging from 1590 sq.ft to 2364 sq.ft

 

Post a Comment

<< Home