Hello!
I've just started with the MCUXpresso.
I've been trying to debug the program from the last two days but there's an error that's keep occuring. I tried so many solutions on Internet but nothing is workign.
I'm posting the whole console with an error:
09:57:02 **** Build of configuration Debug for project DALI_Slave_LPC111x ****
make -r all
Building file: ../src/Discovery.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\DeviceSupport\NXP\LPC11XX" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\CoreSupport" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\src" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fmerge-constants -fmacro-prefix-map="../src/"=. -mcpu=cortex-m0 -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"src/Discovery.d" -MT"src/Discovery.o" -MT"src/Discovery.d" -o "src/Discovery.o" "../src/Discovery.c"
Finished building: ../src/Discovery.c
Building file: ../src/RS485.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\DeviceSupport\NXP\LPC11XX" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\CoreSupport" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\src" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fmerge-constants -fmacro-prefix-map="../src/"=. -mcpu=cortex-m0 -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"src/RS485.d" -MT"src/RS485.o" -MT"src/RS485.d" -o "src/RS485.o" "../src/RS485.c"
Finished building: ../src/RS485.c
Building file: ../src/Uart_11xx.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\DeviceSupport\NXP\LPC11XX" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\CoreSupport" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\src" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fmerge-constants -fmacro-prefix-map="../src/"=. -mcpu=cortex-m0 -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"src/Uart_11xx.d" -MT"src/Uart_11xx.o" -MT"src/Uart_11xx.d" -o "src/Uart_11xx.o" "../src/Uart_11xx.c"
Finished building: ../src/Uart_11xx.c
Building file: ../src/bsp.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\DeviceSupport\NXP\LPC11XX" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\CoreSupport" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\src" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fmerge-constants -fmacro-prefix-map="../src/"=. -mcpu=cortex-m0 -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"src/bsp.d" -MT"src/bsp.o" -MT"src/bsp.d" -o "src/bsp.o" "../src/bsp.c"
Finished building: ../src/bsp.c
Building file: ../src/cr_startup_lpc11.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\DeviceSupport\NXP\LPC11XX" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\CoreSupport" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\src" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fmerge-constants -fmacro-prefix-map="../src/"=. -mcpu=cortex-m0 -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"src/cr_startup_lpc11.d" -MT"src/cr_startup_lpc11.o" -MT"src/cr_startup_lpc11.d" -o "src/cr_startup_lpc11.o" "../src/cr_startup_lpc11.c"
Finished building: ../src/cr_startup_lpc11.c
Building file: ../src/dk_i2c.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\DeviceSupport\NXP\LPC11XX" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\CoreSupport" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\src" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fmerge-constants -fmacro-prefix-map="../src/"=. -mcpu=cortex-m0 -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"src/dk_i2c.d" -MT"src/dk_i2c.o" -MT"src/dk_i2c.d" -o "src/dk_i2c.o" "../src/dk_i2c.c"
Finished building: ../src/dk_i2c.c
Building file: ../src/main.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\DeviceSupport\NXP\LPC11XX" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\CoreSupport" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\src" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fmerge-constants -fmacro-prefix-map="../src/"=. -mcpu=cortex-m0 -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"src/main.d" -MT"src/main.o" -MT"src/main.d" -o "src/main.o" "../src/main.c"
Finished building: ../src/main.c
Building file: ../src/wdt.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\DeviceSupport\NXP\LPC11XX" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\CoreSupport" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\src" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fmerge-constants -fmacro-prefix-map="../src/"=. -mcpu=cortex-m0 -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"src/wdt.d" -MT"src/wdt.o" -MT"src/wdt.d" -o "src/wdt.o" "../src/wdt.c"
Finished building: ../src/wdt.c
Building file: ../src/wh_ballast.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\DeviceSupport\NXP\LPC11XX" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\CoreSupport" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\src" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fmerge-constants -fmacro-prefix-map="../src/"=. -mcpu=cortex-m0 -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"src/wh_ballast.d" -MT"src/wh_ballast.o" -MT"src/wh_ballast.d" -o "src/wh_ballast.o" "../src/wh_ballast.c"
Finished building: ../src/wh_ballast.c
Building file: ../src/wh_dali_cmd.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\DeviceSupport\NXP\LPC11XX" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\CoreSupport" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\src" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fmerge-constants -fmacro-prefix-map="../src/"=. -mcpu=cortex-m0 -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"src/wh_dali_cmd.d" -MT"src/wh_dali_cmd.o" -MT"src/wh_dali_cmd.d" -o "src/wh_dali_cmd.o" "../src/wh_dali_cmd.c"
Finished building: ../src/wh_dali_cmd.c
Building file: ../src/wh_dali_drv.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\DeviceSupport\NXP\LPC11XX" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\CoreSupport" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\src" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fmerge-constants -fmacro-prefix-map="../src/"=. -mcpu=cortex-m0 -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"src/wh_dali_drv.d" -MT"src/wh_dali_drv.o" -MT"src/wh_dali_drv.d" -o "src/wh_dali_drv.o" "../src/wh_dali_drv.c"
Finished building: ../src/wh_dali_drv.c
Building file: ../CMSIS/CM0/DeviceSupport/NXP/LPC11XX/system_LPC11xx.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\DeviceSupport\NXP\LPC11XX" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\CoreSupport" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\src" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fmerge-constants -fmacro-prefix-map="../CMSIS/CM0/DeviceSupport/NXP/LPC11XX/"=. -mcpu=cortex-m0 -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"CMSIS/CM0/DeviceSupport/NXP/LPC11XX/system_LPC11xx.d" -MT"CMSIS/CM0/DeviceSupport/NXP/LPC11XX/system_LPC11xx.o" -MT"CMSIS/CM0/DeviceSupport/NXP/LPC11XX/system_LPC11xx.d" -o "CMSIS/CM0/DeviceSupport/NXP/LPC11XX/system_LPC11xx.o" "../CMSIS/CM0/DeviceSupport/NXP/LPC11XX/system_LPC11xx.c"
Finished building: ../CMSIS/CM0/DeviceSupport/NXP/LPC11XX/system_LPC11xx.c
Building file: ../CMSIS/CM0/CoreSupport/core_cm0.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\DeviceSupport\NXP\LPC11XX" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\CoreSupport" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\src" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fmerge-constants -fmacro-prefix-map="../CMSIS/CM0/CoreSupport/"=. -mcpu=cortex-m0 -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"CMSIS/CM0/CoreSupport/core_cm0.d" -MT"CMSIS/CM0/CoreSupport/core_cm0.o" -MT"CMSIS/CM0/CoreSupport/core_cm0.d" -o "CMSIS/CM0/CoreSupport/core_cm0.o" "../CMSIS/CM0/CoreSupport/core_cm0.c"
Finished building: ../CMSIS/CM0/CoreSupport/core_cm0.c
Building file: ../.metadata/.plugins/org.eclipse.cdt.make.core/specs.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\DeviceSupport\NXP\LPC11XX" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\CMSIS\CM0\CoreSupport" -I"C:\Users\uddin\Documents\MCUXpressoIDE_11.1.1_3241\workspace\DALI_Slave_LPC111x\src" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fmerge-constants -fmacro-prefix-map="../.metadata/.plugins/org.eclipse.cdt.make.core/"=. -mcpu=cortex-m0 -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF".metadata/.plugins/org.eclipse.cdt.make.core/specs.d" -MT".metadata/.plugins/org.eclipse.cdt.make.core/specs.o" -MT".metadata/.plugins/org.eclipse.cdt.make.core/specs.d" -o ".metadata/.plugins/org.eclipse.cdt.make.core/specs.o" "../.metadata/.plugins/org.eclipse.cdt.make.core/specs.c"
Finished building: ../.metadata/.plugins/org.eclipse.cdt.make.core/specs.c
Building target: .hexDALI_Slave_LPC111x.axf
Invoking: MCU Linker
arm-none-eabi-gcc -nostdlib -Xlinker -Map=".hexDALI_Slave_LPC111x.map" -Xlinker --gc-sections -mcpu=cortex-m0 -mthumb -T "DALI_Slave_LPC111x_Debug.ld" -o ".hexDALI_Slave_LPC111x.axf" ./src/Discovery.o ./src/RS485.o ./src/Uart_11xx.o ./src/bsp.o ./src/cr_startup_lpc11.o ./src/dk_i2c.o ./src/main.o ./src/wdt.o ./src/wh_ballast.o ./src/wh_dali_cmd.o ./src/wh_dali_drv.o ./CMSIS/CM0/DeviceSupport/NXP/LPC11XX/system_LPC11xx.o ./CMSIS/CM0/CoreSupport/core_cm0.o ./.metadata/.plugins/org.eclipse.cdt.make.core/specs.o
Finished building target: .hexDALI_Slave_LPC111x.axf
make --no-print-directory post-build
Performing post-build steps
arm-none-eabi-size "DALI_Slave_LPC111x.axf" ; arm-none-eabi-objcopy -O binary "DALI_Slave_LPC111x.axf" ".hexDALI_Slave_LPC111x.bin" ; checksum -p LPC1114_302 -d ".hexDALI_Slave_LPC111x.bin"
arm-none-eabi-size: 'DALI_Slave_LPC111x.axf': No such file
arm-none-eabi-objcopy: 'DALI_Slave_LPC111x.axf': No such file
Error: Cannot open checksum file .hexDALI_Slave_LPC111x.binmake[1]: [makefile:47: post-build] Error 1 (ignored)