how to let HCS12's FAR_DATA be defined

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

how to let HCS12's FAR_DATA be defined

2,187件の閲覧回数
xianyu
Contributor II

165107_165107.pngpastedImage_1.png

165108_165108.pngpastedImage_2.png

ラベル(1)
0 件の賞賛
返信
5 返答(返信)

1,973件の閲覧回数
lama
NXP TechSupport
NXP TechSupport

Hi,

I am sorry for delay because of vacation.

I do not suggest to combine PE and own project. I am saying this from my experience. I have used PE only to check how the "expert" solves some setups. I like to have everything under my control so I newer use PE in my projects. There are a lot of features in PE I hate.

So back to the issue.

Is it possible to send me project you use. I would like to check the behavior on my PC. The only thing I would ask you to be all paths and files related to project pointed/placed in the project folder.

If the project is confidential I would like to ask you to create a case and write into subject "To Ladislav"

The procedure, how to create a case is described:

https://community.nxp.com/docs/DOC-329745 

Best regards,

Ladislav

0 件の賞賛
返信

1,973件の閲覧回数
xianyu
Contributor II

Hi,

sorry for have not received long and  I have finished my vacation too, 

if you could check my code , I would be very grateful.

could you give me a email?

I don't know how to send my project there

0 件の賞賛
返信

1,973件の閲覧回数
lama
NXP TechSupport
NXP TechSupport

Hi,

is still a problem alive?

If yes, just create a service request and introduce it "For Ladislav".

https://community.nxp.com/docs/DOC-329745 

.. and you can also attach a file there...

Best regards,

Ladislav

0 件の賞賛
返信

1,972件の閲覧回数
lama
NXP TechSupport
NXP TechSupport

Hi,

I do not know which type of the MCU you use so I have attached two examples.

There is, I think, detailed description how to use variables. I would like to direct your attention to a text:

/*
Notes:
- Look at compiler command line which has to contain -D__FAR_DATA option
  because there is note in the Start12.c file at the line 40
- It is also good to think about next compiler option __BANKED_COPY_DOWN;
  line 49 in the Start12.c
- variable eee is not processed correctly because it missing "far" in the variable
  definition
  notes:
    - I advise to step the code within simulator to better understand how it works.
    - During simulation; Drag and drop the variable from "Data:1" window to
      Memory window to find variables within memory
*/

I hope, it will help you.

If this does not answer your question(s), or I have forgotten something, or if you need more assistance, please contact me again.

If the answer is helpful, please label it.

 

Best regards,

Ladislav

0 件の賞賛
返信

1,972件の閲覧回数
xianyu
Contributor II

Dear Lama:

      thanks for your reply.

      but the question what occur to me is  when I debug my project the IDE told warning L1128. your reply let me know the reason of the warning is FAR_DATA is not defined.

      but I still dont now why does the FAR_DATA couldnt be defind.

      last day I have asked the question "How to use PE to initialize Xgate",a good man tell me Codewarrior dont support this function. so I use PE to build a project and disable pe create the prm file ,transplant a prm which is from a projct could use Xgate to handle interrupt. when i finish that,all the function could be used , the interrupt could be handle by Xgate too(although the debugger of Xgate couldnt use ). 

     but the warning L1128 occur. I find the FAR_DATA have not been defined in start12.h.(But another project's FAR_DATA has been defined )

pastedImage_1.png

    why does the criterion doesn't go though?pastedImage_10.png

   my IDE is codewarrior IDE 5.1  the MCU is mc9s12xet256maa

   look forward your reply

   best wish. 

0 件の賞賛
返信