kiran bhat

Changing Start-up address for S12zvca

Discussion created by kiran bhat on Jun 22, 2016
Latest reply on Jun 24, 2016 by kiran bhat

Hi

I am using MC9S12ZVC evaluation board and Code warrior 10.6 for development of boot loader. Currently i am facing issue in startup address change. By default the statrup adddress is

VECTOR 0 _Startup /* reset vector: this is the default entry point for a C/C++ application. */

but i want to change this address to 0xFE90D0 which is a location in the flash memory. So i changed it  like

VECTOR ADDRESS 0xFE90D0 _Startup.

The code is just to blink led. PRM and code files attached.

When code is flashed with debug then works for first time and when restarted the controller no operation happens. If flah the code with run option then no operation from the beginning.

Original Attachment has been moved to: main.c.zip

Original Attachment has been moved to: mc9s12zvca192.prm.zip

Outcomes