Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
18F26K22 [solved]
#5
(2011-07-07, 22:17:26)Mikael Gustafsson Wrote: That looks as far as I can see. According to table 10-8 in the data sheet you should set tris bit to 1 for both tx and rx, I have never needed to do this before but it might be worth a try. If it still doesn't work I suggest you keep tris bits set to 1 if you try other things.

Mikael
Tried that initially. Worked on USART2 but not on USART1, so i tried setting TX to output but no change. As far as i can see there is no reason why it should not work. It just doesn't.
Although i have it working ok on USART2, i would still like to know why it doesn't work on USART1.
If anyone has a working bootloader for this chip on USART1 perhaps they can send in their code for comparison.
Reply


Messages In This Thread
18F26K22 [solved] - by hobbytronics - 2011-07-07, 14:14:52
RE: 18F26K22 - by Mikael Gustavsson - 2011-07-07, 14:46:32
RE: 18F26K22 - by hobbytronics - 2011-07-07, 15:16:01
RE: 18F26K22 - by Mikael Gustavsson - 2011-07-07, 22:17:26
RE: 18F26K22 - by hobbytronics - 2011-07-08, 11:08:53
RE: 18F26K22 - by Mikael Gustavsson - 2011-07-08, 11:16:16
RE: 18F26K22 - by hobbytronics - 2011-07-08, 14:27:39
RE: 18F26K22 - by Mikael Gustavsson - 2011-07-08, 15:51:10
RE: 18F26K22 - by hobbytronics - 2011-07-08, 16:31:40
RE: 18F26K22 - by Mikael Gustavsson - 2011-07-08, 23:22:36
RE: 18F26K22 - by Mikael Gustavsson - 2011-07-15, 16:46:18
RE: 18F26K22 - by strud - 2012-02-19, 20:37:45
RE: 18F26K22 - by Mikael Gustavsson - 2012-02-20, 22:33:07
RE: 18F26K22 - by ghu - 2012-03-25, 21:26:04
RE: 18F26K22 - by Tom-H-PIC - 2012-04-01, 23:23:07

Forum Jump:


Users browsing this thread: 1 Guest(s)