Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
18F25K20 again ?
#2
I cannot spot any problem with your code. I assume that the uart is working in your application. Try these changes:

1.
-change baud rate to 9600

2.
-enable brg16

3.
-change baud rate to 9600
-enable auto baud rate detectio in both fw and gui

4. Check oscillator frequency. Test code is available in ds30loader.s:
Code:
        ; Toggle pin, frequency on pin = PIC frequency / 16
        if 0
            bcf    TRISx, TRISxx
tsfloop        bsf LATx, LATxx
            bcf LATx, LATxx
            bra tsfloop
        endif
Reply


Messages In This Thread
18F25K20 again ? - by Mr_Booo - 2014-06-06, 20:48:52
RE: 18F25K20 again ? - by Mikael Gustavsson - 2014-06-07, 20:52:50
RE: 18F25K20 again ? - by Mr_Booo - 2014-06-08, 16:10:40
RE: 18F25K20 again ? - by Mikael Gustavsson - 2014-06-09, 21:57:03

Forum Jump:


Users browsing this thread: 2 Guest(s)