Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PIC24FJ256GB106
#2
Good news, I've got it working. Just needed to add the two lines below in the file: user_code.inc

; Receive, map pin (10 = 1010) to uart
bclr RPINR18, #U1RXR0 ;xxx
bset RPINR18, #U1RXR1 ;xxx
bclr RPINR18, #U1RXR2 ;xxx
bset RPINR18, #U1RXR3 ;xxx
bclr RPINR18, #U1RXR4 ;xxx
bclr RPINR18, #U1RXR5 ;xxx <<<<< added this line

; Transmit, map uart to pin
bset RPOR8, #RP17R0 ;xxx
bset RPOR8, #RP17R1 ;xxx
bclr RPOR8, #RP17R2 ;xxx
bclr RPOR8, #RP17R3 ;xxx
bclr RPOR8, #RP17R4 ;xxx
bclr RPOR8, #RP17R5 ;xxx <<<<< added this line

Great bootloader :-)

Many Thanks,

Neil.
Reply


Messages In This Thread
PIC24FJ256GB106 - by neil_p01 - 2014-08-15, 22:55:50
RE: PIC24FJ256GB106 - by neil_p01 - 2014-08-16, 11:02:41
RE: PIC24FJ256GB106 - by Pollux16 - 2014-08-16, 15:45:40
RE: PIC24FJ256GB106 - by Mikael Gustavsson - 2014-08-17, 12:04:45

Forum Jump:


Users browsing this thread: 1 Guest(s)