Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 216474

Forum Post: RE: Using F2808 With Multiple SW Images ...

$
0
0

Hi David,

                    I just finished the bootloader and I'm able to flash the piccolo with new application data using the hex file generated by hex2000. It works great, but I'm still having problems with the Entry Point. As I mention before, the Entry Point of the Main app is :

BEGIND      : origin = 0x3F0000, length = 0x000002

But looking at the map file generated by the hex2000, the Entry Point is:

ENTRY POINT SYMBOL: "code_start"  address: 003f04d0

Using a soft app Im able to download this hex file (generated by hex2000) to the piccolo using the scia port. But if  I use the Entry Point generated by the hex2000 the main app never start.

I have to change the hex file manually to the Entry Point defined by me (0x3F0000) to start the Main app. I guess the solution will be to change the Entry Point of my app to 0x3F04D0 but I'm trying to understand why is this happening. What happens if I decide to change the Entry Point of my main app, Do I have to change the Entry Point in the cmd file by the Entry Point that appears in the map file once I finish to compile the main app in CCS? How can I sove this issue?

How can I modify the cmd file of the main app to get the same Entry Points (the one specified by me and the other specified by the map file)?

Regards

Gastón


Viewing all articles
Browse latest Browse all 216474

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>