Hello!
I have a same problem with PIC18F26K22.
I use RS485 line, and I can not write flash.
Error is:
Initiating write...
Searching for bl . . . . . .
Found PIC18F26K22 fw ver. 3.0.2
Waiting for the boot loader to be ready...ok
Hex file successfully parsed
Writing flash.... response timeout
Writing flash...
Write flash failed
Tx 164 bytes / Rx 9 bytes / 3s
Write failed
Or:
Initiating write...
Searching for bl .
Found PIC18F26K22 fw ver. 3.0.2
Waiting for the boot loader to be ready...ok
Hex file successfully parsed
Writing flash....unknown response 0xFF
Writing flash...
Write flash failed
Tx 159 bytes / Rx 9 bytes / 0,5s
Write failed
But I can write the eeprom with same config:
Initiating write...
Searching for bl . . . . . .
Found PIC18F26K22 fw ver. 3.0.2
Waiting for the boot loader to be ready...ok
Hex file successfully parsed
Writing eeprom...ok
Tx 454 bytes / Rx 68 bytes / 3,8s
Write successfully completed
It work without RS485 perfectly:
Initiating write...
Searching for bl .
Found PIC18F26K22 fw ver. 3.0.2
Waiting for the boot loader to be ready...ok
Hex file successfully parsed
Writing flash....ok
Writing eeprom...ok
Tx 3,9kB / Rx 160 bytes / 5,6s
Write successfully completed
I have a same problem with PIC18F26K22.
I use RS485 line, and I can not write flash.
Error is:
Initiating write...
Searching for bl . . . . . .
Found PIC18F26K22 fw ver. 3.0.2
Waiting for the boot loader to be ready...ok
Hex file successfully parsed
Writing flash.... response timeout
Writing flash...
Write flash failed
Tx 164 bytes / Rx 9 bytes / 3s
Write failed
Or:
Initiating write...
Searching for bl .
Found PIC18F26K22 fw ver. 3.0.2
Waiting for the boot loader to be ready...ok
Hex file successfully parsed
Writing flash....unknown response 0xFF
Writing flash...
Write flash failed
Tx 159 bytes / Rx 9 bytes / 0,5s
Write failed
But I can write the eeprom with same config:
Initiating write...
Searching for bl . . . . . .
Found PIC18F26K22 fw ver. 3.0.2
Waiting for the boot loader to be ready...ok
Hex file successfully parsed
Writing eeprom...ok
Tx 454 bytes / Rx 68 bytes / 3,8s
Write successfully completed
It work without RS485 perfectly:
Initiating write...
Searching for bl .
Found PIC18F26K22 fw ver. 3.0.2
Waiting for the boot loader to be ready...ok
Hex file successfully parsed
Writing flash....ok
Writing eeprom...ok
Tx 3,9kB / Rx 160 bytes / 5,6s
Write successfully completed