Re-position code start address not working

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
David_Challenge
Posts: 9
Joined: Tue Oct 06, 2020 4:49 pm
Contact:

Re-position code start address not working

Post by David_Challenge »

I am trying to re-position the code start address for some code to make way for a bootloader. This is on a program I have just migrated from Flowcode 4 to Flowcode 8 and it worked fine on Flowcode 4.

I have added the -rb directive to the Compiler Options as follows:
Config Page.png
Config Page.png (17.39 KiB) Viewed 1503 times
But when I load the .hex file into MPLAB X IPE v5.40 it is not positioned at 0x800 but at the start 0x000 as follows:
IPE.png
IPE.png (192.72 KiB) Viewed 1503 times
What am I missing?

I don't understand why the linker is called "DoNothing.exe" that seems a bit strange and my concern is that it is ignoring the directive.

David

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: Re-position code start address not working

Post by kersing »

DoNothing does what the name implies: nothing. Adding arguments won’t make it do anything else, it still does nothing.

You need to modify the compiler settings which in FC8 does both compilation and linking of the code.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

Post Reply