cancel
Showing results for 
Search instead for 
Did you mean: 

problem with STM32_MAT-TARGET in external mode

abdou si
Associate III
Posted on March 07, 2017 at 20:44

hello 

i am working with STM32_MAT-TARGET in external mode  i can generat project 

0690X00000603ijQAA.jpg

help please 

#stm32-mat-target #simulink #external #stm32-mat/target-matlab
1 ACCEPTED SOLUTION

Accepted Solutions
abdou si
Associate III
Posted on March 12, 2017 at 14:03

https://community.st.com/0D50X00009XkYEASA3

Mandatory Software :

matlab 2016 b

Keil version V 5.23

STM32CubMX 4.20

in the external mode : make sure thatHeapSize must behigher as possible.

make sure that the configuration of UART(Rx,Tx) in your stm32 it is connected to the USB (VCP_TX ,VCP_RX)

View solution in original post

15 REPLIES 15
Imen.D
ST Employee
Posted on March 08, 2017 at 09:46

Hi abdou si,

Could you please precise theSTM32-MAT/TARGET and Keil version are you using ?

I suggest you to debug,identify what is the problem that you see and when it occurs orwhere the code hangs/stop.

I recommend you to follow the instructions in the attached document

'STM32 MAT-TARGET HandsOn'it may help you on your project.

Imen

________________

Attachments :

STM32_MAT-TARGET_HandsOn_v1_0.pdf : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hypn&d=%2Fa%2F0X0000000bD0%2FBR9ZtSfu_Um8n1rd3cF4OzI8ZT4y4Ju1arNoCyuutLs&asPdf=false
When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
abdou si
Associate III
Posted on March 08, 2017 at 13:37

this for may application i am using GPIO in stm32f303k8

________________

Attachments :

external.ioc.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hypd&d=%2Fa%2F0X0000000bCy%2FFbAg5KKa2SpZ_vY.DkU9dlj7jGBLDxp1zLK11gYm.2k&asPdf=false
Posted on March 08, 2017 at 12:59

thanks Imen

i am working with KEIL V5 and 

STM32-MAT/TARGET 4.4.1 in matlab 2016b i am alos working with  STM32_MAT-TARGET_HandsOn

i took this exemple 

0690X00000603dzQAA.jpg

i build it in external Mode i get this 

0690X00000603goQAA.jpg
Posted on March 08, 2017 at 13:15

Hi,

Could you please share your .ioc file as well the log files that can be found in your user directory under the .stm32cubemx folder.

Thanks

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Imen.D
ST Employee
Posted on March 08, 2017 at 14:21

Hi, 

I will share your issue internally to our CubeMx team for further investigation and come back to you as soon as possible.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
abdou si
Associate III
Posted on March 08, 2017 at 14:36

whene i start the building i get this ioc file

________________

Attachments :

external_extMode.ioc.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HypY&d=%2Fa%2F0X0000000bCw%2FRKjMBZOD.HniHU5mNc31lttiSsXYzhWW5VyHGzBuDvM&asPdf=false
Imen.D
ST Employee
Posted on March 08, 2017 at 15:43

Which version of Keil are you using ? Try to update Keil tools (last version V5.23) if you are using an old version. 

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
abdou si
Associate III
Posted on March 08, 2017 at 18:45

i am already using the 5.23 V

i wanna try with older version of  STM32_MAT-TARGET for matlab 2015 b but i cant download  can you help ?

abdou si
Associate III
Posted on March 08, 2017 at 21:22

How i can download STM32-MAT/TARGET 4.4.0