S32K3 HVBMS RD Bring Up Example Build Problem | Code generation failed

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

S32K3 HVBMS RD Bring Up Example Build Problem | Code generation failed

3,397件の閲覧回数
shivchopra5
Contributor II

Hi,

I downloaded the HVBMS RD Bring UP Example.
I imported this project into S32DS.

I opened the .mex file and went to update the code. I received an "Code Generation failed" issue.
When I try to build main.c, it does not build, it is unable to find the files as seen in the output below.

I have the BMS SDK 0.9.0 and the BMS SDK SL 0.9.0 Demo libraries installed.
I also have the S32K3 RTD 2.0.0 installed.

Am I missing something when trying to build this project.
Thank you.

shivchopra5_0-1678398748145.png

 

13:41:16 **** Incremental Build of configuration Debug_FLASH for project HVBMS-RD_Bring-up_example_S32DS ****
make -j8 all
Building file: ../src/Bjb.c
Building file: ../src/Cmu.c
Invoking: Standard S32DS C Compiler
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@src/Bjb.args" -MMD -MP -MF"src/Bjb.d" -MT"src/Bjb.o" -o "src/Bjb.o" "../src/Bjb.c"
Building file: ../src/Common.c
arm-none-eabi-gcc "@src/Bjb.args" -MMD -MP -MF"src/Cmu.d" -MT"src/Cmu.o" -o "src/Cmu.o" "../src/Cmu.c"
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@src/Bjb.args" -MMD -MP -MF"src/Common.d" -MT"src/Common.o" -o "src/Common.o" "../src/Common.c"
Building file: ../src/main.c
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@src/Bjb.args" -MMD -MP -MF"src/main.d" -MT"src/main.o" -o "src/main.o" "../src/main.c"
../src/Bjb.c:26:10: fatal error: CDD_Bcc_772c.h: No such file or directory
26 | #include "CDD_Bcc_772c.h"
| ^~~~~~~~~~~~~~~~
compilation terminated.
../src/Cmu.c:26:10: fatal error: CDD_Bcc_775a.h: No such file or directory
Building file: ../generate/src/Clock_Ip_Cfg.c
26 | #include "CDD_Bcc_775a.h"
| ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [src/subdir.mk:29: src/Bjb.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [src/subdir.mk:29: src/Cmu.o] Error 1
Building file: ../board/Siul2_Port_Ip_Cfg.c
../src/Common.c:26:10: fatal error: Mcl.h: No such file or directory
26 | #include "Mcl.h"
| ^~~~~~~
compilation terminated.
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@generate/src/Clock_Ip_Cfg.args" -MMD -MP -MF"generate/src/Clock_Ip_Cfg.d" -MT"generate/src/Clock_Ip_Cfg.o" -o "generate/src/Clock_Ip_Cfg.o" "../generate/src/Clock_Ip_Cfg.c"
make: *** [src/subdir.mk:29: src/Common.o] Error 1
Invoking: Standard S32DS C Compiler
arm-none-eabi-gcc "@board/Siul2_Port_Ip_Cfg.args" -MMD -MP -MF"board/Siul2_Port_Ip_Cfg.d" -MT"board/Siul2_Port_Ip_Cfg.o" -o "board/Siul2_Port_Ip_Cfg.o" "../board/Siul2_Port_Ip_Cfg.c"
../src/main.c:26:10: fatal error: CDD_Bcc_775a.h: No such file or directory
26 | #include "CDD_Bcc_775a.h"
| ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [src/subdir.mk:29: src/main.o] Error 1
In file included from ../generate/src/Clock_Ip_Cfg.c:48:
C:/Users/Juan/Downloads/SW32K3_HVBMS-RD_Bring-up_Example_S32_DS_0_9_0_D2210/generate/include/Clock_Ip_Cfg.h:52:10: fatal error: Clock_Ip_Types.h: No such file or directory
52 | #include "Clock_Ip_Types.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [generate/src/subdir.mk:20: generate/src/Clock_Ip_Cfg.o] Error 1
In file included from ../board/Siul2_Port_Ip_Cfg.c:43:
../board/Siul2_Port_Ip_Cfg.h:47:10: fatal error: Siul2_Port_Ip_Types.h: No such file or directory
47 | #include "Siul2_Port_Ip_Types.h"
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [board/subdir.mk:23: board/Siul2_Port_Ip_Cfg.o] Error 1
"make -j8 all" terminated with exit code 2. Build might be incomplete.

13:41:17 Build Failed. 13 errors, 0 warnings. (took 858ms)

0 件の賞賛
返信
13 返答(返信)

3,205件の閲覧回数
shubhams21
Contributor I

Hello,

can anyone please provide link to download HVBMS Software Installation Guide?

 

Thank You!

 

0 件の賞賛
返信

3,202件の閲覧回数
TomasVaverka
NXP TechSupport
NXP TechSupport

Hello Shubham,

As I mentioned below, the HVBMS Software Installation Guide is classified as a Secure File and can be downloaded from:

https://www.nxp.com/design/designs/hvbms-reference-design-bundle-using-etpl:RD-HVBMSCTBUN

Direct URL is:

https://www.nxp.com/webapp/sd/collateral/1669220275030722065315?version=2.0

Best regards,

Tomas

0 件の賞賛
返信

3,140件の閲覧回数
shubhams21
Contributor I

We got access to "HVBMS Software Installation Guide".

First step requires registration code, from we can get registration code?

0 件の賞賛
返信

3,133件の閲覧回数
TomasVaverka
NXP TechSupport
NXP TechSupport

Hello Shubham,

The registration code is on the paper certificate that is shipped with the RD-HVBMSCTBUN.

Capture.JPG

Best regards,

Tomas

0 件の賞賛
返信

3,127件の閲覧回数
shubhams21
Contributor I

Thank You for the response.

One more question, the HVBMS we received is preflashed with firmware version 0.8.0, so where can I get compatible HVBMS_StartUp_FreeMASTER.elf file?

0 件の賞賛
返信

3,117件の閲覧回数
TomasVaverka
NXP TechSupport
NXP TechSupport

Hello Shubham,

We strongly recommend to upgrade the FW with the latest .elf file (firmware 0.9.1) and use the latest HVBMS Start-up Interface.

Capture.JPG

Both can be downloaded from:

https://www.nxp.com/design/designs/hvbms-reference-design-bundle-using-etpl:RD-HVBMSCTBUN

SW.JPG

Best regards,

Tomas

0 件の賞賛
返信

2,864件の閲覧回数
shubhams21
Contributor I
can we use "SEGGER J-Link EDU Mini" debugger to upgrade the firmware version to 0.9.1 ?
0 件の賞賛
返信

3,053件の閲覧回数
shubhams21
Contributor I

Hello Tomas,

We don't have PE Micro debugger with us to Flash firmware version 0.9.1

1. We have IAR I-JET debugger, can we use that?

2. We have S32K144 EVB Q-100 board, and it has on board debugger, can we use that to flash firmware on RD-K344BMU?

 

Best regards,

Shubham

0 件の賞賛
返信

3,045件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @shubhams21,

The OpenSDA debugger on that board is a PEMicro proprietary debugger.

Please have a look at the Getting Started with the S32K144EVB document:

https://www.nxp.com/document/guide/getting-started-with-the-s32k144evb:NGS-S32K144EVB?section=build-...

 

Regards,

Daniel

0 件の賞賛
返信

3,025件の閲覧回数
shubhams21
Contributor I

shubhams21_0-1681468866059.png

We are trying to Flash firmware to RD-K344BMU, getting this error.

Could you please help us?

 

0 件の賞賛
返信

3,369件の閲覧回数
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Shiv,

I have asked our HVBMS SW expert to help with the software issue you are facing. He is currently on sick leave, but should be able to answer at the beginning of next week.

Thank you in advance for your patience.

Best regards,

Tomas

0 件の賞賛
返信

3,332件の閲覧回数
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Shiv,

First of all, please make sure you have all the packages installed in the right order, presented in section 5.1.1 of the HVBMS Installation Guide. This is really important, even some colleagues faced similar problems when they did not follow the order. 

Capture.JPG

There can be multiple reasons for the failure, here is a list:

1. Installation order from the HVBMS installation guide was not followed, BMS SDK was installed first then RTD.
2. Generation timeout of S32DS in order to fix this issue see section : 5.1.1.8.3.1 form the HVBMS installation guide.

“In case of difficulties in the code generation using S32 Configuration due to computer speed, it is possible to remove the timeout in the C:\NXP\S32DS.3.4\eclipse\s32ds.ini file by adding the following line: -Dcom.nxp.swtools.codegenscript.timeout=-1.”

After adding this in .ini file please restart S32DS and create a new workspace where a fresh import has to be tried.

I hope it helps!

Best regards,

Tomas

PS: The HVBMS Installation Guide is classified as a Secure File and can be downloaded from the following website:

https://www.nxp.com/design/designs/hvbms-reference-design-bundle-using-etpl:RD-HVBMSCTBUN

Capture 1.JPG

 

0 件の賞賛
返信

3,315件の閲覧回数
shivchopra5
Contributor II

Thanks, I didn't know about the HVBMS Software Installation Guide
I will follow the guide and update the ticket.

Thank you!

0 件の賞賛
返信