Problem with import at KDS

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem with import at KDS

687 Views
renanikeda
Contributor II

Hello, I'm trying to import an project example to the KDS. This project was made at CW.

When I import and try to build the project, KDS returns this messages:

14:17:13 **** Clean-only build of configuration FLASH for project CAN_Node1WithInt_demo ****
make -j4 clean
"F:/Freescale/CW MCU v10.7/gnu/bin/rm" -rf "./*/*/*.o" "./*/*/*/*.o" "CAN_Node1WithInt_demo.elf" "./*/*/*.d" "./*/*/*/*.d" D:/Pro Solus/Datasheets/Freescale/Exemplos/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/FLASH/CAN_Node1WithInt_demo.elf

14:17:16 Build Finished (took 3s.968ms)

14:17:17 **** Build of configuration FLASH for project CAN_Node1WithInt_demo ****
make -j4 all
Building file: F:/kexx_drv_lib/src/projects/KE06/CAN_Node1WithInt_demo/CAN_Node1WithInt_demo.c
Building file: F:/kexx_drv_lib/src/projects/KE06/CAN_Node1WithInt_demo/mscan_api.c
Building file: F:/kexx_drv_lib/src/drivers/wdog/wdog.c
Building file: F:/kexx_drv_lib/src/drivers/uart/uart.c
Invoking: Cross ARM C Compiler
Invoking: Cross ARM C Compiler
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g3 -gstrict-dwarf -DFRDM_KE06 -DCPU_KE06 -DNO_SUPPORT_PRINTF -I"/ARM_GCC_Support/ewl/EWL_C/include" -I"/ARM_GCC_Support/ewl/EWL_Runtime/include" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/Project_Headers" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/projects/ke06/CAN_Node1WithInt_demo" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/common" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/cpu" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/cpu/headers" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/drivers/acmp" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/drivers/adc" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/drivers/bme" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\crc" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\ftm" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\gpio" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\ics" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\iic" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\kbi" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\nvm" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\pit" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\pmc" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\rtc" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\sim" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\spi" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\uart" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\wdog" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\pwt" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\bitband" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\can" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\platforms" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\Project_Settings\Startup_Code" -std=gnu11 -MMD -MP -MF"Sources/projects/CAN_Node1WithInt_demo.d" -MT"Sources/projects/CAN_Node1WithInt_demo.o" -c -o "Sources/projects/CAN_Node1WithInt_demo.o" "F:/kexx_drv_lib/src/projects/KE06/CAN_Node1WithInt_demo/CAN_Node1WithInt_demo.c"
arm-none-eabi-gcc -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g3 -gstrict-dwarf -DFRDM_KE06 -DCPU_KE06 -DNO_SUPPORT_PRINTF -I"/ARM_GCC_Support/ewl/EWL_C/include" -I"/ARM_GCC_Support/ewl/EWL_Runtime/include" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/Project_Headers" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/projects/ke06/CAN_Node1WithInt_demo" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/common" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/cpu" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/cpu/headers" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/drivers/acmp" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/drivers/adc" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/drivers/bme" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\crc" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\ftm" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\gpio" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\ics" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\iic" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\kbi" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\nvm" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\pit" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\pmc" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\rtc" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\sim" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\spi" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\uart" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\wdog" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\pwt" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\bitband" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\can" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\platforms" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\Project_Settings\Startup_Code" -std=gnu11 -MMD -MP -MF"Sources/projects/mscan_api.d" -MT"Sources/projects/mscan_api.o" -c -o "Sources/projects/mscan_api.o" "F:/kexx_drv_lib/src/projects/KE06/CAN_Node1WithInt_demo/mscan_api.c"
arm-none-eabi-gcc -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g3 -gstrict-dwarf -DFRDM_KE06 -DCPU_KE06 -DNO_SUPPORT_PRINTF -I"/ARM_GCC_Support/ewl/EWL_C/include" -I"/ARM_GCC_Support/ewl/EWL_Runtime/include" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/Project_Headers" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/projects/ke06/CAN_Node1WithInt_demo" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/common" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/cpu" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/cpu/headers" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/drivers/acmp" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/drivers/adc" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/drivers/bme" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\crc" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\ftm" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\gpio" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\ics" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\iic" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\kbi" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\nvm" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\pit" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\pmc" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\rtc" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\sim" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\spi" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\uart" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\wdog" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\pwt" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\bitband" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\can" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\platforms" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\Project_Settings\Startup_Code" -std=gnu11 -MMD -MP -MF"Sources/drivers/wdog/wdog.d" -MT"Sources/drivers/wdog/wdog.o" -c -o "Sources/drivers/wdog/wdog.o" "F:/kexx_drv_lib/src/drivers/wdog/wdog.c"
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g3 -gstrict-dwarf -DFRDM_KE06 -DCPU_KE06 -DNO_SUPPORT_PRINTF -I"/ARM_GCC_Support/ewl/EWL_C/include" -I"/ARM_GCC_Support/ewl/EWL_Runtime/include" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/Project_Headers" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/projects/ke06/CAN_Node1WithInt_demo" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/common" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/cpu" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/cpu/headers" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/drivers/acmp" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/drivers/adc" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo/../../../../src/drivers/bme" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\crc" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\ftm" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\gpio" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\ics" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\iic" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\kbi" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\nvm" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\pit" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\pmc" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\rtc" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\sim" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\spi" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\uart" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\wdog" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\pwt" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\bitband" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\drivers\can" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\..\..\..\..\src\platforms" -I"F:/kexx_drv_lib/build/cw/ke06/CAN_Node1WithInt_demo\Project_Settings\Startup_Code" -std=gnu11 -MMD -MP -MF"Sources/drivers/uart/uart.d" -MT"Sources/drivers/uart/uart.o" -c -o "Sources/drivers/uart/uart.o" "F:/kexx_drv_lib/src/drivers/uart/uart.c"
F:/kexx_drv_lib/src/projects/KE06/CAN_Node1WithInt_demo/CAN_Node1WithInt_demo.c: In function 'main':
F:/kexx_drv_lib/src/projects/KE06/CAN_Node1WithInt_demo/CAN_Node1WithInt_demo.c:86:5: warning: missing braces around initializer [-Wmissing-braces]
MSCAN_ConfigType sMSCANConfig = {0};
^
F:/kexx_drv_lib/src/projects/KE06/CAN_Node1WithInt_demo/CAN_Node1WithInt_demo.c:86:5: warning: (near initialization for 'sMSCANConfig.sSetting') [-Wmissing-braces]
F:/kexx_drv_lib/src/projects/KE06/CAN_Node1WithInt_demo/CAN_Node1WithInt_demo.c:155:4: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'union <anonymous>' [-Wformat=]
printf("ID is 0x%x!\r\n",sRxFrameInfo.ID_Type);
^
C:\Users\NOT-PDI\AppData\Local\Temp\ccdUceEN.s: Assembler messages:
C:\Users\NOT-PDI\AppData\Local\Temp\ccdUceEN.s:540: Error: selected processor does not support Thumb mode `cpsid i'
C:\Users\NOT-PDI\AppData\Local\Temp\ccdUceEN.s:923: Error: selected processor does not support Thumb mode `cpsie i'
C:\Users\NOT-PDI\AppData\Local\Temp\ccdUceEN.s:978: Error: selected processor does not support Thumb mode `cpsid i'
C:\Users\NOT-PDI\AppData\Local\Temp\ccdUceEN.s:987: Error: selected processor does not support Thumb mode `cpsie i'
C:\Users\NOT-PDI\AppData\Local\Temp\ccdUceEN.s:1041: Error: selected processor does not support Thumb mode `cpsid i'
C:\Users\NOT-PDI\AppData\Local\Temp\ccdUceEN.s:1104: Error: selected processor does not support Thumb mode `cpsie i'
C:\Users\NOT-PDI\AppData\Local\Temp\ccdUceEN.s:1131: Error: selected processor does not support Thumb mode `cpsie i'
C:\Users\NOT-PDI\AppData\Local\Temp\ccdUceEN.s:1170: Error: selected processor does not support Thumb mode `cpsid i'
C:\Users\NOT-PDI\AppData\Local\Temp\ccdUceEN.s:1228: Error: selected processor does not support Thumb mode `cpsie i'
C:\Users\NOT-PDI\AppData\Local\Temp\ccdUceEN.s:1237: Error: selected processor does not support Thumb mode `cpsie i'
Sources/projects/subdir.mk:28: recipe for target 'Sources/projects/mscan_api.o' failed
make: *** [Sources/projects/mscan_api.o] Error 1
make: *** Waiting for unfinished jobs....
C:\Users\NOT-PDI\AppData\Local\Temp\ccbO2R4m.s: Assembler messages:
C:\Users\NOT-PDI\AppData\Local\Temp\ccbO2R4m.s:615: Error: selected processor does not support Thumb mode `cpsid i'
C:\Users\NOT-PDI\AppData\Local\Temp\ccbO2R4m.s:628: Error: selected processor does not support Thumb mode `cpsie i'
Sources/drivers/wdog/subdir.mk:18: recipe for target 'Sources/drivers/wdog/wdog.o' failed
make: *** [Sources/drivers/wdog/wdog.o] Error 1
Finished building: F:/kexx_drv_lib/src/drivers/uart/uart.c
Finished building: F:/kexx_drv_lib/src/projects/KE06/CAN_Node1WithInt_demo/CAN_Node1WithInt_demo.c

14:17:30 Build Finished (took 13s.93ms)

How can I made this works? 

Thanks

0 Kudos
Reply
1 Reply

443 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Renan,

the error message shows "Error: selected processor does not support Thumb mode `cpsie i'"

I didn't see your project, but I ever had a customer met similar when porting project from CW to KDS. 

they fixed the problem by creating a new KDS project then adding the user files part by part.

`cpsie i'" can work with KE06 under KDS without problem.

FYI, this is a document of how to use inline assembly.
https://community.nxp.com/docs/DOC-102477 


Have a great day,
Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply