Hi everyone.
I'm having a problem when compiling a little and simple project (just to blink a led in the FRDM-KL27Z plataform). When I do it, I get this message that you can see on the image below.
I just don't know what to do, I've tried everything, but the error persist. I also tried the same code in another computer, and it worked perfectly, and I did the same thing as in my computer.
I'm using:
Kinetis Design Studio 3.0.0 IDE;
Plataform: FRDM-KL27Z;
Kinetis SDK 1.3.0;
Windows 10 (I had the same error in Windows 8).
Can you help me?
Thanks in advance.
Hi
Please upload your KDS demo code, thus we can check it directly on my side.
Thanks.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Code below:
/* ###################################################################
** Filename : main.c
** Project : testando
** Processor : MKL27Z64VLH4
** Version : Driver 01.01
** Compiler : GNU C Compiler
** Date/Time : 2018-03-11, 16:06, # CodeGen: 0
** Abstract :
** Main module.
** This module contains user's application code.
** Settings :
** Contents :
** No public methods
**
** ###################################################################*/
/*!
** @file main.c
** @version 01.01
** @brief
** Main module.
** This module contains user's application code.
*/
/*!
** @addtogroup main_module main module documentation
** @{
*/
/* MODULE main */
/* Including needed modules to compile this module/procedure */
#include "Cpu.h"
#include "Events.h"
#include "clockMan1.h"
#include "pin_init.h"
#include "osa1.h"
#include "gpio1.h"
#if CPU_INIT_CONFIG
#include "Init_Config.h"
#endif
/* User includes (#include below this line is not maintained by Processor Expert) */
/*lint -save -e970 Disable MISRA rule (6.3) checking. */
int main(void)
/*lint -restore Enable MISRA rule (6.3) checking. */
{
/* Write your local variable definition here */
/*** Processor Expert internal initialization. DON'T REMOVE THIS CODE!!! ***/
PE_low_level_init();
/*** End of Processor Expert internal initialization. ***/
int delay = 2000000;
/* Write your code here */
for(;;) {
GPIO_DRV_TogglePinOutput(LEDRGB_GREEN);
while(delay--);
delay = 2000000;
}
/*** Don't write any code pass this line, or it will be deleted during code generation. ***/
/*** RTOS startup code. Macro PEX_RTOS_START is defined by the RTOS component. DON'T MODIFY THIS CODE!!! ***/
#ifdef PEX_RTOS_START
PEX_RTOS_START(); /* Startup of the selected RTOS. Macro is defined by the RTOS component. */
#endif
/*** End of RTOS startup code. ***/
/*** Processor Expert end of main routine. DON'T MODIFY THIS CODE!!! ***/
for(;;){}
/*** Processor Expert end of main routine. DON'T WRITE CODE BELOW!!! ***/
} /*** End of main routine. DO NOT MODIFY THIS TEXT!!! ***/
/* END main */
/*!
** @}
*/
/*
** ###################################################################
**
** This file was created by Processor Expert 10.5 [05.21]
** for the Freescale Kinetis series of microcontrollers.
**
** ###################################################################
*/
Could you please upload your entire project instead piece of code? Thanks.
Jennie Zhang
Hello.
If it helps, I posted my entire project on Google Drive, it's a .rar file. Link below:
Thanks for your support.