EEprom emulation driver for MPC5604B

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

EEprom emulation driver for MPC5604B

ソリューションへジャンプ
3,669件の閲覧回数
朱先生
Contributor III

Hi, All:

      We used MPC5604B to develop our project. In our planning, Internal data flash could be instead of   EEprom. So we downloaded MPC5xxx_EEE_DRIVER.exe  from official website.

      Then we tried to compile the demo project(in ..\Demos\build\MPC5604P_CW_VLE folder), two errors were displayed in message box as below:

149164_149164.pngpastedImage_0.png

The IDE can't recognize the .vle opcode. But VLE configuration were already be opened.

149171_149171.pngpastedImage_1.png

Is there something wrong with the demo project? how to solve this problem?

 

If we used the MPC5604P demo code as EEprom emulation driver for MPC5604B, does the ecu can operate normally?

 

Thanks for your reply.

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
3,269件の閲覧回数
朱先生
Contributor III

Hi, Lukas:

     Our compiler is Codeworrior, not GreenHills. I forget to configure the compiler option in demo code.

     I change the code according to your advise, the ecu can normally work. Thanks for your information, very useful.

     Regards,

    Bryce.

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
3,269件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

there are two files common for all compilers:

C:\Program Files (x86)\Freescale\EEE_Driver_v1.3.0\MPC5xxx\Demos\src\C90\C90LC_DF\MPC5604P\ intc_branch_table_vle.s

and

C:\Program Files (x86)\Freescale\EEE_Driver_v1.3.0\MPC5xxx\Demos\src\C90\IVOR2_vle.s

It is necessary to change this line in both files from:

.equ COMPILER,    GHS

to

.equ COMPILER,    CW

Then it will work.

I didn’t test it but I believe it will work also on MPC5604B. I can see in the source files that it doesn’t touch specific features but rather flash only, so it should work.

Regards,

Lukas

3,269件の閲覧回数
朱先生
Contributor III

Hi, Lukas:

I change the code according to your advise, The build process has been done with no error. The ecu can normally work.

Thanks for your reply.

Regards,

Bryce

0 件の賞賛
返信
3,270件の閲覧回数
朱先生
Contributor III

Hi, Lukas:

     Our compiler is Codeworrior, not GreenHills. I forget to configure the compiler option in demo code.

     I change the code according to your advise, the ecu can normally work. Thanks for your information, very useful.

     Regards,

    Bryce.

0 件の賞賛
返信