Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).
[MC9S12XDP512] How to jump to _Startup() from user code (Problem) - yadunandan kasu - Feb 7 6:14:25 2008
Hello all,
I am trying to develop the CAN communication between my PC
and the HCS12X starter kit which includes MC9S12XDP512 MCU.Here I am
facing a small problem at the initial stage itself.
As we know, the Reset vector is configured to _Startup().
But I modified the Reset vector to my own ISR _iProjectEntry() in
the .prm file and then I want to call the _Startup() inside my ISR
_iProjectEntry().
To call _Startup() inside _iProjectEntry(),I am using the following
instruction
__asm jmp _Startup;
But, the compiler is showing the below error,
"C12020: Unknown Operand Combination:
Instr:
/Opr1:/Opr2:"
can anyone please provide me correct information
Thanks to all of you
Kasu
______________________________
controlSUITE software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )
Re: [MC9S12XDP512] How to jump to _Startup() from user code (Problem) - kasu nandu - Feb 7 7:14:57 2008
Hi everyone,
I think i have to define the function prototype with extern for _Startup() function to
use it in my soruce file (e.g. XX.c). as below
extern void _Startup(void);
anyways, its working fine now ,,but if there are any suggessions, plz provide me
thanks to all again
Kasu
yadunandan kasu
wrote:
Hello all,
I am trying to develop the CAN communication between my PC
and the HCS12X starter kit which includes MC9S12XDP512 MCU.Here I am
facing a small problem at the initial stage itself.
As we know, the Reset vector is configured to _Startup().
But I modified the Reset vector to my own ISR _iProjectEntry() in
the .prm file and then I want to call the _Startup() inside my ISR
_iProjectEntry().
To call _Startup() inside _iProjectEntry(),I am using the following
instruction
__asm jmp _Startup;
But, the compiler is showing the below error,
"C12020: Unknown Operand Combination:
Instr:/Opr1:/Opr2:"
can anyone please provide me correct information
Thanks to all of you
Kasu
regards
Yadunandan Kasu(Nandu)
---------------------------------
5, 50, 500, 5000 - Store N number of mails in your inbox. Click here.
[Non-text portions of this message have been removed]
______________________________
controlSUITE software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )RE: [MC9S12XDP512] How to jump to _Startup() from user code (Problem) - Friederich Daniel - Feb 8 0:06:40 2008
That looks fine,
that's actually the same way a wizard generated project with Processor
Expert does it.
Daniel
-----Original Message-----
From: 6...@yahoogroups.com [mailto:6...@yahoogroups.com] On Behalf
Of kasu nandu
Sent: Thursday, February 07, 2008 6:11 AM
To: 6...@yahoogroups.com
Subject: Re: [68HC12] [MC9S12XDP512] How to jump to _Startup() from user
code (Problem)
Hi everyone,
I think i have to define the function prototype with extern for
_Startup() function to use it in my soruce file (e.g. XX.c). as below
extern void _Startup(void);
anyways, its working fine now ,,but if there are any suggessions, plz
provide me
thanks to all again
Kasu
yadunandan kasu
wrote:
Hello all,
I am trying to develop the CAN communication between my PC and the
HCS12X starter kit which includes MC9S12XDP512 MCU.Here I am facing a
small problem at the initial stage itself.
As we know, the Reset vector is configured to _Startup().
But I modified the Reset vector to my own ISR _iProjectEntry() in the
.prm file and then I want to call the _Startup() inside my ISR
_iProjectEntry().
To call _Startup() inside _iProjectEntry(),I am using the following
instruction
__asm jmp _Startup;
But, the compiler is showing the below error,
"C12020: Unknown Operand Combination:
Instr:/Opr1:/Opr2:"
can anyone please provide me correct information
Thanks to all of you
Kasu
regards
Yadunandan Kasu(Nandu)
---------------------------------
5, 50, 500, 5000 - Store N number of mails in your inbox. Click here.
[Non-text portions of this message have been removed]

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )