Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pic24FJ256GB206 Bootloader problem [solved]
#1
Question 
Hi,

I am trying to configure bootloader firmware for my device pic24fj256gb206.
I followed all the steps given in the documentation.
I am getting the following error in the GUI after i restart the firmware and try to write my application.

Initiating write...
Searching for bl . (discarded null byte) . (discarded null byte) . (discarded null byte) response timed out
Found PIC24FJ256DA110
Firmware version timed out
Tx 3 bytes / Rx 5 bytes / 11.8s
Write failed

The settings that i have done is given below:

.equ __24FJ256GB206, 1

.equiv FCY, 4000000
.equiv BLINIT, 10000
.equiv HELLOTRIES, 2
.equiv BLTIME, 10000

.equiv USE_UART1, 1
.equiv BAUDRATE, 9600
.equiv USE_TXENABLE, 1
.ifdef USE_TXENABLE
.equiv TRISR_TXE, TRISB
.equiv LATR_TXE, LATB
.equiv TRISB_TXE, TRISB5
.equiv LATB_TXE, RB5
.endif

config __CONFIG1, JTAGEN_OFF/*JTAG*/ & GCP_OFF/*code protect*/ & GWRP_OFF/*write protect*/ & ICS_PGx1/*icd pins select*/ & FWDTEN_OFF/*watchdog timer*/ & WINDIS_OFF/*windowed wdt*/ & FWPSA_PR32/*watchdog prescalar*/ & WDTPS_PS1/*watchdog postscalar*/ &ALTVREF_ALTVREDIS
config __CONFIG2, IESO_OFF/*two-speed startup*/ & FNOSC_FRC/*oscillator selection*/ & FCKSM_CSDCMD/*clock switching and clock monitor*/ & OSCIOFNC_OFF/*OSC0/RC15 function*/ & POSCMOD_XT/*oscillator selection*/

Please let me know what can be the possible mistake? And how can i make it work.

Thanks in advance Smile

Gopal Jatiya
CTO
Brigosha Technologies
Reply


Messages In This Thread
pic24FJ256GB206 Bootloader problem [solved] - by gopal.jatiya - 2011-11-17, 16:17:19

Forum Jump:


Users browsing this thread: 1 Guest(s)