How do I know the PIC is programmed?
-
- Posts: 1
- Joined: Tue Nov 11, 2008 6:59 am
- Contact:
How do I know the PIC is programmed?
I am doing an essay for school and it may sound like an easy and simple question, but I wanted to know a few basics on how to know the PIC is successfully programmed. Any help would be greatly appreciated.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: How do I know the PIC is programmed?
Hello
Create a simple program to toggle the output on a single pin. If the pin toggles as it should then you know the device is being programmed. You can then take it from there.
Note: If the pin does not toggle as expected then this does not mean that the chip was not programmed correctly. It could instead be that your configuration settings are incorrect for your hardware.
If the pin toggles then you can be sure that the config data and the program have been specified and transferred correctly.
Create a simple program to toggle the output on a single pin. If the pin toggles as it should then you know the device is being programmed. You can then take it from there.
Note: If the pin does not toggle as expected then this does not mean that the chip was not programmed correctly. It could instead be that your configuration settings are incorrect for your hardware.
If the pin toggles then you can be sure that the config data and the program have been specified and transferred correctly.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel