Thanks for that but it did not work to take a guess. Had to follow you advice and look in the datasheet :-)
I enclose the correct PPS code here in order not to lead anyone else on the wrong track.
At this point i can see the loader responding with device name and loader version.
However when actually using "write" it stops after a few characters. I tried 9600, 19200 and extending the TX enable delay.
Enclosed is the output from the GUI.
When I probe(screendump enclosed) the output pins for TX(yellow) and TXEN(blue) i get some funny results. It looks like TXEN goes low long before the transmit is finished. When examining your code i cannot see how that could happen.
Do you recognize the behavior above?
Thanks for your patience.
I enclose the correct PPS code here in order not to lead anyone else on the wrong track.
Code:
; Receive, map pin (14 = 1110) to uart ;(***Customized for RP22***)
bclr RPINR18, #U1RXR0 ;xxx
bset RPINR18, #U1RXR1 ;xxx
bset RPINR18, #U1RXR2 ;xxx
bclr RPINR18, #U1RXR3 ;xxx
bset RPINR18, #U1RXR4 ;xxx
; Transmit, map uart to pin ;(***Customized for RP7***)
bset RPOR3, #RP7R0 ;xxx
bset RPOR3, #RP7R1 ;xxx
bclr RPOR3, #RP7R2 ;xxx
bclr RPOR3, #RP7R3 ;xxx
bclr RPOR3, #RP7R4 ;xxx
However when actually using "write" it stops after a few characters. I tried 9600, 19200 and extending the TX enable delay.
Enclosed is the output from the GUI.
When I probe(screendump enclosed) the output pins for TX(yellow) and TXEN(blue) i get some funny results. It looks like TXEN goes low long before the transmit is finished. When examining your code i cannot see how that could happen.
Do you recognize the behavior above?
Thanks for your patience.