Author Topic: Is possible to program a PIC using MASM?  (Read 1125 times)


  • Regular Member
  • *
  • Posts: 17
Is possible to program a PIC using MASM?
« on: September 09, 2016, 04:35:22 PM »

I have a bit of time between now and Christmas (just taking care of my kids) and was thinking about creating a fan controller for this cooling pad.
The fans are in the perfect position for my HP Envy M6.

So I was thinking of using a PIC so that I could interface it via USB and then create a small driver for windows (In ASM if at all possible?) for control.

There are a lot of circuit diagrams on the web so that is not a problem (I'm ok at reading circuit diagrams and creating test bread boards), but I would like to use masm to program the PIC rather than use another ASM variant.

Has anyone done something like this? Thoughts? Advice?

Kind regards.


  • Member
  • *****
  • Posts: 1553
Re: Is possible to program a PIC using MASM?
« Reply #1 on: September 09, 2016, 05:29:59 PM »
Programming a PIC with MASM is impossible (totally different architectures ), but you can write software in MASM to communicate with the microcontroller via USB on your PC.
You need a programming device to program/flash a PIC and a "PIC assembler or c/c++ compiler" to write software for the PIC microcontroller.
Don't know if there are PIC's with usb controllers onboard, else search "FTDI" for usb connection between a microcontroller and a PC.
I have converted the FTDI include files to MASM in case you need them.
Creative coders use backward thinking techniques as their strategy.


  • Member
  • *****
  • Posts: 1378
  • Anybody out there?
Re: Is possible to program a PIC using MASM?
« Reply #2 on: September 13, 2016, 05:48:22 AM »
I haven't looked at the PIC Dev kits for yonks, but other than Siekmanski says..
You're best off with buying a PIC programmer Dev kit from Microchip (or agents - Use legal agents otherwise nothing works).
These kits have all the hardware and usb drivers..

I can tell you they easy to use and hassle free.. don't waste your time re-inventing the wheel
'Sire, Sire!... the peasants are Revolting !!!'
'Yes, they are.. aren't they....'