skot9000 RSS

Archive

Dec
23rd
Wed
permalink

Programming PICs on the mac = cheap and easy!

I really like playing with Microchip PIC microcontrollers, and I really dislike using windows. You can imagine my excitement when I realized I could finally program PICs directly from my mac, without using windows.

Microchip sells the USB PicKit 2 ICSP programmer for $34.99 from the microchipDIRECT site. Order using your .edu email address and you will get 25% off. (there are other ways too, check this for more info.)

Once you have the PicKit2, download the OS X drivers (scroll down halfway to the downloads section). Follow the enclosed readme to easily install the drivers.

Next download the free Hi-Tech PICC C compilers. Installation is straightforward.

Now write your C code in any text editor (aquamacs emacs is my favorite) for your favorite Microchip part (PICC manual is included in download), compile using picc or picc18. See the documentation for your microcontroller for how to attach the PicKit2’s ICSP header. Now program your chip with pk2cmd and you are done!

Comments (View)
Dec
10th
Thu
permalink
Comments (View)
Oct
27th
Tue
permalink

Pencil Lust

Do I need a new pencil? the Staedtler Regulator is looking mighty nice.. http://www.jetpens.com/product_info.php/cPath/340_869/products_id/4701

Comments (View)
Oct
21st
Wed
permalink
The spectrum of thin lead drafting pencils runs from all metal rotrings to deep within the territory of mega-mass-produced disposable shit clickers sold by the carload full for the use of faceless populations of office drones.
— from the epic online drafting pencil museum; http://www.leadholder.com/ proud to be in the all-metal rotring category, the glorious 0.35mm Rotring 600
Comments (View)
Jul
16th
Thu
permalink

REAL assembly..

it hit me after writing this line;

andi $t0, $a1, 0x80000000

I am really doing assembly now!

Comments (View)