External mode using F767ZI does not working for some reason
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-01-26 7:53 AM
Hi to you all!
I'm trying to run external mode simulation using:
- Matlab R2019b.
-CubeMx 5.6.1
-Mat\Target 5.6.0
-Nucleo F767ZI
I managed to deploy and run the Simulink model using both Atollic TrueSTUDIO & EAR V8. (generate c code using Simulink and deploy using IDE).
The problem is when i'm trying to run in external mode (both by using Monitor&Tune button and Build,Deploy&Start) I get the following error:
"Launcher: startApplication(): error with getapplicationexecutable()"
Really need your help!
thanks!!!
George.
Solved! Go to Solution.
- Labels:
-
STM32-MatTarget
-
STM32F7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-01-28 1:03 PM
Hi @Grege.1
I didn't use External mode anymore, i'm using CubeMonitor now for calibration and monitor...
i found a little test project and it works fine on F767zi nucleo
- check the properties under Code generation -> interface
- press deploy in simulink
- it popup a dialog
- set com port (ST-Link VCP Com-Port)
- second dialog popup (select Com Port to use for External Mode on Nucleo [UART3 => PD8&PD9 connected on Nucleo to st-link / CN1]
- Simulink generate the project
- go to your IDE (CubeIDE/µVision or EWARM...)
- generate the project --> flash project to your Nucleo... & reset (black button) the nucleo
- go to Simulink
- press the connect to Target Button
- nucleo is connected, you can turn led green on or off with the button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-01-27 2:15 AM
Hello George, thank you for contacting me, but I am way too busy with my day job, and I don't have a board available to hand. Sorry about that! Anyway, I stopped using STM tools in Simulink, as they are too unreliable. I switched to NXP Kinetis Freedom boards, as their toolset is much more reliable, and their new Kinetis MBDT that they released for the Kinetis MCUs is better. They have more experience in MBD.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-01-27 9:41 AM
Thanks for the quick replay Amigo.
But I'm still trying to find a solution to this problem without changing to another board...
Thanks anyway!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-01-27 9:59 AM
Hi @Grege.1 the external mode is running fine for me with nucle F767ZI.
You need:
Matlab 2018b or below for STM32/Mat 5.6.0
try it with STM32CubeIDE or ARM Keil µVision 5.x
that setup running fine for me.
kind reguards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-01-27 10:00 AM
Thank you!
I will Try it with 2018b
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-01-28 2:28 AM
Hi @hendrikk ,
I have a few questions regarding the external mode using F767ZI:
- Did you used usart2 or usrat3 in CubeMX?
- Did you connected the nucleo F767ZI board to your PC using only USB cable(CN1)?
- when you operating at external mode, you first deploy the generated code using your IDE then press connect in the external mode at Simulink?
Thank you in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-01-28 1:03 PM
Hi @Grege.1
I didn't use External mode anymore, i'm using CubeMonitor now for calibration and monitor...
i found a little test project and it works fine on F767zi nucleo
- check the properties under Code generation -> interface
- press deploy in simulink
- it popup a dialog
- set com port (ST-Link VCP Com-Port)
- second dialog popup (select Com Port to use for External Mode on Nucleo [UART3 => PD8&PD9 connected on Nucleo to st-link / CN1]
- Simulink generate the project
- go to your IDE (CubeIDE/µVision or EWARM...)
- generate the project --> flash project to your Nucleo... & reset (black button) the nucleo
- go to Simulink
- press the connect to Target Button
- nucleo is connected, you can turn led green on or off with the button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-01-28 1:17 PM
I understand..
Maybe you can help me a little with understanding on how to opreate it.. do you have some answers to the questions above? Did you used only usb cable? Did you used usart2 or usart3?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-01-28 1:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-01-28 1:50 PM
Thanks!
