Request for Assistance with rd33772c14vevm_sldd File Issue

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

Request for Assistance with rd33772c14vevm_sldd File Issue

58 Views
HYEWOONJANG
Contributor I

Hello,

I am currently working in the field of Battery Management Systems (BMS).

I have purchased the RD33772C14VEVM board and am currently waiting for it to be delivered. In the meantime, I am testing whether the example models provided with MBDT for BMS 1.2.0 can run correctly before I receive the hardware.

I have installed all three required packages:

  • MBDT 1.4.0
  • MBDT for BMS 1.2.0
  • Embedded Coder Support Package for ARM Cortex-M Processors

Before opening the model, I executed the two MATLAB scripts:

  • mbd_s32k3_path.m
  • mbd_bms_path.m

After that, I opened the model.

When I tried to run the model for the first time, I encountered the error shown in the attached screenshot. Please note that this error occurs when simply running/opening the model, not during the build process.

HYEWOONJANG_0-1780577136977.png

.It seemed to be related to a data type conversion issue, so I changed the setting labeled "Bus: ~" to "Inherit" and clicked Apply.

HYEWOONJANG_1-1780577169749.png

I then tried running the model again, but this time I encountered a different error.

HYEWOONJANG_2-1780577236055.png

 

After asking ChatGPT for assistance, I was told that the issue might be related to the data dictionary (.sldd) file, specifically that certain elements appeared to have a size of 0. Following the suggested path, I checked the data dictionary and found that it was indeed empty.

HYEWOONJANG_3-1780577265499.png

 

I have already tried the following troubleshooting steps:

  1. Reinstalling MBDT for BMS 1.2.0 — Did not resolve the issue

  2. Manually adding entries to the Elements section in Model Explorer — Did not resolve the issue

I believe I either need to manually populate the Elements section or locate the original source file that should contain these entries. However, I am not sure what the correct approach is.

Could you please advise me on how to resolve this issue? Specifically, I would appreciate any guidance on why the Elements section is empty and how it can be properly restored or regenerated.

For reference, I have also attached the model file I have been working with.

I would greatly appreciate any guidance on how to resolve this issue. If there are any additional files, logs, or screenshots that would be helpful for troubleshooting, please let me know and I will provide them.

(MATLABAddOns --> Toolboxes --> NXP_MBDTToolbox_BMS --> BMS_Examples --> rd33772c14vevm --> rd33772c14vevm_s32ct --> rd33772c14vevm_s32ct,mdl )

Thank you for your time and support. I look forward to your response.

#s32ks3xx #rd33772c14vevm #MBDT #MBDTforBMS #

0 Kudos
Reply
1 Reply

36 Views
RafaR
NXP Employee
NXP Employee

Hello HYEWOONJANG

Good day!

I'll have to discuss your problem with the AE team to get more information about it, I'll get back to you as soon as I get an answer.

Have a great day and best of luck.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2376883%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERequest%20for%20Assistance%20with%20rd33772c14vevm_sldd%20File%20Issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2376883%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20am%20currently%20working%20in%20the%20field%20of%20Battery%20Management%20Systems%20(BMS).%3C%2FP%3E%3CP%3EI%20have%20purchased%20the%20RD33772C14VEVM%20board%20and%20am%20currently%20waiting%20for%20it%20to%20be%20delivered.%20In%20the%20meantime%2C%20I%20am%20testing%20whether%20the%20example%20models%20provided%20with%20MBDT%20for%20BMS%201.2.0%20can%20run%20correctly%20before%20I%20receive%20the%20hardware.%3C%2FP%3E%3CP%3EI%20have%20installed%20all%20three%20required%20packages%3A%3C%2FP%3E%3CUL%3E%3CLI%3EMBDT%201.4.0%3C%2FLI%3E%3CLI%3EMBDT%20for%20BMS%201.2.0%3C%2FLI%3E%3CLI%3EEmbedded%20Coder%20Support%20Package%20for%20ARM%20Cortex-M%20Processors%3C%2FLI%3E%3C%2FUL%3E%3CP%3EBefore%20opening%20the%20model%2C%20I%20executed%20the%20two%20MATLAB%20scripts%3A%3C%2FP%3E%3CUL%3E%3CLI%3Embd_s32k3_path.m%3C%2FLI%3E%3CLI%3Embd_bms_path.m%3C%2FLI%3E%3C%2FUL%3E%3CP%3EAfter%20that%2C%20I%20opened%20the%20model.%3C%2FP%3E%3CP%3EWhen%20I%20tried%20to%20run%20the%20model%20for%20the%20first%20time%2C%20I%20encountered%20the%20error%20shown%20in%20the%20attached%20screenshot.%20Please%20note%20that%20this%20error%20occurs%20when%20simply%20running%2Fopening%20the%20model%2C%20not%20during%20the%20build%20process.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22HYEWOONJANG_0-1780577136977.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22HYEWOONJANG_0-1780577136977.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F387909i0A49B5B0C50879DB%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22HYEWOONJANG_0-1780577136977.png%22%20alt%3D%22HYEWOONJANG_0-1780577136977.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E.It%20seemed%20to%20be%20related%20to%20a%20data%20type%20conversion%20issue%2C%20so%20I%20changed%20the%20setting%20labeled%20%3CSTRONG%3E%22Bus%3A%20~%22%3C%2FSTRONG%3E%20to%20%3CSTRONG%3E%22Inherit%22%3C%2FSTRONG%3E%20and%20clicked%20%3CSTRONG%3EApply%3C%2FSTRONG%3E.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22HYEWOONJANG_1-1780577169749.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22HYEWOONJANG_1-1780577169749.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F387910iF5CCBD252BDBAEAA%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22HYEWOONJANG_1-1780577169749.png%22%20alt%3D%22HYEWOONJANG_1-1780577169749.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20then%20tried%20running%20the%20model%20again%2C%20but%20this%20time%20I%20encountered%20a%20different%20error.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22HYEWOONJANG_2-1780577236055.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22HYEWOONJANG_2-1780577236055.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F387911iEDCBC36673A07D28%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22HYEWOONJANG_2-1780577236055.png%22%20alt%3D%22HYEWOONJANG_2-1780577236055.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EAfter%20asking%20ChatGPT%20for%20assistance%2C%20I%20was%20told%20that%20the%20issue%20might%20be%20related%20to%20the%20data%20dictionary%20(.sldd)%20file%2C%20specifically%20that%20certain%20elements%20appeared%20to%20have%20a%20size%20of%200.%20Following%20the%20suggested%20path%2C%20I%20checked%20the%20data%20dictionary%20and%20found%20that%20it%20was%20indeed%20empty.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22HYEWOONJANG_3-1780577265499.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22HYEWOONJANG_3-1780577265499.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F387912iB3B433BB3A22AF9A%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22HYEWOONJANG_3-1780577265499.png%22%20alt%3D%22HYEWOONJANG_3-1780577265499.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EI%20have%20already%20tried%20the%20following%20troubleshooting%20steps%3A%3C%2FP%3E%3COL%3E%3CLI%3E%3CP%3EReinstalling%20MBDT%20for%20BMS%201.2.0%20%E2%80%94%20%3CSTRONG%3EDid%20not%20resolve%20the%20issue%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EManually%20adding%20entries%20to%20the%20%3CSTRONG%3EElements%3C%2FSTRONG%3E%20section%20in%20Model%20Explorer%20%E2%80%94%20%3CSTRONG%3EDid%20not%20resolve%20the%20issue%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLI%3E%3C%2FOL%3E%3CP%3EI%20believe%20I%20either%20need%20to%20manually%20populate%20the%20%3CSTRONG%3EElements%3C%2FSTRONG%3E%20section%20or%20locate%20the%20original%20source%20file%20that%20should%20contain%20these%20entries.%20However%2C%20I%20am%20not%20sure%20what%20the%20correct%20approach%20is.%3C%2FP%3E%3CP%3ECould%20you%20please%20advise%20me%20on%20how%20to%20resolve%20this%20issue%3F%20Specifically%2C%20I%20would%20appreciate%20any%20guidance%20on%20why%20the%20%3CSTRONG%3EElements%3C%2FSTRONG%3E%20section%20is%20empty%20and%20how%20it%20can%20be%20properly%20restored%20or%20regenerated.%3C%2FP%3E%3CP%3EFor%20reference%2C%20I%20have%20also%20attached%20the%20model%20file%20I%20have%20been%20working%20with.%3C%2FP%3E%3CP%3EI%20would%20greatly%20appreciate%20any%20guidance%20on%20how%20to%20resolve%20this%20issue.%20If%20there%20are%20any%20additional%20files%2C%20logs%2C%20or%20screenshots%20that%20would%20be%20helpful%20for%20troubleshooting%2C%20please%20let%20me%20know%20and%20I%20will%20provide%20them.%3C%2FP%3E%3CP%3E(MATLABAddOns%20--%26gt%3B%20Toolboxes%20--%26gt%3B%20NXP_MBDTToolbox_BMS%20--%26gt%3B%20BMS_Examples%20--%26gt%3B%20rd33772c14vevm%20--%26gt%3B%26nbsp%3Brd33772c14vevm_s32ct%20--%26gt%3B%26nbsp%3Brd33772c14vevm_s32ct%2Cmdl%20)%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20time%20and%20support.%20I%20look%20forward%20to%20your%20response.%3C%2FP%3E%3CP%3E%23s32ks3xx%20%23rd33772c14vevm%20%23MBDT%20%23MBDTforBMS%20%23%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2376988%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Request%20for%20Assistance%20with%20rd33772c14vevm_sldd%20File%20Issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2376988%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20HYEWOONJANG%3C%2FP%3E%0A%3CP%3EGood%20day!%3C%2FP%3E%0A%3CP%3EI'll%20have%20to%20discuss%20your%20problem%20with%20the%20AE%20team%20to%20get%20more%20information%20about%20it%2C%20I'll%20get%20back%20to%20you%20as%20soon%20as%20I%20get%20an%20answer.%3C%2FP%3E%0A%3CP%3EHave%20a%20great%20day%20and%20best%20of%20luck.%3C%2FP%3E%3C%2FLINGO-BODY%3E