• AVR Freaks

Problems with Graphics Stack at MPLAB HARMONY

Author
Aybood
New Member
  • Total Posts : 21
  • Reward points : 0
  • Joined: 2017/11/16 07:27:47
  • Location: 0
  • Status: offline
2018/01/25 03:55:52 (permalink)
0

Problems with Graphics Stack at MPLAB HARMONY

Hi,
I am new at Mplab Harmony enviroment and i wanted to get familliar with graphics composer and graphics stack in harmony, so i started with PIC32MX ethernet starter kit + Media Expansion Board1 "MEB".
To start i have chosen pic32mx ethernet starter kit as bsp and i copied the configuration of the MEB from another bsp (pic32 usb 2 kit + MEB), but it always gives me an error at project building phase.
 
My questions are:
1) Can anyone help me to know what is the problem? I tried to understand the output error but i didn't. (u can find the output error and graphics stack configuration in uploads as photos or text (output error only) in the first comment).
 
2)Is there any documentation or manual which let me understand the configuration of the graphics stack? because in future i want to develop on LCD TFT screen not supported in HARMONY using parallel protocol 8080 16 bit.
 
Thanks

Attached Image(s)

#1
Aybood
New Member
  • Total Posts : 21
  • Reward points : 0
  • Joined: 2017/11/16 07:27:47
  • Location: 0
  • Status: offline
Re: Problems with Graphics Stack at MPLAB HARMONY 2018/01/26 00:51:29 (permalink)
0
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'C:/microchip/harmony/v2_04/apps/usbx/firmware/usbx.X'
make  -f nbproject/Makefile-default.mk dist/default/production/usbx.X.production.hex
make[2]: Entering directory 'C:/microchip/harmony/v2_04/apps/usbx/firmware/usbx.X'
"C:\Program Files (x86)\Microchip\xc32\v1.44\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/1360937237/main.o.d -o build/default/production/_ext/1360937237/main.o ../src/main.c -DXPRJ_default=default -no-legacy-libc
"C:\Program Files (x86)\Microchip\xc32\v1.44\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/1360937237/app.o.d -o build/default/production/_ext/1360937237/app.o ../src/app.c -DXPRJ_default=default -no-legacy-libc
"C:\Program Files (x86)\Microchip\xc32\v1.44\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/1182143834/jidctint.o.d -o build/default/production/_ext/1182143834/jidctint.o ../../../../third_party/decoder/jidctint/src/jidctint.c -DXPRJ_default=default -no-legacy-libc
"C:\Program Files (x86)\Microchip\xc32\v1.44\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/1143587551/gfxu_image.o.d -o build/default/production/_ext/1143587551/gfxu_image.o ../../../../framework/gfx/utils/src/gfxu_image.c -DXPRJ_default=default -no-legacy-libc
../../../../framework/driver/touch/adc10bit/src/drv_adc10bit.c:85:58: error: 'TOUCHCAL_ULX' undeclared here (not in a function)
 volatile short xRawTouch[DRV_ADC10BIT_SAMPLE_POINTS] = { TOUCHCAL_ULX,
                                                          ^
../../../../framework/driver/touch/adc10bit/src/drv_adc10bit.c:86:58: error: 'TOUCHCAL_URX' undeclared here (not in a function)
                                                          TOUCHCAL_URX,
                                                          ^
../../../../framework/driver/touch/adc10bit/src/drv_adc10bit.c:87:58: error: 'TOUCHCAL_LRX' undeclared here (not in a function)
                                                          TOUCHCAL_LRX,
                                                          ^
../../../../framework/driver/touch/adc10bit/src/drv_adc10bit.c:88:58: error: 'TOUCHCAL_LLX' undeclared here (not in a function)
                                                          TOUCHCAL_LLX };
                                                          ^
../../../../framework/driver/touch/adc10bit/src/drv_adc10bit.c:90:58: error: 'TOUCHCAL_ULY' undeclared here (not in a function)
 volatile short yRawTouch[DRV_ADC10BIT_SAMPLE_POINTS] = { TOUCHCAL_ULY,
                                                          ^
../../../../framework/driver/touch/adc10bit/src/drv_adc10bit.c:91:58: error: 'TOUCHCAL_URY' undeclared here (not in a function)
                                                          TOUCHCAL_URY,
                                                          ^
../../../../framework/driver/touch/adc10bit/src/drv_adc10bit.c:92:58: error: 'TOUCHCAL_LRY' undeclared here (not in a function)
                                                          TOUCHCAL_LRY,
                                                          ^
../../../../framework/driver/touch/adc10bit/src/drv_adc10bit.c:93:58: error: 'TOUCHCAL_LLY' undeclared here (not in a function)
                                                          TOUCHCAL_LLY };
                                                          ^
../../../../framework/driver/touch/adc10bit/src/drv_adc10bit.c: In function '_DRV_TOUCH_ADC10BIT_CalculateCalPoints':
In file included from ../../../../framework/driver/touch/adc10bit/src/drv_adc10bit.c:45:0:
../../../../framework/driver/touch/adc10bit/src/drv_adc10bit_local.h:86:28: error: 'DISP_VER_RESOLUTION' undeclared (first use in this function)
     #define ADC_MaxYGet() (DISP_VER_RESOLUTION - 1)
                            ^
../../../../framework/driver/touch/adc10bit/src/drv_adc10bit_local.h:119:27: note: in expansion of macro 'ADC_MaxYGet'
 #define CAL_Y_INSET    (((ADC_MaxYGet()+1)*(DRV_TOUCH_ADC10BIT_CALIBRATION_INSET>>1))/100)
                           ^
../../../../framework/driver/touch/adc10bit/src/drv_adc10bit.c:916:29: note: in expansion of macro 'CAL_Y_INSET'
     yPoint[0] = yPoint[1] = CAL_Y_INSET;
                             ^
../../../../framework/driver/touch/adc10bit/src/drv_adc10bit_local.h:86:28: note: each undeclared identifier is reported only once for each function it appears in
     #define ADC_MaxYGet() (DISP_VER_RESOLUTION - 1)
                            ^
../../../../framework/driver/touch/adc10bit/src/drv_adc10bit_local.h:119:27: note: in expansion of macro 'ADC_MaxYGet'
 #define CAL_Y_INSET    (((ADC_MaxYGet()+1)*(DRV_TOUCH_ADC10BIT_CALIBRATION_INSET>>1))/100)
                           ^
../../../../framework/driver/touch/adc10bit/src/drv_adc10bit.c:916:29: note: in expansion of macro 'CAL_Y_INSET'
     yPoint[0] = yPoint[1] = CAL_Y_INSET;
                             ^
../../../../framework/driver/touch/adc10bit/src/drv_adc10bit_local.h:77:28: error: 'DISP_HOR_RESOLUTION' undeclared (first use in this function)
     #define ADC_MaxXGet() (DISP_HOR_RESOLUTION - 1)
                            ^
../../../../framework/driver/touch/adc10bit/src/drv_adc10bit_local.h:104:27: note: in expansion of macro 'ADC_MaxXGet'
 #define CAL_X_INSET    (((ADC_MaxXGet()+1)*(DRV_TOUCH_ADC10BIT_CALIBRATION_INSET>>1))/100)
                           ^
../../../../framework/driver/touch/adc10bit/src/drv_adc10bit.c:918:29: note: in expansion of macro 'CAL_X_INSET'
     xPoint[0] = xPoint[3] = CAL_X_INSET;
                             ^
make[2]: *** [build/default/production/_ext/1945137225/drv_adc10bit.o] Error 1
make[2]: *** Waiting for unfinished jobs....
"C:\Program Files (x86)\Microchip\xc32\v1.44\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/1945137225/drv_adc10bit.o.d -o build/default/production/_ext/1945137225/drv_adc10bit.o ../../../../framework/driver/touch/adc10bit/src/drv_adc10bit.c -DXPRJ_default=default -no-legacy-libc
nbproject/Makefile-default.mk:897: recipe for target 'build/default/production/_ext/1945137225/drv_adc10bit.o' failed
"C:\Program Files (x86)\Microchip\xc32\v1.44\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/1143587551/gfxu_image_png_internal.o.d -o build/default/production/_ext/1143587551/gfxu_image_png_internal.o ../../../../framework/gfx/utils/src/gfxu_image_png_internal.c -DXPRJ_default=default -no-legacy-libc
"C:\Program Files (x86)\Microchip\xc32\v1.44\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/1143587551/gfxu_image_jpg_internal.o.d -o build/default/production/_ext/1143587551/gfxu_image_jpg_internal.o ../../../../framework/gfx/utils/src/gfxu_image_jpg_internal.c -DXPRJ_default=default -no-legacy-libc
"C:\Program Files (x86)\Microchip\xc32\v1.44\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/1143587551/gfxu_image_jpg_external.o.d -o build/default/production/_ext/1143587551/gfxu_image_jpg_external.o ../../../../framework/gfx/utils/src/gfxu_image_jpg_external.c -DXPRJ_default=default -no-legacy-libc
"C:\Program Files (x86)\Microchip\xc32\v1.44\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/1143587551/gfxu_image_raw_external.o.d -o build/default/production/_ext/1143587551/gfxu_image_raw_external.o ../../../../framework/gfx/utils/src/gfxu_image_raw_external.c -DXPRJ_default=default -no-legacy-libc
"C:\Program Files (x86)\Microchip\xc32\v1.44\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/1143587551/gfxu_image_png_external.o.d -o build/default/production/_ext/1143587551/gfxu_image_png_external.o ../../../../framework/gfx/utils/src/gfxu_image_png_external.c -DXPRJ_default=default -no-legacy-libc
"C:\Program Files (x86)\Microchip\xc32\v1.44\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/1143587551/gfxu_image_jpg_common.o.d -o build/default/production/_ext/1143587551/gfxu_image_jpg_common.o ../../../../framework/gfx/utils/src/gfxu_image_jpg_common.c -DXPRJ_default=default -no-legacy-libc
"C:\Program Files (x86)\Microchip\xc32\v1.44\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -ffunction-sections -O1 -I../src -I../src/system_config/default -I../src/default -I../../../../framework -I../src/system_config/default/framework -I../src/system_config/default/bsp -MMD -MF build/default/production/_ext/2047190439/lodepng.o.d -o build/default/production/_ext/2047190439/lodepng.o ../../../../third_party/decoder/lodepng/lodepng.c -DXPRJ_default=default -no-legacy-libc
make[2]: Leaving directory 'C:/microchip/harmony/v2_04/apps/usbx/firmware/usbx.X'
nbproject/Makefile-default.mk:90: recipe for target '.build-conf' failed
make[1]: Leaving directory 'C:/microchip/harmony/v2_04/apps/usbx/firmware/usbx.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2

BUILD FAILED (exit value 2, total time: 10s)


#2
Ed@Microchip
Super Member
  • Total Posts : 164
  • Reward points : 0
  • Joined: 2017/04/06 09:39:29
  • Location: 0
  • Status: offline
Re: Problems with Graphics Stack at MPLAB HARMONY 2018/01/26 10:32:18 (permalink)
0
If you would like to start on Harmony graphics, I would recommend starting with the aria_quickstart application (apps/gfx/aria_quickstart) and select the configuration that is close to your hardware. 

Attached Image(s)

#3
Freezessc
Junior Member
  • Total Posts : 86
  • Reward points : 0
  • Joined: 2016/11/08 14:36:45
  • Location: 0
  • Status: offline
Re: Problems with Graphics Stack at MPLAB HARMONY 2018/01/31 06:15:43 (permalink)
0
did you include the right touch drivers and touch system service?
#4
Jump to:
© 2020 APG vNext Commercial Version 4.5