2011-03-08, 01:15:11
(This post was last modified: 2012-12-23, 19:52:37 by Mikael Gustavsson.)
Hallo everybody,
I am using this software to create bootloader for pic18f87j50.
My software version is
-Windows installation ds30_loader_110115.exe (2MB)
-Firmware PIC18FJ 1.0.4
-ds30 Loader GUI 1.3.14
I make the changes in the settings.inc file :
list P=18F87J50; ;xxx
;-------------------------------------------------------------------
; User preferences
;--------------------------------------------------------------------
radix DEC
#define DEV_MODE 1 ;xxx
#define OSCF 20000000 ;xxx
#define BLTIME 2000 ;xxx
#define BLINIT 2000 ;xxx
#define HELLOTRIES 2 ;xxx
CONFIG WDTEN = OFF ;wathcdog timer
CONFIG STVREN = OFF ;stack over-/underflow reset
CONFIG XINST = OFF ;extended instruction set
CONFIG CP0 = OFF ;code protect
;CONFIG OSC = INTOSC ;oscillator
;CONFIG T1DIG = OFF ;T1OSCEN enforcement
;CONFIG LPT1OSC = OFF ;low-power timer1 oscillator
CONFIG FCMEN = OFF ;fail-safe clock monitor
CONFIG IESO = OFF ;Internal External Oscillator Switch
CONFIG WDTPS = 1 ;watchdog postscaler
;----------------------------------------------------------
I have external oscillator of 20MHz, and use UART1 (RC6, RC7) for serial communication. For programming I use MPLAB ICD2. My OS is Windows 7/32 bit.
When I want to check if there is bootloader I have no response from the pic (I receive "time out" information).
I have tested the serial communication with standards program and works fine, so there is no hardware problem.
Can someone help me and see what am I missing?
I am using this software to create bootloader for pic18f87j50.
My software version is
-Windows installation ds30_loader_110115.exe (2MB)
-Firmware PIC18FJ 1.0.4
-ds30 Loader GUI 1.3.14
I make the changes in the settings.inc file :
list P=18F87J50; ;xxx
;-------------------------------------------------------------------
; User preferences
;--------------------------------------------------------------------
radix DEC
#define DEV_MODE 1 ;xxx
#define OSCF 20000000 ;xxx
#define BLTIME 2000 ;xxx
#define BLINIT 2000 ;xxx
#define HELLOTRIES 2 ;xxx
CONFIG WDTEN = OFF ;wathcdog timer
CONFIG STVREN = OFF ;stack over-/underflow reset
CONFIG XINST = OFF ;extended instruction set
CONFIG CP0 = OFF ;code protect
;CONFIG OSC = INTOSC ;oscillator
;CONFIG T1DIG = OFF ;T1OSCEN enforcement
;CONFIG LPT1OSC = OFF ;low-power timer1 oscillator
CONFIG FCMEN = OFF ;fail-safe clock monitor
CONFIG IESO = OFF ;Internal External Oscillator Switch
CONFIG WDTPS = 1 ;watchdog postscaler
;----------------------------------------------------------
I have external oscillator of 20MHz, and use UART1 (RC6, RC7) for serial communication. For programming I use MPLAB ICD2. My OS is Windows 7/32 bit.
When I want to check if there is bootloader I have no response from the pic (I receive "time out" information).
I have tested the serial communication with standards program and works fine, so there is no hardware problem.
Can someone help me and see what am I missing?