i already have the microcontroller working with a 20MHZ cystal. I had to follow this line of your code
Code:
__config _HS_OSC & _WDT_OFF & _LVP_OFF & _CP_OFF &_BODEN_OFF
and set it in the icprog's configuration before burning the program.
after that, i went back to interfacing the pic16f877a to the vinculum and burned the program back in post #87 (with 84 as the code for the baud rate) to the pic . but then the same problem occurs. the operation halts when the pic encounters a serin2 command.
I know im doing something wrong because the vdip works perfectly with the max232.
i was thinking about you code. you were using the code 8588 which is equal to 2400 as the baud rate for your pic right? and you mentioned that the baud rate you used with your vdip was 4800. can you tell me that reason behind that? why does your vdip and your pic have different baudrates?
also, did you notice anything wrong in my code in post #87?
I have to say thank you for all your help.
Bookmarks