What config fuses do you have set?
Hi Magu,
Disconnect the serial cable from the board.
The RX LED1 must stay ON after you release the push button "Program".
If the LED1 does not stay ON after you release the push button "Program",
then the program is not running in the PIC.
Note that when the serial cable is connected to the board, and you press
the "Program" push button, the LED will stay ON until the first 4 bytes are
received. (Until you press the button "Program Message To The Display EEPROM"
in the VB Application). After that the first 4 bytes are received, the LED is
toggled and will be toggled again after the next 4 bytes are received continuing
in the same way until the last byte of the message is received. So the LED is
blinking while receiving the data from the PC.
Again, with the serial cable disconnected, the RX LED1 must stay ON after you
release the push button "Program". If not, then the program is not running in the PIC.
Trent, can you please confirm my last sentence?
Best regards,
Luciano
maybe i am wrong, but when i load the .hex file in icprog, the oscilator is set to XT, but the datasheet from http://ww1.microchip.com/downloads/e...doc/40044b.pdf on page 97 says that for a 10Mhz oscilator, one should use HS. Am i wrong? Is the watch dog timer really necessary here? 10q
Hi Magu,
Yes, with a 10MHz crystal you must use HS.
The Watchdog Timer should be set to ON for PicBasic Pro programs.
* * *
What you can do:
If you have an oscilloscope you can test if the 10MHz crystal oscillator
is working. (Connect the oscilloscope probe to the PIN 15 OSC2/CLKOUT).
Also possible:
Remove all the ICs from the board with the exception of the PIC.
Program the PIC with a program that will make the LED1 on RA4 blink.
You will have to write a program yourself or find someone willing to do it for you.
(Note that you can use any programming language). Program the PIC with the HEX
file you get after compiling your program. Once you get to "blink LED1 program" running,
try again to program the PIC with the HEX file posted by Trent.
I don't use PIC microcontrollers so I cannot help you further.
Best regards,
Luciano
Last edited by Luciano; - 17th June 2007 at 15:05.
I don`t have PicBasic Compiler, it`s cost a lots of money. There it`s Another way to solve this problem ? .
I have realize when do i connect the the power wire without the serial wire, i press the program button, the led stay lit, but in 5-6 sec stops, and then again stay lit and on the led display the fisrt led on first ROW and seond ROW are lit. something is wrong.... but i don`t know what...
Bookmarks