Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Application wont start
#1
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.
Reply
#2
Hi,
Please zip and attach the application hex file. Do you use the config bits from the application also in the boot loader?
Reply
#3
Hi,

Attached is my application in .Hex

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


Attached Files
.zip   Firmware.zip (Size: 34.01 KB / Downloads: 4)
Reply
#4
Hi,
I don't see any problem with your hex file. Please post the boot loader project.
Reply
#5
Here is the bootloader


Attached Files
.zip   firmware_PIC18F.zip (Size: 137.7 KB / Downloads: 3)
Reply
#6
The configuration bits are not identical. Please correct that first.
Reply
#7
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??
Reply
#8
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)