This issue is similar to those discussed in the links below:
First, try the following:
1. Login as Administrator
2. Install Arduino Due support package
3. Try deploying the Arduino Due model "arduinodue_communication".
If it does not resolve the issue please consider the following:
Symptom: Arduino Due compiler "arm-none-eabi-gcc.exe" fails to create its intermediate files in the TMP directory for local users and compiler crashes with the below error. This issue occurs sometimes even if the local user has Admin rights.
"This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
cs-make: * [IPAddress.o] Error 255 "
Please place the attached files in the Support package installed path as shown below:
a. "arduinoPreBuild.p" file in the following path:
<Support Package Installed Path>\arduinobase\toolbox\realtime\targets\arduino\+realtime\+internal.
(Please delete (overwrite) the existing p file)
b. "arduinoPreDownload.p" file in:
<Support Package Installed Path>\arduinobase\toolbox\realtime\targets\arduino\+realtime\+internal.
(Please delete (overwrite) the existing p file)
Example for release R2014b:
c. Then enter "rehash toolboxcache" in the MATLAB Command Window.
d. Finally, please enter "savepath" in that MATLAB Command Window to save the path changes.
Best Answer