2015-06-02, 18:20:08
I have an old copy of DS30 I used it a few years ago with a PIC24H and had no problems, but I am now trying to use it with a PIC18F45K20 but I have not been successful to make it work. I seem to compile correctly with MPLAB 8.92 I can compile, generate a hex file and program the device but when I use the gui loader all I get is time outs. I did further hardware debugging and found that I am receiving the correct data from the loader on to the PIC RXD pin, however the TXD pin on the PIC is always low and never sends any data out. It appears that the UART is not being setup correctly. I have set the Settings.inc file so the UART1 is selected and the correct TRIS pins are set for TXD, but I cannot get this to work at all.
The PIC is setup as follows:
PIC18F45K20
crystal= 8.388608 MHz
The fuse bits are:
Oscillator = HS
NOPROTECT
WDT timer is ON
NOPUT
NOLVP
WDT prescaler = 128
MCLR pin is active
NODEBUG
using UART1 (only one available) at 9600 baud
I have attached my 2 build files that I modified. (settings.inc and ds30loader.asm)
PLEASE...Any help with the above would be greatly appreciated.!!
The PIC is setup as follows:
PIC18F45K20
crystal= 8.388608 MHz
The fuse bits are:
Oscillator = HS
NOPROTECT
WDT timer is ON
NOPUT
NOLVP
WDT prescaler = 128
MCLR pin is active
NODEBUG
using UART1 (only one available) at 9600 baud
I have attached my 2 build files that I modified. (settings.inc and ds30loader.asm)
PLEASE...Any help with the above would be greatly appreciated.!!