I have had great success with and highly recommend the following development configuration:
Compiler: PICBasicPro (comes with MicroCode Studio lite...more than adequate)
Editor: MicroCode Studio (lite version is good enough if you don't need debugging)
Programmer: PICkit2 Starter Kit
Development Board: Either the development board that comes with the Starter Kit or your own development board with an ICSP 6-pin header installed on it so it will interface with the PICkit2.
Once you set up the "Compile and Program Options" on MicroCode Studio it will:
1) Recognize you are using PICBasicPro compiler
2) give you choice of using MPASM hex compiler or the PM compiler,
3) Load your code file into the editor
4) permit you to edit, print and compare code file versions in side-by-side button controlled windows,
6) compile your code into a hex file which is automatically saved at a specific location for you to find,
6) automatically launch PICKit2 programmer with presettings for your chosen MCU device and for the _config settings from your code,
Once PICkit2 automatically launches per above all you have to do is point it to your hex file location on your computer drive using its "Auto Import Hex & Write Device" button and it will program your device for you. Once programmed you can use various features of PICkit2 to:
1) run program on your development board,
2) review the programmed hex code that resides in the device in a listing of the hex code as programmed in each program memory location,
3) review the created data in data memory locations after running the program.
This is a very efficient way to develop programs and test them on your chosen device....and for a very low cost if you already own PICBasic Pro....MPASM and MCU lite are included free and PICkit2 is less than $50. And I don't work for or get any commissions from any of the companies who have these products. I just learned after a lot of experimentation this was a good setup.
Welcome to PICBasic programming and I hope this might help you get started.![]()





Bookmarks