Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PIC18F26K22 troubles
#1
This is only the second time that I have used the ds30 loader bootloader and running into some issues.

I am using a PIC18F26K22. Using UART1. I have compensated for the BRG issue in the errata (must set BRG16 and BRGH). I have made sure all ports are correct for analog & digital (ANSELx registers).

I am running 16MHz, 19200 baud (also tried 9600). I can run check for bl and it gets recognized. version 3.0.2.

When I try to write, i get the following.

Initiating write...
Searching for bl .
Found PIC18F26K22 fw ver. 3.0.2
Waiting for the boot loader to be ready...ok
Parsing hexfile...
File timestamp: 8/25/2013 6:51:46 PM
Opening hexfile...ok
Validating hexfile...ok
Hex file successfully parsed
Writing flash....response timed out
Write flash failed
Tx 7 bytes / Rx 4 bytes / 15.5s
Write failed

I probed the pins of the PIC and see traffic. Files are zipped and attached. Any help would be greatly appreciated.


Attached Files
.zip   ds30 Loader.zip (Size: 923.12 KB / Downloads: 28)
Reply


Messages In This Thread
PIC18F26K22 troubles - by doubleeaz - 2013-08-31, 00:12:21
RE: PIC18F26K22 troubles - by Mikael Gustavsson - 2013-09-05, 20:10:59
RE: PIC18F26K22 troubles - by doubleeaz - 2013-09-12, 06:22:38
RE: PIC18F26K22 troubles - by Mikael Gustavsson - 2013-09-12, 22:04:36

Forum Jump:


Users browsing this thread: 1 Guest(s)