2016-06-24 04:26 AM
Hello everyone,
I am trying to program the Nucle STM32F446FE using the STM32 MAT/TARGET and a Simulink Model, but when I build it, Simulink doen't continue with the process, blocking itself. I have downloaded the latest version of STM 32 MAT/TARGET, STM32CubeMx and I am using Keil MDK v5 and Matlab R2015b.I have tried to follow the ''readme'' file of the main folder of the Mat Target, but I have not achieved anything.What can I do? I am absolutely lost.Also, I have tried to download the training material form the website, but the fie is blank. Does anyone have any tutorial or user guide?Thanks.2016-06-24 05:11 AM
Hi p92lomij,
As mentioned in the that the bug related to R2015b is fixed in the new release 4.3.0 which is not available on the ST web.So, I think you have the previous version 4.2.0 and you should have the new one 4.3.0.More info are available at page. PS: I have successfully downloaded the training material.Regards2016-06-24 06:52 AM
Hi forumstm32, thanks for your answer.
Finally, I have downloaded the training material, however, I thought that it would be some kind of user manual. Do you know where I could find one?Could I use other version of matlab to solve this problem? I have also tryied Matlab 2014a and 2015a but I don't have achieved anything. I think that it could be a problem during the configuration of the stm32 mat target, but I don't have any manual to follow.If the problem is that I don't have de newest version of the software, where can I download it? I have looked for it in the website but the available one is the 4.2.0.Thanks.2016-06-27 04:12 AM
Hi,
I've just downloaded the STM32 Mat/Target 4.3.0. from this website: http://www.stmcu.org/document/detail/index/id-216053, but it hasn't solved my problem.I have built the model in simulink using C:\MATLAB\STM32-MAT\STM32\STM32demos\CodeGeneration as Current Folder and Processor-in-the-Loop as Simulation Mode. But, Keil MDK finds an error and it isn't able to create the target file. This is the error that is reported:compiling rt_main.c...../../pulsadorALed/Src/rt_main.c(32): error: #35: #error directive: Must specify a model name. Define MODEL=name. # error Must specify a model name. Define MODEL=name.../../pulsadorALed/Src/rt_main.c: 0 warnings, 1 errorAny help with this?On the other hand, Can I build the model without using the Processor-in-the-Loop? How? I've tried but the building process doesn't call the STM32CubeMX.Thanks!2016-07-01 04:39 AM
Hi,
The version 4.3.0 is now available at/content/my_st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-utilities/stm32-mat-target.license=1467372444html
page. So, please try with this latest version and let me know if your problem is resolved. Regards