Procedure to add XGATE support to projects using Processor Expert for HCS12X

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Procedure to add XGATE support to projects using Processor Expert for HCS12X

4,845 Views
speakbinary
Contributor I

Hi,

 

After using processor expert for quite sometime and being used to the high productivity realised, it seemed a bit difficult to have x-gate support for one of my projects, without using processor expert. Remember, when you enable x-gate on your project, the option for using processor expert is not available.

 

Through some tweaking and asking questions to the support technicians at freescale, I have formulated a procedure that will alow you to have x-gate support with the processor expert feature available.

 

The trick is to configure a project without x-gate support initially thereby allowing you to use processor expert. At a later stage you add the x-gate support. The steps that you will need to follow thereby is given in the attached file.

 

Hope this works for your projects. If you face any difficulties then please post your question here.

 

Thanks

Arif

 

To add XGATE support to projects using Processor Expert.pdf

Message Edited by t.dowe on 2009-08-31 10:46 AM
Labels (1)
0 Kudos
Reply
6 Replies

1,316 Views
jgirard1
Contributor III

I have experience programming the XGATE in an independant development environemt.  I have tried this recommended procedure for Processor Expert, however, I find it quite useless, almost counter intuative and counter productive.

By using Processor Expert, the beans generate all the code for you to interface to the hardware, including handling interrupts.  The purpose of XGATE is to process interrupts.  If Processor Expert automatically generates interrupts for the S12X CPU core, then what is the point of adding in the XGATE support?  You cannot control the interrupt generation from Processor Expert, or even insert #pragmas to control the segment placement of the interrupt service functions or to create shared data.

The only purpose that I can see why you'd want to add XGATE support in this manner is to manually create your own code to do your own thing in XGATE along side Processor Expert.  If that is the case, then why even have Processor Expert at all?  How do you get the Processor Expert interrupts to run in XGATE?

Am I missing something here?

0 Kudos
Reply

1,316 Views
GuillaumeDourne
Contributor I

Hi,

 

I'm very interresting on your work. I would to had xgate to my processor expert single core project.

Is it possible to transmit to me the attached files or explain to me how to get this files. (In particulary the prm files)

Can I use the similar files from a freescale example xgate project ?

 

Thanks

 

Guillaume

0 Kudos
Reply

1,316 Views
speakbinary
Contributor I
jus send me your mail id and i can email to you the files..
0 Kudos
Reply

1,316 Views
GuillaumeDourne
Contributor I

Hi,

 

I posted to you a private message with my email, but i did not receive the files.

Can you post the prm files on the thread ?

Or can I use the prm file from the freescale example project ?

 

Thanks.

 

Guillaume.

0 Kudos
Reply

1,316 Views
speakbinary
Contributor I

here you go...

 

xgate.zip

Message Edited by t.dowe on 2009-08-31 10:48 AM
0 Kudos
Reply

1,316 Views
speakbinary
Contributor I

attached is the word document with all the necessary files.

 

To add XGATE support to projects using Processor Expert.doc

Message Edited by t.dowe on 2009-08-31 10:47 AM
0 Kudos
Reply