LakisFM1 - Yes, I have been playing with the 12F1840 for a while now. I only used very small programs for the 12F1840 until I purchased PBP3 that had full support for it. The advice I got here on the forum was to use the 16F1828 include file to allow me to compile code for the 12F1840, using PBP2.60. The steps I used are below.
1. Get latest PICKIT2 programmer firmware that supports programming 12F1840.
2. Modify "16F1828.inc" file to allow using Internal Oscillator and other options you want
3. I used PBP 2.60C with MicroCode Studio Plus V4.0.0.0
4. Create NEW program in Microcode Studio Plus for your 12F1840 (mine were very simple)
5. In Microcode Studio Plus, Choose Device = "16F1828"
6. Compile using MPASM
7. Open PICKIT2 application, select device "12F1840", then program device with your HEX file.
Once I got PBP3, compiling for 12F1840 works fine with no special tricks needed.
Maybe the above steps can help somebody who wants to try using PBP2.x with 12F1840, but I am very pleased with PBP3.
Sorry I have not used 12F1822.
Bookmarks