Problem with running my program after writing flash [solved] - Printable Version +- ds30 Loader free edition forums (https://picbootloader.com/forum) +-- Forum: Support (https://picbootloader.com/forum/forumdisplay.php?fid=3) +--- Forum: 8-bit firmwares (https://picbootloader.com/forum/forumdisplay.php?fid=7) +--- Thread: Problem with running my program after writing flash [solved] (/showthread.php?tid=394) |
Problem with running my program after writing flash [solved] - Chris - 2011-08-18 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 RE: Problem with running my program after writing flash - Mikael Gustavsson - 2011-08-18 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 RE: Problem with running my program after writing flash - Chris - 2011-08-18 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 RE: Problem with running my program after writing flash - Mikael Gustavsson - 2011-08-19 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 RE: Problem with running my program after writing flash - Chris - 2011-08-20 Ok, the new client version of August 20th 2011 ([broken link]) fix my problem! Thanks a lot!!! |