Problem with Bootloader

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Problem with Bootloader

3,590 次查看
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
标签 (1)
标记 (1)
0 项奖励
回复
2 回复数

781 次查看
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 项奖励
回复

781 次查看
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 项奖励
回复