Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
18f87j50 bootloader help [solved]
#1
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?
Reply


Messages In This Thread
18f87j50 bootloader help [solved] - by goranst - 2011-03-08, 01:15:11
RE: 18f87j50 bootloader help - by goranst - 2011-03-08, 21:30:18
RE: 18f87j50 bootloader help - by kalain - 2011-03-26, 08:29:48

Forum Jump:


Users browsing this thread: 2 Guest(s)