Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
18F87K90 configuration
#1
Hello,
I'm new to this bootloader. I downloaded the latest free version from the forum and did the following changes:

Code:
settings.inc
processor    18F87K90
#define        OSCF            18432000
;#define    USE_UART1        1
#define      USE_UART2        1
#define    BAUDRATE         57600        

user_code.inc
bsf TRISG, 2
bcf TRISG, 1
bcf ANCON2, 2

devices_PIC18F.inc
    ifdef    __18F87K90
        #include    P18F87K90.inc
        #define    IS_PIC18F    1
        #define    VALID_DEV    1
        #define    MAX_FLASH    0x20000
        #define    RAM_START    0x0
        #define    RAM_SIZEB    3862
        #define    DEVICEID    353
        #define    HAS_UART2    1
        #define    HAS_EE        1
        #define    BIGEE        1
        #define    PAGESIZEW    64
        #define    ROWSIZEW    64
    endif

configuration bits
CONFIG1L    5D
CONFIG1H    08
CONFIG2L    7F
CONFIG2H    7F
CONFIG3L    01
CONFIG3H    8B
CONFIG4L    91
CONFIG5L    FF
CONFIG5H    C0
CONFIG6L    FF
CONFIG6H    E0
CONFIG7L    FF
CONFIG7H    40

Questions:

1) I don't know where to find the in the ds the parameters of the device. In detail: RAM_SIZEB, DEVICEID, PAGESIZEW and ROWSIZEW

2) Am I missing something about the configuration of the serial port?

3) I compiled and successfully programmed the MCU using the PicKit 3. But I cannot connect to the bootloader. In fact the GUI doesn't have the 87K90 model listed. I cannot use this bootloader?

Thanks
Mark
Reply


Messages In This Thread
18F87K90 configuration - by _Mark_ - 2013-11-06, 15:34:09
RE: 18F87K90 configuration - by _Mark_ - 2013-11-06, 18:08:17
RE: 18F87K90 configuration - by _Mark_ - 2013-11-06, 21:16:31
RE: 18F87K90 configuration - by Mikael Gustavsson - 2013-11-08, 23:29:45
RE: 18F87K90 configuration - by Mikael Gustavsson - 2014-07-19, 17:52:41

Forum Jump:


Users browsing this thread: 1 Guest(s)