CreatiVision Console re-Creation

User avatar
Editor
Posts: 293
Joined: Fri Nov 17, 2023 10:36 pm
Contact:

Re: CreatiVision Console re-Creation

Post by Editor »

djrm wrote: Mon Mar 24, 2025 11:21 pm That's good to know Greg, I need to find a programmer for the AVR32EA28 not sure if I have anything suitable. would usb-asp or J-Link work I wonder?
Hi David. Did you find the time to get a UPDI programmer up and running (for the AVR)?

Just thought I'd let you know that the github repository (CreatiVisionMechanicalKeyboard), has now been updated with all the v3 resources. I've also retained the v1.0 code, by moving it into a v1 sub-folder.

Also, I've now updated the Tindie Store listing for v3 (now that I've received the v3.0 PCBs).

I'm just now completing my Blog and Youtube video covering the v3 upgrade (including demonstrating my existing v1.x PCB upgrade), which should be published this Friday evening (your time).

Thanks for leading me on this fun (and educational), upgrade journey! :geek:
User avatar
djrm
Posts: 118
Joined: Wed Aug 21, 2024 9:40 pm
Location: Rillington / UK
Contact:

Re: CreatiVision Console re-Creation

Post by djrm »

Greetings Greg, I've yet got a programmer for the AVR, I did her that Microchip have a new low cost programmer available but they are out of stock so I put that idea on hold for now. I can get by with patching the PS2 receiver code for the time being. I'm exploring the AIM-65 possibilities these days and about to embark on a 6845 video interface as well. Looking forward to seeing your video, how about showing your darts scoreboard too? Best regards, David.
User avatar
Editor
Posts: 293
Joined: Fri Nov 17, 2023 10:36 pm
Contact:

Re: CreatiVision Console re-Creation

Post by Editor »

djrm wrote: Tue Apr 15, 2025 7:42 pm Greetings Greg, I've yet got a programmer for the AVR, I did her that Microchip have a new low cost programmer available but they are out of stock so I put that idea on hold for now.
If you do get a different / cheaper UPDI programmer, just make sure it also supports the High-Voltage UPDI v2 mode, needed for some newer device applications (e.g. my AVR EA use in the CreatiVision Controller).

I also have the cheaper MPLAB Snap programmer, but it doesn’t support High-Voltage UPDI mode (and it’s a pain to switch between AVR and PIC modes).
djrm wrote: Tue Apr 15, 2025 7:42 pm I'm exploring the AIM-65 possibilities these days and about to embark on a 6845 video interface as well.
Interesting to see how you go with the MC6845. I also played with these in the early days, so I still have some somewhere in my parts collection.

Making a 6845 CRTC Display card was something in my longer term plans (as well as a NEC 7220 Display Card, which I also have fond memories of).
djrm wrote: Tue Apr 15, 2025 7:42 pm Looking forward to seeing your video, how about showing your darts scoreboard too? Best regards, David.
LOL. My better half said I’d probably get a request to make a video about my automatic darts project.

Unfortunately I wasn’t in “project recording mode”, so I didn’t even take photos of my progress along the way.

I should have been, as it was a fun project involving everything from AliExpress parts, a Mini-PC choice with various OS install options explored, some 3D printing, and also some carpentry.

A great summer project, that I now enjoy every day!
User avatar
djrm
Posts: 118
Joined: Wed Aug 21, 2024 9:40 pm
Location: Rillington / UK
Contact:

Re: CreatiVision Console re-Creation

Post by djrm »

Greetings greg, this link shows the new low cost programmer/debugger available from microchip. If I find it is suitable for the keyboard avr then I'll surely buy one just to update my keyboard.
https://www.microchip.com/en-us/develop ... l/PG164110
The supported chip compatibility details are a little elusive atm.
Best regards, David.

update, this lower cost unit seems to be compatible with the AVR32EA28 https://www.microchip.com/en-us/develop ... l/PG164100
User avatar
Editor
Posts: 293
Joined: Fri Nov 17, 2023 10:36 pm
Contact:

Re: CreatiVision Console re-Creation

Post by Editor »

djrm wrote: Wed Apr 23, 2025 5:56 pm Greetings greg, this link shows the new low cost programmer/debugger available from microchip. If I find it is suitable for the keyboard avr then I'll surely buy one just to update my keyboard.
https://www.microchip.com/en-us/develop ... l/PG164110
Awesome. I do really like how they've made the connections for the different devices really clear on the PICkit Basic case! Nice upgrade!
djrm wrote: Wed Apr 23, 2025 5:56 pm update, this lower cost unit seems to be compatible with the AVR32EA28 https://www.microchip.com/en-us/develop ... l/PG164100
It appears this device will only do for non-High Voltage AVR UPDI programming. Effectively, making it a nicer solution than the existing MPLAB Snap low cost solution.

But, like the Snap, it doesn't support the High Voltage UPDI mode, which is needed when the UPDI pin has been re-purposed as a GPIO pin.
This is the case with my CreatiVision Controller (where I needed all the GPIO pins), but not the case with the Keyboard.

So, this new programmer will work for UPDI programming the CreatiVision Keyboard, but not the CreatiVision Controller (which will still require PICkit5).

The key excerpts from the new PICkit Basic manual are:
Pg4:
Important: For low pin count AVR devices with UPDI, MPLAB PICkit Basic cannot
generate the high voltage pulse to reactivate the UPDI interface if the UPDI pin is
configured as GPIO or RESET by configuring the RSTPINCFG configuration bits. A
different tool will need to be used to do this, such as the MPLAB PICkit 5.
Pg27:
Tool Support: All current MPLAB hardware tools support either HV pulse except for MPLAB PICkit
Basic and MPLAB Snap (do not support high voltage).
So, in summary:
A nice solution as a better lower cost option than the existing MPLAB Snap board, but a PICkit5 is still required to cover all Microchip device programming/ debugging options.
So, a tidy / clearly labelled solution for Keyboard AVR reprogramming, but won't allow reprogramming of the Creativision Controller AVR (which requires HV UPDI mode, supported by PICkit5).
For only US$29.99, the PICkit Basic appears to be the perfect solution for the Keyboard re-programming (and other non-HV Microchip device programming).
User avatar
djrm
Posts: 118
Joined: Wed Aug 21, 2024 9:40 pm
Location: Rillington / UK
Contact:

Re: CreatiVision Console re-Creation

Post by djrm »

Thanks for the investigation Greg, much appreciated, device on order already. Shame about the limitation though, David.
User avatar
Editor
Posts: 293
Joined: Fri Nov 17, 2023 10:36 pm
Contact:

Re: CreatiVision Console re-Creation

Post by Editor »

djrm wrote: Wed Apr 23, 2025 8:53 pm Thanks for the investigation Greg, much appreciated, device on order already. Shame about the limitation though, David.
Yes. Although, I guess they have to justify their PICkit5 existance, with the release of PICkit Basic. :thinking:

I'm impressed enough by the awesomely clear "device connection" case marking, that I might add one to my next Mouser order, for the sake of testing it out first hand. After all, $29.99 is a reallly acceptable price for an official (and nicely packaged) product. :geek:

Of course, I'll also look forward to your report, once you receive yours.
User avatar
djrm
Posts: 118
Joined: Wed Aug 21, 2024 9:40 pm
Location: Rillington / UK
Contact:

Re: CreatiVision Console re-Creation

Post by djrm »

The programmer has arrived unexpectedly early since the most recent order status showed it being held up and I needed to contact sales - even though I had received a tracking reference, anyway...

I've installed the latest Microchip IDE (Microlab x ide v6.25) with all options enabled just to be sure I had what was needed and I can now build projects. I then went through the process of configuring a new project with the settings I found in the top of the keyboard source file, this was all new to me and took a bit of trial and error to get right. When I built the project I get a warning about the TCA0 driver being deprecated and that's that as the build fails there.

I have managed to read something from the keyboard controller using Mplab IPE, this took a while to get working as I found I needed to supply power on the PS2 connector before I could get a data transfer to work. (even though the system told me it was supplying power via the debug interface) I have a 92kB hex file which could be the old firmware - I cant tell.

I'll have to try and disable the warning (causing a compile fail), find the solution to the problem, or downgrade to a previous version which does not mind the existing source. Nothings simple is it?

Best regards, David.
User avatar
Editor
Posts: 293
Joined: Fri Nov 17, 2023 10:36 pm
Contact:

Re: CreatiVision Console re-Creation

Post by Editor »

djrm wrote: Fri Apr 25, 2025 7:25 pm I've installed the latest Microchip IDE (Microlab x ide v6.25) with all options enabled just to be sure I had what was needed and I can now build projects.
A good start. I am currently using MPLAB X v6.25 so we should be on the same playing field. Have you installed all available "Pack Updates"?
djrm wrote: Fri Apr 25, 2025 7:25 pm I then went through the process of configuring a new project with the settings I found in the top of the keyboard source file, this was all new to me and took a bit of trial and error to get right. When I built the project I get a warning about the TCA0 driver being deprecated and that's that as the build fails there.
TCA0 is the Timer Counter A driver, which you add via MCC, under "Project Resources" panel, "Drivers".

My screenshot is below, showing the IDE version, and the MCC Project Resources panel.

I don't recall ever seeing a deprecated warning? Have you installed all the latest "Pack Updates"?
MPLAB_TCA0_driver.png
djrm wrote: Fri Apr 25, 2025 7:25 pm I have managed to read something from the keyboard controller using Mplab IPE ...
I have never used MPLAB IPE (which also installs if you do a full install). Just stick with the MPLAB X IDE for 8-bit AVR development.
djrm wrote: Fri Apr 25, 2025 7:25 pm ... this took a while to get working as I found I needed to supply power on the PS2 connector before I could get a data transfer to work. (even though the system told me it was supplying power via the debug interface) I have a 92kB hex file which could be the old firmware - I cant tell.
I progam my Keyboard with nothing else connected, just using the PICkit's supplied power option.
djrm wrote: Fri Apr 25, 2025 7:25 pm I'll have to try and disable the warning (causing a compile fail), find the solution to the problem, or downgrade to a previous version which does not mind the existing source. Nothings simple is it?
I get no warnings!

I've attached below two more screenshots that might assist.

First, The MCC output panel.
MCC_Output.png
Second, the full "Clean and Build" option ouput (for the Keyboard v3 project).
MPLAB_CleanBuildOuput.png
User avatar
djrm
Posts: 118
Joined: Wed Aug 21, 2024 9:40 pm
Location: Rillington / UK
Contact:

Re: CreatiVision Console re-Creation

Post by djrm »

I think I've done everything I should to install the library but when I build the project I get errors.

Code: Select all

21:24:32.304    INFO: Fetching list of available libraries.
21:24:32.650    INFO: Download Complete: C:\Users\David\.mcc\mcc_libraries.xml
21:24:33.459    INFO: Start MCC v5.5.2
21:24:33.464    INFO: Core v5.7.1 loaded.
21:24:50.825    INFO: Loaded configuration from file C:\Users\David\MPLABXProjects\mecb-keyboard.X\mecb-keyboard.mc3
21:25:19.879    INFO: *****************************************************
21:25:19.880    INFO:  Generation Results                                  
21:25:19.880    INFO: *****************************************************
21:25:19.883    INFO: main.c                                            Success. MCC output unchanged. User edits maintained. [See 'Force Update']
21:25:19.883    INFO: mcc_generated_files\system\ccp.h                  Success.
21:25:19.883    INFO: mcc_generated_files\system\clock.h                Success.
21:25:19.884    INFO: mcc_generated_files\system\config_bits.h          Success.
21:25:19.884    INFO: mcc_generated_files\system\interrupt.h            Success.
21:25:19.884    INFO: mcc_generated_files\system\pins.h                 Success.
21:25:19.884    INFO: mcc_generated_files\system\port.h                 Success.
21:25:19.884    INFO: mcc_generated_files\system\protected_io.h         Success.
21:25:19.884    INFO: mcc_generated_files\system\src\clock.c            Success.
21:25:19.885    INFO: mcc_generated_files\system\src\config_bits.c      Success.
21:25:19.885    INFO: mcc_generated_files\system\src\interrupt.c        Success.
21:25:19.885    INFO: mcc_generated_files\system\src\pins.c             Success.
21:25:19.885    INFO: mcc_generated_files\system\src\protected_io.S     Success.
21:25:19.885    INFO: mcc_generated_files\system\src\system.c           Success.
21:25:19.885    INFO: mcc_generated_files\system\system.h               Success.
21:25:19.885    INFO: mcc_generated_files\system\utils\assembler.h      Success.
21:25:19.886    INFO: mcc_generated_files\system\utils\assembler\gas.h  Success.
21:25:19.886    INFO: mcc_generated_files\system\utils\assembler\iar.h  Success.
21:25:19.886    INFO: mcc_generated_files\system\utils\atomic.h         Success.
21:25:19.886    INFO: mcc_generated_files\system\utils\compiler.h       Success.
21:25:19.886    INFO: mcc_generated_files\system\utils\interrupt_avr8.h Success.
21:25:19.886    INFO: mcc_generated_files\system\utils\utils.h          Success.
21:25:19.887    INFO: mcc_generated_files\system\utils\utils_assert.h   Success.
21:25:19.887    INFO: mcc_generated_files\timer\src\tca0.c              Success.
21:25:19.887    INFO: mcc_generated_files\timer\tca0.h                  Success.
21:25:19.887    INFO: mcc_generated_files\timer\tca0_deprecated.h       Success.
21:25:19.957    INFO: *****************************************************
21:25:19.957    INFO:  Generation complete (total time: 704 milliseconds)
21:25:19.958    INFO: *****************************************************
21:25:19.958    INFO: Generation complete.
21:27:47.085    INFO: *****************************************************
21:27:47.085    INFO:  Generation Results                                  
21:27:47.086    INFO: *****************************************************
21:27:47.087    INFO: main.c                                            Success. MCC output unchanged. User edits maintained. [See 'Force Update']
21:27:47.089    INFO: mcc_generated_files\system\ccp.h                  Success.
21:27:47.090    INFO: mcc_generated_files\system\clock.h                Success.
21:27:47.092    INFO: mcc_generated_files\system\config_bits.h          Success.
21:27:47.092    INFO: mcc_generated_files\system\interrupt.h            Success.
21:27:47.093    INFO: mcc_generated_files\system\pins.h                 Success.
21:27:47.093    INFO: mcc_generated_files\system\port.h                 Success.
21:27:47.095    INFO: mcc_generated_files\system\protected_io.h         Success.
21:27:47.098    INFO: mcc_generated_files\system\src\clock.c            Success.
21:27:47.099    INFO: mcc_generated_files\system\src\config_bits.c      Success.
21:27:47.099    INFO: mcc_generated_files\system\src\interrupt.c        Success.
21:27:47.099    INFO: mcc_generated_files\system\src\pins.c             Success.
21:27:47.100    INFO: mcc_generated_files\system\src\protected_io.S     Success.
21:27:47.100    INFO: mcc_generated_files\system\src\system.c           Success.
21:27:47.100    INFO: mcc_generated_files\system\system.h               Success.
21:27:47.100    INFO: mcc_generated_files\system\utils\assembler.h      Success.
21:27:47.100    INFO: mcc_generated_files\system\utils\assembler\gas.h  Success.
21:27:47.100    INFO: mcc_generated_files\system\utils\assembler\iar.h  Success.
21:27:47.101    INFO: mcc_generated_files\system\utils\atomic.h         Success.
21:27:47.101    INFO: mcc_generated_files\system\utils\compiler.h       Success.
21:27:47.101    INFO: mcc_generated_files\system\utils\interrupt_avr8.h Success.
21:27:47.102    INFO: mcc_generated_files\system\utils\utils.h          Success.
21:27:47.102    INFO: mcc_generated_files\system\utils\utils_assert.h   Success.
21:27:47.102    INFO: mcc_generated_files\timer\src\tca0.c              Success.
21:27:47.102    INFO: mcc_generated_files\timer\tca0.h                  Success.
21:27:47.102    INFO: mcc_generated_files\timer\tca0_deprecated.h       Success.
21:27:47.186    INFO: *****************************************************
21:27:47.187    INFO:  Generation complete (total time: 376 milliseconds)
21:27:47.187    INFO: *****************************************************
21:27:47.187    INFO: Generation complete.
The compiler errors

Code: Select all


CLEAN SUCCESSFUL (total time: 23ms)
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make  -f nbproject/Makefile-default.mk dist/default/production/mecb-keyboard.X.production.hex
In file included from mcc_generated_files/system/../timer/tca0.h:41:0,
                 from mcc_generated_files/system/system.h:48,
                 from main.c:40:
mcc_generated_files/system/../timer/./tca0_deprecated.h:38:2: warning: #warning "The tca0_deprecated.h file contains the deprecated macros or functions. Replace the deprecated macro or functions with the recommended alternative." [-Wcpp]
make[2]: Entering directory 'C:/Users/David/MPLABXProjects/mecb-keyboard.X'
"C:\Program Files\Microchip\xc8\v3.00\bin\xc8-cc.exe"  -mcpu=AVR32EA28 -c  -x c -D__AVR32EA28__   -mdfp="C:/Program Files/Microchip/MPLABX/v6.25/packs/Microchip/AVR-Ex_DFP/2.11.221/xc8"  -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -DXPRJ_default=default    -gdwarf-3 -mno-const-data-in-progmem     -MD -MP -MF "build/default/production/main.o.d" -MT "build/default/production/main.o.d" -MT build/default/production/main.o -o build/default/production/main.o main.c 
make[2]: Leaving directory 'C:/Users/David/MPLABXProjects/mecb-keyboard.X'
make[2]: Entering directory 'C:/Users/David/MPLABXProjects/mecb-keyboard.X'
"C:\Program Files\Microchip\xc8\v3.00\bin\xc8-cc.exe" -c  -mcpu=AVR32EA28  -x assembler-with-cpp -D__AVR32EA28__   -mdfp="C:/Program Files/Microchip/MPLABX/v6.25/packs/Microchip/AVR-Ex_DFP/2.11.221/xc8"  -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -DXPRJ_default=default  -gdwarf-3 -mno-const-data-in-progmem -Wa,--defsym=__MPLAB_BUILD=1   -MD -MP -MF "build/default/production/mcc_generated_files/system/src/protected_io.o.d" -MT "build/default/production/mcc_generated_files/system/src/protected_io.o.d" -MT build/default/production/mcc_generated_files/system/src/protected_io.o -o build/default/production/mcc_generated_files/system/src/protected_io.o  mcc_generated_files/system/src/protected_io.S 
make[2]: Leaving directory 'C:/Users/David/MPLABXProjects/mecb-keyboard.X'
make[2]: Entering directory 'C:/Users/David/MPLABXProjects/mecb-keyboard.X'
"C:\Program Files\Microchip\xc8\v3.00\bin\xc8-cc.exe"  -mcpu=AVR32EA28 -c  -x c -D__AVR32EA28__   -mdfp="C:/Program Files/Microchip/MPLABX/v6.25/packs/Microchip/AVR-Ex_DFP/2.11.221/xc8"  -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -DXPRJ_default=default    -gdwarf-3 -mno-const-data-in-progmem     -MD -MP -MF "build/default/production/mcc_generated_files/system/src/config_bits.o.d" -MT "build/default/production/mcc_generated_files/system/src/config_bits.o.d" -MT build/default/production/mcc_generated_files/system/src/config_bits.o -o build/default/production/mcc_generated_files/system/src/config_bits.o mcc_generated_files/system/src/config_bits.c 
make[2]: Leaving directory 'C:/Users/David/MPLABXProjects/mecb-keyboard.X'
make[2]: Entering directory 'C:/Users/David/MPLABXProjects/mecb-keyboard.X'
"C:\Program Files\Microchip\xc8\v3.00\bin\xc8-cc.exe"  -mcpu=AVR32EA28 -c  -x c -D__AVR32EA28__   -mdfp="C:/Program Files/Microchip/MPLABX/v6.25/packs/Microchip/AVR-Ex_DFP/2.11.221/xc8"  -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -DXPRJ_default=default    -gdwarf-3 -mno-const-data-in-progmem     -MD -MP -MF "build/default/production/mcc_generated_files/system/src/clock.o.d" -MT "build/default/production/mcc_generated_files/system/src/clock.o.d" -MT build/default/production/mcc_generated_files/system/src/clock.o -o build/default/production/mcc_generated_files/system/src/clock.o mcc_generated_files/system/src/clock.c 
make[2]: Leaving directory 'C:/Users/David/MPLABXProjects/mecb-keyboard.X'
make[2]: Entering directory 'C:/Users/David/MPLABXProjects/mecb-keyboard.X'
"C:\Program Files\Microchip\xc8\v3.00\bin\xc8-cc.exe"  -mcpu=AVR32EA28 -c  -x c -D__AVR32EA28__   -mdfp="C:/Program Files/Microchip/MPLABX/v6.25/packs/Microchip/AVR-Ex_DFP/2.11.221/xc8"  -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -DXPRJ_default=default    -gdwarf-3 -mno-const-data-in-progmem     -MD -MP -MF "build/default/production/mcc_generated_files/system/src/interrupt.o.d" -MT "build/default/production/mcc_generated_files/system/src/interrupt.o.d" -MT build/default/production/mcc_generated_files/system/src/interrupt.o -o build/default/production/mcc_generated_files/system/src/interrupt.o mcc_generated_files/system/src/interrupt.c 
 #warning "The tca0_deprecated.h file contains the deprecated macros or functions. Replace the deprecated macro or functions with the recommended alternative."
  ^
main.c:44:38: error: 'TCA0_Interface' undeclared here (not in a function)
 const struct TMR_INTERFACE *Timer = &TCA0_Interface;
                                      ^
main.c: In function 'main':
main.c:510:10: error: dereferencing pointer to incomplete type 'const struct TMR_INTERFACE'
     Timer->TimeoutCallbackRegister(TCA0_OverflowInterrupt);
          ^
make[2]: *** [nbproject/Makefile-default.mk:168: build/default/production/main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory 'C:/Users/David/MPLABXProjects/mecb-keyboard.X'
make[2]: Entering directory 'C:/Users/David/MPLABXProjects/mecb-keyboard.X'
"C:\Program Files\Microchip\xc8\v3.00\bin\xc8-cc.exe"  -mcpu=AVR32EA28 -c  -x c -D__AVR32EA28__   -mdfp="C:/Program Files/Microchip/MPLABX/v6.25/packs/Microchip/AVR-Ex_DFP/2.11.221/xc8"  -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -DXPRJ_default=default    -gdwarf-3 -mno-const-data-in-progmem     -MD -MP -MF "build/default/production/mcc_generated_files/timer/src/tca0.o.d" -MT "build/default/production/mcc_generated_files/timer/src/tca0.o.d" -MT build/default/production/mcc_generated_files/timer/src/tca0.o -o build/default/production/mcc_generated_files/timer/src/tca0.o mcc_generated_files/timer/src/tca0.c 
make[2]: Leaving directory 'C:/Users/David/MPLABXProjects/mecb-keyboard.X'
make[2]: Entering directory 'C:/Users/David/MPLABXProjects/mecb-keyboard.X'
"C:\Program Files\Microchip\xc8\v3.00\bin\xc8-cc.exe"  -mcpu=AVR32EA28 -c  -x c -D__AVR32EA28__   -mdfp="C:/Program Files/Microchip/MPLABX/v6.25/packs/Microchip/AVR-Ex_DFP/2.11.221/xc8"  -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -DXPRJ_default=default    -gdwarf-3 -mno-const-data-in-progmem     -MD -MP -MF "build/default/production/mcc_generated_files/system/src/system.o.d" -MT "build/default/production/mcc_generated_files/system/src/system.o.d" -MT build/default/production/mcc_generated_files/system/src/system.o -o build/default/production/mcc_generated_files/system/src/system.o mcc_generated_files/system/src/system.c 
make[2]: Leaving directory 'C:/Users/David/MPLABXProjects/mecb-keyboard.X'
In file included from mcc_generated_files/timer/src/../tca0.h:41:0,
                 from mcc_generated_files/timer/src/tca0.c:35:
mcc_generated_files/timer/src/.././tca0_deprecated.h:38:2: warning: #warning "The tca0_deprecated.h file contains the deprecated macros or functions. Replace the deprecated macro or functions with the recommended alternative." [-Wcpp]
 #warning "The tca0_deprecated.h file contains the deprecated macros or functions. Replace the deprecated macro or functions with the recommended alternative."
  ^
In file included from mcc_generated_files/system/src/../../timer/tca0.h:41:0,
                 from mcc_generated_files/system/src/../system.h:48,
                 from mcc_generated_files/system/src/system.c:35:
mcc_generated_files/system/src/../../timer/./tca0_deprecated.h:38:2: warning: #warning "The tca0_deprecated.h file contains the deprecated macros or functions. Replace the deprecated macro or functions with the recommended alternative." [-Wcpp]
 #warning "The tca0_deprecated.h file contains the deprecated macros or functions. Replace the deprecated macro or functions with the recommended alternative."
  ^
make[2]: Entering directory 'C:/Users/David/MPLABXProjects/mecb-keyboard.X'
"C:\Program Files\Microchip\xc8\v3.00\bin\xc8-cc.exe"  -mcpu=AVR32EA28 -c  -x c -D__AVR32EA28__   -mdfp="C:/Program Files/Microchip/MPLABX/v6.25/packs/Microchip/AVR-Ex_DFP/2.11.221/xc8"  -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -DXPRJ_default=default    -gdwarf-3 -mno-const-data-in-progmem     -MD -MP -MF "build/default/production/mcc_generated_files/system/src/pins.o.d" -MT "build/default/production/mcc_generated_files/system/src/pins.o.d" -MT build/default/production/mcc_generated_files/system/src/pins.o -o build/default/production/mcc_generated_files/system/src/pins.o mcc_generated_files/system/src/pins.c 
make[2]: Leaving directory 'C:/Users/David/MPLABXProjects/mecb-keyboard.X'
make[1]: *** [nbproject/Makefile-default.mk:85: .build-conf] Error 2
make: *** [nbproject/Makefile-impl.mk:39: .build-impl] Error 2

BUILD FAILED (exit value 2, total time: 2s)
I dont know what to do but I expect I have a later version of something which is causing the problem. David.
Post Reply