AnsweredAssumed Answered

I am attempting to port a project from CodeWarrior 10 to KDS 3.0.

Question asked by James Behrens on Sep 29, 2015
Latest reply on Oct 2, 2015 by James Behrens

I am attempting to port a project from CodeWarrior 10 to KDS 3.0. I have the code transferred and made all changes required to get it to compile. I am having run-time issues with the compiled code. I am not using the SDK. The 'C' startup code for CodeWarrior would disable the WatchDog timer. The KDS code does not do this. I resolved this problem by porting over the 'C' startup code from CodeWarrior that disables the WatchDog. As soon as I startup the SysTick Timer interrupt the system resets.

I looked at the generated hex file and the map file. I noticed that in the hex file the addresses of all interrupt vectors was off by one, in other words the hex file has SysTick at 0000:07E5x and the map file has it at 0000:07E4x.

Why are these addresses different ?

Could this be the source of my auto-reseting issue ?

Outcomes