October 07, 2024, 05:36:25 PM

PIC32-HMZ144 - Harmony Error

Started by testtest2, May 16, 2015, 05:00:39 PM

Previous topic - Next topic

testtest2

Hi,

I am trying to test the PIC32_HMZ144_demo that is included for the PIC32-HMZ144.
I am installed the last software: MPLABX-V3.00, xc-1.34 and harmony v1_04_02.
The PIC32_HMZ144_demo (https://www.olimex.com/Products/PIC/Development/PIC32-HMZ144/open-source-hardware) is developed with Harmony 1.00v. When I trying to use the MPLAB Harmony Configurator I get the following output log:

"Local project .hconfig file not found.  Automatically replacing with: C:\microchip\harmony\v1_04_02\utilities\mhc\config\harmony.hconfig
Searching for initial hconfig file: C:\Users\Vitor\Desktop\PIC32_HMZ144_demo_v1\Project\apps\Demo\firmware\PIC32-HMZ144.hconfig
Search succeeded...
Default configuration file: C:\Users\Vitor\Desktop\PIC32_HMZ144_demo_v1\Project\apps\Demo\firmware\src\system_config\default\default.mhc
Writing C:\Users\Vitor\Desktop\PIC32_HMZ144_demo_v1\Project\apps\Demo\firmware\src\system_config\default\default.mhc
Finished writing C:\Users\Vitor\Desktop\PIC32_HMZ144_demo_v1\Project\apps\Demo\firmware\src\system_config\default\default.mhc
".

My issue is when I try to compile after generate the files for syncronize the harmony versions in MPLAB Harmony Configurator:

"
"C:\Program Files (x86)\Microchip\xc32\v1.34\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MZ2048ECG144 -ffunction-sections -O1 -I../src -I../src/system_config -I../src/system_config/default -I../../../../framework -I../../../../framework/driver/sdcard -I../../../../framework/driver/spi -I../../../../framework/driver/spi/src -I../../../../framework/driver/spi/src/dynamic -I../../../../framework/driver -I../../../../framework/system/clk -I../../../../framework/system/clk/src -I../../../../framework/system/common -I../../../../framework/system/devcon -I../../../../framework/system/devcon/src -I../../../../framework/system/fs -I../../../../framework/system/fs/fat_fs/src/file_system -I../../../../framework/system/fs/fat_fs/src/hardware_access -I../../../../framework/system/int -I../../../../framework/system/ports -I../../../../framework/system -I../../../../framework/driver/tmr -I../../../../framework/system/tmr -I../../../../framework/driver/usb -I../../../../framework/usb -I../../../../framework/driver/usart -I../../../../bsp/pic32mz_ec_sk -I../../../../../../../../../microchip/harmony/v1_04_02/framework -I../src/system_config/default/framework -MMD -MF build/default/production/_ext/1777522894/sys_devcon.o.d -o build/default/production/_ext/1777522894/sys_devcon.o ../../../../../../../../../microchip/harmony/v1_04_02/framework/system/devcon/src/sys_devcon.c
../../../../../../../../../microchip/harmony/v1_04_02/framework/system/devcon/src/sys_devcon.c:379:74: error: expected ')' before 'pwrMode'
"C:\Program Files (x86)\Microchip\xc32\v1.34\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MZ2048ECG144 -ffunction-sections -O1 -I../src -I../src/system_config -I../src/system_config/default -I../../../../framework -I../../../../framework/driver/sdcard -I../../../../framework/driver/spi -I../../../../framework/driver/spi/src -I../../../../framework/driver/spi/src/dynamic -I../../../../framework/driver -I../../../../framework/system/clk -I../../../../framework/system/clk/src -I../../../../framework/system/common -I../../../../framework/system/devcon -I../../../../framework/system/devcon/src -I../../../../framework/system/fs -I../../../../framework/system/fs/fat_fs/src/file_system -I../../../../framework/system/fs/fat_fs/src/hardware_access -I../../../../framework/system/int -I../../../../framework/system/ports -I../../../../framework/system -I../../../../framework/driver/tmr -I../../../../framework/system/tmr -I../../../../framework/driver/usb -I../../../../framework/usb -I../../../../framework/driver/usart -I../../../../bsp/pic32mz_ec_sk -I../../../../../../../../../microchip/harmony/v1_04_02/framework -I../src/system_config/default/framework -MMD -MF build/default/production/_ext/1777522894/sys_devcon_pic32mz.o.d -o build/default/production/_ext/1777522894/sys_devcon_pic32mz.o ../../../../../../../../../microchip/harmony/v1_04_02/framework/system/devcon/src/sys_devcon_pic32mz.c
make[2]: *** [build/default/production/_ext/1777522894/sys_devcon.o] Error 1
make[2]: *** Waiting for unfinished jobs....
nbproject/Makefile-default.mk:535: recipe for target 'build/default/production/_ext/1777522894/sys_devcon.o' failed
"C:\Program Files (x86)\Microchip\xc32\v1.34\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MZ2048ECG144 -ffunction-sections -O1 -I../src -I../src/system_config -I../src/system_config/default -I../../../../framework -I../../../../framework/driver/sdcard -I../../../../framework/driver/spi -I../../../../framework/driver/spi/src -I../../../../framework/driver/spi/src/dynamic -I../../../../framework/driver -I../../../../framework/system/clk -I../../../../framework/system/clk/src -I../../../../framework/system/common -I../../../../framework/system/devcon -I../../../../framework/system/devcon/src -I../../../../framework/system/fs -I../../../../framework/system/fs/fat_fs/src/file_system -I../../../../framework/system/fs/fat_fs/src/hardware_access -I../../../../framework/system/int -I../../../../framework/system/ports -I../../../../framework/system -I../../../../framework/driver/tmr -I../../../../framework/system/tmr -I../../../../framework/driver/usb -I../../../../framework/usb -I../../../../framework/driver/usart -I../../../../bsp/pic32mz_ec_sk -I../../../../../../../../../microchip/harmony/v1_04_02/framework -I../src/system_config/default/framework -MMD -MF build/default/production/_ext/1625450327/sys_ports.o.d -o build/default/production/_ext/1625450327/sys_ports.o ../../../../../../../../../microchip/harmony/v1_04_02/framework/system/ports/src/sys_ports.c
../src/system_config/default/framework/system/clk/src/sys_clk_static.c: In function 'SYS_CLK_PeripheralFrequencyGet':

(...)
ake[2]: *** [build/default/production/_ext/639803181/sys_clk_static.o] Error 1
"C:\Program Files (x86)\Microchip\xc32\v1.34\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MZ2048ECG144 -ffunction-sections -O1 -I../src -I../src/system_config -I../src/system_config/default -I../../../../framework -I../../../../framework/driver/sdcard -I../../../../framework/driver/spi -I../../../../framework/driver/spi/src -I../../../../framework/driver/spi/src/dynamic -I../../../../framework/driver -I../../../../framework/system/clk -I../../../../framework/system/clk/src -I../../../../framework/system/common -I../../../../framework/system/devcon -I../../../../framework/system/devcon/src -I../../../../framework/system/fs -I../../../../framework/system/fs/fat_fs/src/file_system -I../../../../framework/system/fs/fat_fs/src/hardware_access -I../../../../framework/system/int -I../../../../framework/system/ports -I../../../../framework/system -I../../../../framework/driver/tmr -I../../../../framework/system/tmr -I../../../../framework/driver/usb -I../../../../framework/usb -I../../../../framework/driver/usart -I../../../../bsp/pic32mz_ec_sk -I../../../../../../../../../microchip/harmony/v1_04_02/framework -I../src/system_config/default/framework -MMD -MF build/default/production/_ext/639803181/sys_clk_static.o.d -o build/default/production/_ext/639803181/sys_clk_static.o ../src/system_config/default/framework/system/clk/src/sys_clk_static.c
nbproject/Makefile-default.mk:553: recipe for target 'build/default/production/_ext/639803181/sys_clk_static.o' failed
"C:\Program Files (x86)\Microchip\xc32\v1.34\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MZ2048ECG144 -ffunction-sections -O1 -I../src -I../src/system_config -I../src/system_config/default -I../../../../framework -I../../../../framework/driver/sdcard -I../../../../framework/driver/spi -I../../../../framework/driver/spi/src -I../../../../framework/driver/spi/src/dynamic -I../../../../framework/driver -I../../../../framework/system/clk -I../../../../framework/system/clk/src -I../../../../framework/system/common -I../../../../framework/system/devcon -I../../../../framework/system/devcon/src -I../../../../framework/system/fs -I../../../../framework/system/fs/fat_fs/src/file_system -I../../../../framework/system/fs/fat_fs/src/hardware_access -I../../../../framework/system/int -I../../../../framework/system/ports -I../../../../framework/system -I../../../../framework/driver/tmr -I../../../../framework/system/tmr -I../../../../framework/driver/usb -I../../../../framework/usb -I../../../../framework/driver/usart -I../../../../bsp/pic32mz_ec_sk -I../../../../../../../../../microchip/harmony/v1_04_02/framework -I../src/system_config/default/framework -MMD -MF build/default/production/_ext/822048611/sys_ports_static.o.d -o build/default/production/_ext/822048611/sys_ports_static.o ../src/system_config/default/framework/system/ports/src/sys_ports_static.c
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
"C:\Program Files (x86)\Microchip\xc32\v1.34\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MZ2048ECG144 -ffunction-sections -O1 -I../src -I../src/system_config -I../src/system_config/default -I../../../../framework -I../../../../framework/driver/sdcard -I../../../../framework/driver/spi -I../../../../framework/driver/spi/src -I../../../../framework/driver/spi/src/dynamic -I../../../../framework/driver -I../../../../framework/system/clk -I../../../../framework/system/clk/src -I../../../../framework/system/common -I../../../../framework/system/devcon -I../../../../framework/system/devcon/src -I../../../../framework/system/fs -I../../../../framework/system/fs/fat_fs/src/file_system -I../../../../framework/system/fs/fat_fs/src/hardware_access -I../../../../framework/system/int -I../../../../framework/system/ports -I../../../../framework/system -I../../../../framework/driver/tmr -I../../../../framework/system/tmr -I../../../../framework/driver/usb -I../../../../framework/usb -I../../../../framework/driver/usart -I../../../../bsp/pic32mz_ec_sk -I../../../../../../../../../microchip/harmony/v1_04_02/framework -I../src/system_config/default/framework -MMD -MF build/default/production/_ext/1688732426/system_exceptions.o.d -o build/default/production/_ext/1688732426/system_exceptions.o ../src/system_config/default/system_exceptions.c
make[2]: Leaving directory 'C:/Users/Vitor/Desktop/PIC32_HMZ144_demo_v1/Project/apps/Demo/firmware/PIC32-HMZ144.X'
nbproject/Makefile-default.mk:78: recipe for target '.build-conf' failed
make[1]: Leaving directory 'C:/Users/Vitor/Desktop/PIC32_HMZ144_demo_v1/Project/apps/Demo/firmware/PIC32-HMZ144.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed

BUILD FAILED (exit value 2, total time: 14s)".



Can you help me to help me to fix this problem??

thank you

JohnS

Try asking Microchip as they are their products!

John

testtest2

I already try but still no answer.

Anyone can test the demo version and verify if get the same result?

ty