Tool/software: Code Composer Studio
I created a simulink model consist only of an input a unit delay and an output model and when i build it for ccs simulator ".out" file is not created.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
I created a simulink model consist only of an input a unit delay and an output model and when i build it for ccs simulator ".out" file is not created.
I directly import that C/++ code into my own CCS project that i create...
then error has come.
/*
* File: Soumya1.c
*
* Code generated for Simulink model 'Soumya1'.
*
* Model version : 1.3
* Simulink Coder version : 8.8 (R2015a) 09-Feb-2015
* C/C++ source code generated on : Thu May 18 12:57:19 2017
*
* Target selection: idelink_ert.tlc
* Embedded hardware selection: Texas Instruments->C6000
* Code generation objectives: Unspecified
* Validation result: Not run
*/
#include "Soumya1.h"
#include "Soumya1_private.h"
/* Real-time model */
RT_MODEL_Soumya1_T Soumya1_M_;
RT_MODEL_Soumya1_T *const Soumya1_M = &Soumya1_M_;
/* Model step function */
void Soumya1_step(void)
{
/* S-Function (c6713dsk_led): '<Root>/LED' */
*(volatile uint8_T *)(0x90080000) = (unsigned char)(Soumya1_P.Constant_Value);
}
/* Model initialize function */
void Soumya1_initialize(void)
{
/* Registration code */
/* initialize error status */
rtmSetErrorStatus(Soumya1_M, (NULL));
}
/* Model terminate function */
void Soumya1_terminate(void)
{
/* (no terminate code required) */
}
/*
* File trailer for generated code.
*
* [EOF]
*/
Hi,
I don't see any obvious issues, but it is very hard to debug from 2 images. I would try and use an example CCS project that works and edit from there as opposed to starting a new one from scratch. It is unclear if this is a CCS import issue or MathWorks code gen issue. Please contact MathWorks Technical Support for assistance on the code generation aspects.
-Brian