customlized AMD rfsoc board support package configure error

We build a custom hardware board base on AMD rfsoc 27dr, follow the
  1. https://ww2.mathworks.cn/help/soc/ug/create-board-support-framework.html
  2. https://www.youtube.com/watch?v=m5Rfqz2gteE
success build a boardSupportPackage, and install it in mathworks R2023b system, but when apply this custom board to the 'soc_rfsoc_datacapture' case, can't pass configure steps. The simulink report :
Error:A dot '.' indexing expression produced a comma-separated list with 2 values where only a single value is allowed.
I am sure this is ok if we choose the hardware board 'Xilinx Zynq ultraScale+ RFSoC ZCU111...', that means, the error is maybe due to our boardSupportPackage.
The attached file is the boardSupportPackage create script.
best regards for reply.

Answers (1)

I can see you are following the steps at https://www.mathworks.com/help/soc/ug/create-board-support-framework.html for creating a custom board support framework.
There are a few things you can verify and check to resolve this error.
Firstly, in the error message, lists 'Xilinx Zynq ultraScale+ RFSoC RFSOC27DR Board Support package' whereas in the first step the name is 'RFSOC27DR Board Support package'. You can verify and use a consistent target name in all places.
Rarely this can also be caused due to folder not being added on the MATLAB path. Please ensure that the folder containing board support package files are added to the MATLAB path:
addpath('D:\rfsoc27dr_boardSupportPackage')
After making changes to custom target files, you need to refresh Simulink customizations.
sl_refresh_customizations
I have tried and attached the running script as 'modified_script_BSP.m'.
Hope it helps!

4 Comments

Hi RS,
Thanks for your repay, Unfortunately, I success got a new mltbx after use your m file, But install ti into my R2023b system, when config for the soc_rfsoc_datacapture cae,
I also get error information
When only a single value is allowed, a dot '.' index expression generates a comma-separated list of 2 values.
Best regards!
Hi RS,
I carefully check the procedure to reach the last Configure & deploy... step, understand your addpath('D:\rfsoc27dr_boardSupportPackage'), that means, don't need to install the packaged file rfsoc27dr_boardSupportPackage.mlxtb.
This is the reason for simulink report A dot '.' indexing expression produced a comma-separated list with 2 values where only a single value is allowed. I thank the mathworks see two boad support package with the same name.
But now, new error appear: error:Hardware board names for the top model and processor model must match.
Would your can give some hints more?
Thanks.
addtionally, I found that the same 'soc_rfsoc_datacapture' case only suit zcu111 board, even change to zcu108 don't work with 'error : Hardware board names for the top model and processor model must match'

Sign in to comment.

Categories

Products

Release

R2023b

Asked:

on 23 Jun 2024

Commented:

on 25 Jun 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!