cancel
Showing results for 
Search instead for 
Did you mean: 

External mode using F767ZI does not working for some reason

Grege.1
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions

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

  1. check the properties under Code generation -> interface
  2. press deploy in simulink
  3. it popup a dialog 0693W000007D7u5QAC.bmp
  4. set com port (ST-Link VCP Com-Port)
  5. second dialog popup (select Com Port to use for External Mode on Nucleo [UART3 => PD8&PD9 connected on Nucleo to st-link / CN1] 0693W000007D7uKQAS.bmp
  6. Simulink generate the project
  7. go to your IDE (CubeIDE/µVision or EWARM...)
  8. generate the project --> flash project to your Nucleo... & reset (black button) the nucleo
  9. go to Simulink
  10. press the connect to Target Button
  11. nucleo is connected, you can turn led green on or off with the button

View solution in original post

9 REPLIES 9
Amigo
Associate III

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.

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!

hendrikk
Associate III

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

Thank you!

I will Try it with 2018b

Grege.1
Associate II

Hi @hendrikk​ ,

I have a few questions regarding the external mode using F767ZI:

  1. Did you used usart2 or usrat3 in CubeMX?
  2. Did you connected the nucleo F767ZI board to your PC using only USB cable(CN1)?
  3. 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!

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

  1. check the properties under Code generation -> interface
  2. press deploy in simulink
  3. it popup a dialog 0693W000007D7u5QAC.bmp
  4. set com port (ST-Link VCP Com-Port)
  5. second dialog popup (select Com Port to use for External Mode on Nucleo [UART3 => PD8&PD9 connected on Nucleo to st-link / CN1] 0693W000007D7uKQAS.bmp
  6. Simulink generate the project
  7. go to your IDE (CubeIDE/µVision or EWARM...)
  8. generate the project --> flash project to your Nucleo... & reset (black button) the nucleo
  9. go to Simulink
  10. press the connect to Target Button
  11. nucleo is connected, you can turn led green on or off with the button

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?

hendrikk
Associate III

@Grege.1​  her the files

Thanks!