Thanks. I got it.... now where can I find a good basic tutorial for PICBasic?? I only have PIC16F876A, but I can buy some different PIC's if they are necessary.
Thanks for the help.
Thanks. I got it.... now where can I find a good basic tutorial for PICBasic?? I only have PIC16F876A, but I can buy some different PIC's if they are necessary.
Thanks for the help.
Welcome,
Sample programs can be found here
http://www.melabs.com/
and here
http://rentron.com/
Bruce is working on a book also.
The manual has the basics and read this forum for the trickier stuff.
This is also a good place to go
http://www.picbasic.co.uk/forum/forumdisplay.php?f=16
At the bottom of the page select "From the Beginning" to see all of the threads.
Dave
Always wear safety glasses while programming.
OK, I thought I had it, but I don’t. Although my programmer is working, the files created in MCS are not being loaded into the PICkit 2 program.
When "compile and program" is selected in MCS, the file is compiled with no errors and the PICkit 2 programmer window opens. Then my programmer lights up and the PICkit 2 programmer shows a successful program loaded into the PIC. Unfortunately, all that is loaded is blanks (all “3FFF”).
Somehow the HEX file is not being loaded into the PICkit 2 software.
I don’t know if I am explaining this well, but can anyone help? Could this be that I left the last step out during the programmer setup? It was a blank box that had somthing to do with linking the HEX code. I didn't know what to enter there.
Last edited by KrashKaloop; - 7th September 2008 at 03:13.
Hi KrashKaloop,
Welcome to the forum.
Just went through the same problem. The PICkit2 is new to me too.
I found that the top box, of the three boxes, in the lower right-hand corner, of the single screen, PICkit2 programming window, labeled [“Auto Input Hex + Write Device”] worked.
But, you have to know (remember) where MCS put the hex file and what it is called.
You know you have the hex file loaded (ready to progam) when it shows up in the PICkit2 [Source:] window.
-Adam-
Ohm it's not just a good idea... it's the LAW !
Thanks Pic User,
Yes, I knew that the upper button would import and write the file to the PIC and you can also use the file menu to open a HEX file and then program the PIC. But I thought there was a way to compile and load the current file from MCS into PICkit2. I guess if I have to load the file manually each time, I certainly can, but I thought there was a one click procedure available to get the file over to the PICkit2.
You are some how using the PICKIT2 software with the clone you have?
When you get a real PICKIT there is no reason to mess with MCS like you are trying, Just follow Adam's instructions. Works great.
Dave
Always wear safety glasses while programming.
Bookmarks