Menu ▾ ▴

#311 VREG for pic18F14k50

None
open
nobody
None
1
2018-07-23
2018-07-23
No

hi -
I found a small-bug-let ( I think ).
In the config part of the hexfile for PIC18F14K50 (30002 = Cofig2L )

VREG must be set to '0' for 'non' PIC18-L-F14K50 devices
and '0' for PIC18-not-L-F14K50 devices.

It looks like this was fixed for 13K50, but missed for 14K50?

my (likey naive ) fix was to:
*** libgputils/gpcfg-table.c_orig 2018-07-23 17:35:37.239483533 +0200
--- libgputils/gpcfg-table.c 2018-07-23 17:12:23.056486359 +0200
** const gp_cfg_device_t gp_cfg_devices[] =
*** 11027,11033
***
{ "PIC18F13K50" , 12, PIC18F13K50_addrs },
{ "PIC18F14K22" , 11, PIC18F13K22_addrs },
{ "PIC18F14K22LIN" , 11, PIC18F13K22_addrs },
! { "PIC18F14K50" , 12, MCV20USB_addrs },
{ "PIC18F2220" , 11, PIC18F2220_addrs },
{ "PIC18F2221" , 11, PIC18F2221_addrs },
{ "PIC18F2320" , 11, PIC18F2320_addrs },
--- 11027,11033 ----
{ "PIC18F13K50" , 12, PIC18F13K50_addrs },
{ "PIC18F14K22" , 11, PIC18F13K22_addrs },
{ "PIC18F14K22LIN" , 11, PIC18F13K22_addrs },
! { "PIC18F14K50" , 12, PIC18F13K50_addrs },
{ "PIC18F2220" , 11, PIC18F2220_addrs },
{ "PIC18F2221" , 11, PIC18F2221_addrs },
{ "PIC18F2320" , 11, PIC18F2320_addrs },

Discussion

Anonymous
Anonymous

Add attachments
Cancel