I recommnad mikroBasic compiler from MikroElektronika You can download a demo version -up to 2k hex file- for free After you compile your code.. A note of caution when using this programmer to program devices in-circuit VDD 5V is only generated during actual programming. Otherwise voltage on the VDD header pin is close to ground. If you try to connect this programmer to a live board it will essentially short the board's 5V to ground, which, depending on the design, can lead to problems.
Microchip's PICKit2 programmer doesn't have this issue and, in my experience, can program boards that are powered on. The 16F84 was replaced by the 16F84A, but they're pin-compatible, so any programmer that handles the "A" version will still work with the older non-A version.
This includes the PICKit 2. The mplab ide2 doesn't work because of the usb driver fails. I found nothing about this How would I use this programmer to program my PIC 18f in circuit with a 2 x 5 header?
Is there a cable for that? Thanks, Danny. Does anybody got this unit to work with Windows 7? After plugging it in, Windows complains it doesn't recognize the device. The supplied drivers don't seem to work with Windows 7. Furthermore, the documentation is very very limited Is this programmer compatible with Piklab in Ubuntu?
I really don't feel like installing windows just for programming PICs. ICSP is the only way to programming it! It's a good product. The ZIF sockets are nice. It seems like a decent cheap programmer, but is it too good to be true assuming I only want to use supported chips?
If you could give the reasons why a type is better, it would make it much easier for me to decide for myself! Thanks in advance Matt. Super Member. I would recommend paying a little more and getting a PICkit3. That lets you do direct debugging in-circuit, which can be VERY useful. I also post at: PicForum. IMHO, they're the best today. The programmer you selected has very small selecton of PICs it can program. If you get PICKit3, you can program just about anything. Aussie Susan. While it might be a bit more expensive in the short term, you should also look at some of the development boards like the Explorer It really depends on where you want to end up, and also what processors and processor families you might want to use but some of these boards allow for replaceable devices and also provide some pre-populated peripherals such as an LCD, EEPROMS etc..
I personally have a dislike of breadboards as they can introduce too much capacitance on some pins and some devices have been known to have limits on the frequency of crystals they can use because of this. Regardless I certainly agree with the suggestion to get a PicKit3 programmer; I've played with PicKit2s and clone devices and I've always been disappointed. The PicKit3 is not perfect but it will save you a lot of time and troublein the long run.
Whatever else you choose - please do not buy a K programmer. There is no support for many PICs including the entire enhanced range, it is a buggy as hell and there is no back-up support. Buy a genuine pickit 2 or 3 or one of the better clones e.
Can't say I can really fault the advice for a pickit 3 but if a pickit 2 falls your way then that is just as good in most cases Thanks for the quick replies everyone. It seems I can't or rather shouldn't go for anything cheaper than the PicKit3. I just want to make sure there's nothing I really need to watch out for when choosing a PIC from this range?
It's just I am a complete newbie and don't want to find myself too out of my depth I would say - Don't bother with the 8 or 16 bit families but go directly for the PIC These are available in 28pin PDIP packages and have a lot more memory both flash and ram and a lot more processing power. Hmm, would you like to clarify on that statement? A Guy on the Net. Configuration bits are device dependent, so check the data sheet for the chip you are using for more information. Since these are chip dependent, check the data sheet for more information about what each does.
Unless you are using an external crystal, leave set as Internal RC oscillator. See data sheet for other oscillator configurations. Note: this will not turn on the PLL, it will only enable it. It is recommended to enable it. Watchdog Timer -- The watch dog timer is used to ensure the processor will not lock up.
It however makes it much harder to debug. It is recommended to disable it while initially programming, and only enable it after the project is nearly done. Leave all of these disabled. If unsure about a setting, it is usually safe to leave it default. After all configuration bits have been set, click the "Generate Source Code to Output" button at the bottom of the panel.
The panel will now switch to the Output tab. Clean and build the project again by clicking the broom and hammer icon. Ensure the build was successful. Also check to make sure there was no errors in the output If everything has worked move on to the next step. If there are errors or warnings fix them before moving on.
The next step is to start programming; however, before we get to the application code we must program the system code. The system code are the low level functions such as configuring the oscillator and basic delay functions. Determining Settings Before we can program the settings, we must choose what speed we would like to run at. If you are using the internal oscillator then use the settings relating to INTIO1 On the next page or two you will find a schematic drawing of the oscillator similar to the one shown.
It is helpful to trace the signal on this drawing to ensure the correct speed is being selected. The next step is to program these settings to the MCU. This is done by setting registers. IDLEN -- used to control the action of the sleep command.
Can be left as default. IRCF -- Oscillator selection. Remove the comments in that function. To set the bits of a register type in all caps the register name, followed by the lowercase word bits and then a period and the bit name. To set the bits follow that with an equal sign. Lastly end the line with a semi-colon.
We supply Asix PIC programmers commonly for production as they have lots of production friendly features, such as a Go button , serial numbering and a DLL interface. V programming voltage. As a single programmer for all your production needs, they take some beating. What about field updates?
0コメント