View previous topic :: View next topic |
Author |
Message |
Badwoef
Joined: 12 Jul 2019 Posts: 3
|
Pic18F46k22 Bootloader? |
Posted: Fri Jul 12, 2019 4:35 am |
|
|
Good day all, have anybody got the CCS bootloader to work on the 18F46k22?
Have been trying for a long time now, got it working once but never wanted to load again. Would appreciate it if someone could share their loader.c and load.c files as I have to get a reliable bootloader working.
Thanx in advance. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Sat Jul 13, 2019 7:24 pm |
|
|
Post your CCS compiler version, and please don't let it be vs. 5.008 or
some low number like that. |
|
|
Badwoef
Joined: 12 Jul 2019 Posts: 3
|
|
Posted: Sun Jul 14, 2019 11:48 pm |
|
|
I am currently using ver.5.082 |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Mon Jul 15, 2019 1:31 am |
|
|
The CCS loader.c file says this at the top:
Quote: | The driver uses XON/XOFF flow control. Also, any buffer on
the PC UART must be turned off, or to its lowest setting,
otherwise it will miss data. |
Did you enable XON/XOFF in Windows ? |
|
|
Badwoef
Joined: 12 Jul 2019 Posts: 3
|
|
Posted: Mon Jul 15, 2019 1:44 am |
|
|
Yes I did, I am not really sure what the memory mapping settings should be and suspect that this might be the problem. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Mon Jul 15, 2019 1:55 am |
|
|
If the #org settings are wrong, it won't compile. Does it compile with
no errors ? |
|
|
|