Problem with Bootloader

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem with Bootloader

3,577 Views
Sealion
Contributor I
Hi,

I tried to use the serial bootloader on a 56f8356 with Codewarrior and the PE but it doesn't work.

The booloader look for the "waiting time at position 0x00002FFD but the main programm write on 0x1FFD and
I do not know, how change it.

Mike
Labels (1)
Tags (1)
0 Kudos
Reply
2 Replies

768 Views
ProcessorExpert
Senior Contributor III
Hello,
We have found this to be a bug in Processor Expert  (for the 56F8355 and 56F8356 derivatives).
The problem will be fixed to the next CodeWarrior update.
Here is a temporary workaround (in the application project):
  • Setup the project and generated the code.
  • Disable the re-generation of the linker command file by setting the property 'Generated linker file' in Build Options tab of the active CPU bean to 'no' .
  • Open the linker file ({targetname}.cmd) and find the line
           #Serial bootloader configuration section
           .xBootCfg        (R) : ORIGIN = 0x1FFD, LENGTH = 0x0003

    then change it to:

           #Serial bootloader configuration section
           .xBootCfg        (R) : ORIGIN = 0x2FFD, LENGTH = 0x0003

The only problem is, if you would need to change the memory layout or other linker-file related options, you would need to re-generate the linker file and make this change again.

Please let us know, if you will need further help.

best regards
Petr Hradsky
Processor Expert Support Team
UNIS
0 Kudos
Reply

768 Views
admin
Specialist II
Obviously I've run into the same problem (65F8356). I'm using toolchain 6.1 and I'm wondering where to get an update for that. Or would I have to upgrade to a complete new version, like 8.11? Would that still be included with the licence for 6.1? Any help on this is highly appreciated.

My best,
Andy.
0 Kudos
Reply