customlized AMD rfsoc board support package configure error

2 visualizaciones (últimos 30 días)
忆雪
忆雪 el 23 de Jun. de 2024
Comentada: 忆雪 el 25 de Jun. de 2024
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.

Respuestas (1)

R
R el 24 de Jun. de 2024
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 comentarios
忆雪
忆雪 el 25 de Jun. de 2024
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.
忆雪
忆雪 el 25 de Jun. de 2024
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'

Iniciar sesión para comentar.

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by