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:
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:
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
Re-position code start address not working
Moderator: Benj
-
- Posts: 9
- Joined: Tue Oct 06, 2020 4:49 pm
- Contact:
-
- 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
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.
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
― C.S. Lewis