ds30 Loader free edition forums
Application wont start - 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: Application wont start (/showthread.php?tid=647)



Application wont start - Northeastdiver - 2013-08-21

Hi,

I am trying to use the DS30 bootloader on a PIC18F46K20. I have modified the settings file as best as I could understand it and downloaded it to the PIC with a PICKIT2.

If I click on Check for BL I get, Found PIC18F46K20 fw ver. 3.0.2 every time, so I assume this is right so far.

Next I downloaded my application using the GUI and all was successful.

Initiating write...
Reseting device...ok
Searching for bl .
Found PIC18F46K20 fw ver. 3.0.2
Waiting for the boot loader to be ready...ok
Hex file successfully parsed
Writing flash....ok
Tx 56.3kB / Rx 1.5kB / 115.2s
Write successfully completed

However the problem I have is that the application doesn't start up.

There is nothing ticked in the advanced settings tab

The application is written in Flowcode, im not sure if I need to do anything in the application to make it start up after the bootloader has finished running.

Can you help me out ?

Im using version 1.5.7 of the GUI and Version 3.0.2 of the bootloader firmware.


RE: Application wont start - Mikael Gustavsson - 2013-08-22

Hi,
Please zip and attach the application hex file. Do you use the config bits from the application also in the boot loader?


RE: Application wont start - Northeastdiver - 2013-08-22

Hi,

Attached is my application in .Hex

I am using the same config in the bootloader as I am using in the application.


RE: Application wont start - Mikael Gustavsson - 2013-08-24

Hi,
I don't see any problem with your hex file. Please post the boot loader project.


RE: Application wont start - Northeastdiver - 2013-08-24

Here is the bootloader


RE: Application wont start - Mikael Gustavsson - 2013-08-25

The configuration bits are not identical. Please correct that first.


RE: Application wont start - Northeastdiver - 2013-08-25

Hi,

Im not sure how to, I have looked and they both seem the same to me.

Can you see which parts are not the same??


RE: Application wont start - Mikael Gustavsson - 2013-09-05

Hi,
Sorry for the late reply. I've been on vacation.

I imported the application and the boot loader files in MPLAB IDE and compared the values in the configuration bits window.