pls help, when first time to check pic the tinybld show:
Connected to \\.\COM1 at 19200
Searching for PIC ...
Found:16F 876A/877A
then i write flash to the pic:
Connected to \\.\COM1 at 19200
HEX: 23 min old, INHX8M,16Fcode+cfg, total=32 bytes.
Searching for PIC ...
Found:16F 876A/877A
WRITE OK at 15:25, time:0.156 sec
after finish i check pic again, show me this:
Interface to TinyBootLoader, v1.9.8
contact: claudiu.chiculita@ugal.ro
--------------------------------------------------------------------------------------------------
Connected to \\.\COM1 at 19200
Searching for PIC ...
Found:16F 876A/877A
Connected to \\.\COM1 at 19200
HEX: 23 min old, INHX8M,16Fcode+cfg, total=32 bytes.
Searching for PIC ...
Found:16F 876A/877A
WRITE OK at 15:25, time:0.156 sec
Connected to \\.\COM1 at 19200
Searching for PIC ...Not found,
ERROR!
i dont what is the problem hope anyone can help me.tq
Connected to \\.\COM1 at 19200
Searching for PIC ...
Found:16F 876A/877A
then i write flash to the pic:
Connected to \\.\COM1 at 19200
HEX: 23 min old, INHX8M,16Fcode+cfg, total=32 bytes.
Searching for PIC ...
Found:16F 876A/877A
WRITE OK at 15:25, time:0.156 sec
after finish i check pic again, show me this:
Interface to TinyBootLoader, v1.9.8
contact: claudiu.chiculita@ugal.ro
--------------------------------------------------------------------------------------------------
Connected to \\.\COM1 at 19200
Searching for PIC ...
Found:16F 876A/877A
Connected to \\.\COM1 at 19200
HEX: 23 min old, INHX8M,16Fcode+cfg, total=32 bytes.
Searching for PIC ...
Found:16F 876A/877A
WRITE OK at 15:25, time:0.156 sec
Connected to \\.\COM1 at 19200
Searching for PIC ...Not found,
ERROR!
i dont what is the problem hope anyone can help me.tq
Code:
#include <pic.h>
//========================================================================
// Configuration
//========================================================================
__CONFIG ( 0x3FF2 ); //configuration for the microcontroller
//=========================================================================
// Define
//=========================================================================
#define led1 PORTB //D0~D5
#define led2 RA0 //D6
#define led3 RA1 //D7
// main function (main fucntion of the program)
//==========================================================================
void main(void)
{
//set I/O input output
TRISA = 0b00000000; //configure PORTA I/O direction
TRISB = 0b00000000; //configure PORTB I/O direction
TRISC = 0b00000000; //configure PORTC I/O direction
TRISD = 0b00000000; //configure PORTD I/O direction
TRISE = 0b00000000; //configure PORTD I/O direction
//program start
while(1) //Infinity Loop
{
PORTA = 0x02;
PORTB = 0x2A;
}
}