DWARF Parser internal error: Parser::describeSymbol xcpDummyDoubleVariable is not a global variable.
古いコメントを表示
The project is loaded from "Embedded Coder Support Package for STMicroelectronics Discovery Boards".
If pressing "run" or "Build,Deploy & Start",there is no error returned.pressing the "Monitor & turn" button will return errors.
The errors returned are shown below:
External Mode Open Protocol Connect command failed
Caused by:
DWARF Parser internal error: Parser::describeSymbol xcpDummyDoubleVariable is not a global variable
Component:Simulink | Category:Block diagram error
Unable to connect to the 'STM32F746G-Discovery' target for 'stm32f746gdiscovery_audio_equalizer'.
Component:Simulink | Category:Model error
If other modules are commented out and only input and output are left, as shown in the figure, this error message will still be reported. This problem will not appear on the stm32f4 disco development board. Note that stm32f4 uses an additional ttl-233.

5 件のコメント
liangmaokun liangmaokun
2020 年 12 月 29 日
Jos de Koning
2021 年 1 月 8 日
I am running into the exact same issue. Have you managed to solve this?
Serdar Tombul
2021 年 4 月 20 日
Exact same issue here with TI Delfino. Any solutions?
Victor Bayer
2021 年 12 月 17 日
one more
Diego Armando de Jesus Gutierrez Torres
2022 年 2 月 25 日
three
採用された回答
その他の回答 (4 件)
Nithin
2023 年 12 月 5 日
1 投票
This issue may occur if Monitor & Tune is run without logging any signal or if there are no outports connected in the Simulink model. Ensure a signal is selected for logging in the model. After doing so, the error message should disappear and external mode should run as expected.
If the problem still persists, contact MathWorks Technical Support: If the problem still persists https://in.mathworks.com/support/contact_us.html
1 件のコメント
Robert Scott
2024 年 6 月 5 日
This is still broken.
bert de Jong
2022 年 6 月 28 日
0 投票
Please note that this issue has been fixed in R2022a.
2 件のコメント
Alexander
2023 年 2 月 14 日
I am using R2022b and the issue is still there despite the changes in the xcp_ext_common.c file
Vivek
2023 年 3 月 30 日
I tried to implement it but its not working.... I have matlab R2021a and hardware interfaced is jetson nano. I tried to modify the code as specified in above solution but its not working...
Sanath
2023 年 9 月 8 日
0 投票
Hi, I still have this issue in MATLAB 2023a, my serial communcation is not working.has anyone found a solution?
2 件のコメント
Mahesh Bharath Pudutha
2023 年 9 月 20 日
Hello,
Even I am facing the same issue, The controller which I am using is TMS320F28335 and the Matlab version is 2023a. Requesting for any leads and help.
Sanath
2023 年 9 月 25 日
While i have not been able to identify the source of the issue, this is what i think is a work around for me. My connect function doesnt work still but monitor and tune works fine.
- Try increasing the baud rate to max possible by trial and error and make sure you have dedicated timer swtiched off in external mode.
- Select the correct com port for STM and for newer versions, the Virtual COM port is to be connected.
- This is the work around which worked for me, I run the "STM external mode" example, once it works, I edit and build my whole model in the same example file.
Rakesh
2023 年 9 月 25 日
0 投票
Hi, I still have this issue in MATLAB 2023a, my serial communcation is not working.has anyone found a solution?
External Mode Open Protocol Connect command failed
Caused by:
DWARF Parser internal error: Parser::describeSymbol xcpDummyDoubleVariable is not a global variable
Component:Simulink | Category:Block diagram error
Unable to connect to the 'STM32F746G-Discovery' target for 'stm32f746gdiscovery_audio_equalizer'.
Component:Simulink | Category:Model error
2 件のコメント
Sanath
2023 年 9 月 25 日
While i have not been able to identify the source of the issue, this is what i think is a work around for me. My connect function doesnt work still but monitor and tune works fine.
- Try increasing the baud rate to max possible by trial and error and make sure you have dedicated timer swtiched off in external mode.
- Select the correct com port for STM and for newer versions, the Virtual COM port is to be connected.
- This is the work around which worked for me, I run the "STM external mode" example, once it works, I edit and build my whole model in the same example file.
vallela
2023 年 9 月 26 日
I am facing the same problem. In my case monitor and tune also not working. where can i find the stm external mode example. it would be really helpful if you can help me. where can I increase the baud rate.
カテゴリ
ヘルプ センター および File Exchange で STMicroelectronics Discovery Boards についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!