Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with running my program after writing flash [solved]
#1
Hi,

yesterday I compile the ds30loader for pic16f887.
I can write my programm (which I tested before without bootloader) with the ds30loader to flash:

Initiating write...
Searching for bl .
Found PIC16F887 fw ver. 1.0.1
Waiting for bootloader to be ready...ok
Parsing hexfile...
File timestamp: 18.08.2011 13:31:21
Validating hexfile...ok
Hex file successfully parsed
Writing flash...ok
Tx 24,4kB / Rx 1,5kB / 42,9s
Write successfully completed

But after writing nothing happens. My program doesn't run.
Can you help me?

I use the Hi-Tech (Lite) compiler in MPLab and flash the pic16f887 with PICKIT3-Programer

Best regards
Chris
Reply
#2
Hi,
Please upload the hex file you are writing and if possible read the entire flash after writing and upload that file to.
What settings have you set in the gui?

Thanks,
Mikael
Reply
#3
Hi,
my ds30Loader GUI configures are:
Device: PIC16F 887
Baudrate: 9600
COM1

Hex-Files:
Bootloader on PIC: ds30loader.txt
Blinking LED on Port RD1 (Userprogram): led.txt
After loading the LED-Program via bootloader to PIC it has the hex-file: pic_read.txt

Bootloader-Setting-File: settings.txt
(External Clock: 20 MHz)

Thanks for your help!

Regards
Chris


Attached Files
.txt   led.txt (Size: 370 bytes / Downloads: 9)
.txt   ds30loader.txt (Size: 1.1 KB / Downloads: 10)
.txt   pic_read.txt (Size: 46.47 KB / Downloads: 10)
.txt   settings.txt (Size: 4.26 KB / Downloads: 10)
Reply
#4
Thanks! There is a bug that affects application with the entry in the beginning of the flash and a PIC with flash smaller than 0x2000.
Try this new version of the gui or console:
[broken link]

Mikael
Reply
#5
Ok, the new client version of August 20th 2011 ([broken link]) fix my problem!
Thanks a lot!!!
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)