2011-11-17, 16:17:19
(This post was last modified: 2012-12-22, 14:07:23 by Mikael Gustavsson.)
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
Gopal Jatiya
CTO
Brigosha Technologies
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
Gopal Jatiya
CTO
Brigosha Technologies