S32K MBD Toolbox software configuration

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K MBD Toolbox software configuration

ソリューションへジャンプ
5,251件の閲覧回数
Maciek
Contributor V

Hi,

I've just installed the MBD Toolbox for S32K14x. 

Right now I don't have access to S32K114EVB (no stock in Europe) - we are waiting for EVBs.

When I build the example model 'gpio_s32k14.slx' - it builds ok. Code is generated and then compiler is invoked correctly. But at the end I've got the following: 

Generating S-record...
"C:\Users\Maciek\Documents\MATLAB\Add-Ons\Toolboxes\NXP_MBDToolbox_S32K1xx\code\tools\gcc-arm-none-eabi-4_9/bin/arm-none-eabi-objcopy" -O srec gpio_s32k14.elf gpio_s32k14.mot
Created S-record: gpio_s32k14.mot
Building target all
*** Created executable: gpio_s32k14.mot
### Successful completion of build procedure for model: gpio_s32k14

COPY CATCH: Nie można odnaleźć określonego pliku.
: >> C:\Users\Maciek\Documents\MATLAB\S32K14_Test\gpio_s32k14_mbd_rtw\gpio_s32k14.mot
Can't download the file to the board.

(after COPY CATCH there is comment that a file can't be found)

Is it normal to end the build with such comment when the EVB board is not connected ?

And also: when I check 'Generate Code Only' option in Config Settings - the build ends in similar way (with the same comment 'COPY CATCH etc...'), although only source code is generated and compiler is not invoked (as expected). Is it ok. to end the build like this ?

Thanks

Maciek

0 件の賞賛
返信
1 解決策
2,700件の閲覧回数
constantinrazva
NXP Employee
NXP Employee

Hi Maciek‌,

That behavior is due to the fact that you have enabled/checked "Enable Download Code After Build" option, under Code Generation -> PIL and Download Config tab.

pastedImage_1.jpg

If you have that checkbox enabled, the code will be generated, the executable will be built and downloaded to the board, regardless of 'Generate code only' (built-in Simulink parameter) option under the Code Generation tab -- thus the "Coppy CATCH" message (can't find the path to EVB, because you don't have it connected).

If you only want to generate the code, either uncheck(disable) the "Enable Download Code After Build" option, either click on the "Generate Code" button from Code Generation tab, on the right of the "Generate code only" checkbox.

pastedImage_2.jpg

Hope this helps,

Razvan.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
2,701件の閲覧回数
constantinrazva
NXP Employee
NXP Employee

Hi Maciek‌,

That behavior is due to the fact that you have enabled/checked "Enable Download Code After Build" option, under Code Generation -> PIL and Download Config tab.

pastedImage_1.jpg

If you have that checkbox enabled, the code will be generated, the executable will be built and downloaded to the board, regardless of 'Generate code only' (built-in Simulink parameter) option under the Code Generation tab -- thus the "Coppy CATCH" message (can't find the path to EVB, because you don't have it connected).

If you only want to generate the code, either uncheck(disable) the "Enable Download Code After Build" option, either click on the "Generate Code" button from Code Generation tab, on the right of the "Generate code only" checkbox.

pastedImage_2.jpg

Hope this helps,

Razvan.

0 件の賞賛
返信
2,700件の閲覧回数
Maciek
Contributor V

Thanks for clarification. I didn't notice this option. Now it compiles without any problems/warnings.

Maciek

0 件の賞賛
返信