Sign in

username:

password:



Not a member?

Search 68hc12



Search tips

Subscribe to 68hc12



68hc12 by Keywords

68HC1 | 812A4 | 9S12DP256 | Bootloader | CodeWarrior | D60A | Debugger | DP256 | ECT | EEPROM | EVB | Flash | HC1 | HCS12 | I2C | IAR | ICC1 | Interrupts | LCD | M68KIT912DP256 | MC9S12DP256 | MC9S12DP256B | Metrowerks | Motor | MSCAN | Multilink | PLL | Quadrature | SDI | SPI | Transceiver | XFC

Sponsor

controlSUITE™ software
Comprehensive.
Intuitive.
Optimized.

Real-world software for real-time control. Details Here!

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | 68HC12 | [MC9S12XDP512] How to jump to _Startup() from user code (Problem)


Advertise Here

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 )