Manuel
Senior Member
Offline
Posts: 329
Thank You
-Given: 678
-Receive: 192
|
|
« Reply #250 on: November 16, 2020, 07:57:54 07:57 » |
|
No more support.
I still use 8.92 to let ICD2 work ... it's faster in programming some controllers...but it's not supported in Win10. Use it in virtualbox.
take care, X!
|
|
|
Logged
|
-> An Apple a Day does not Let U become a Macintosh!
|
|
|
chicowood
Junior Member
Offline
Posts: 93
Thank You
-Given: 101
-Receive: 29
|
|
« Reply #251 on: November 16, 2020, 07:07:44 19:07 » |
|
Thanks....however, for me MPLAB 8 has been working fine with Windows 10 (both 32 and 64 bit) for a long time without problems.
But you're probably right about xc8 v2.31 not being supported for use with MPLAB 8...as I recall, in the old days just installing a new xc8 version made it appear in MPLAB 8 as a Toolsuite option...it didn't this time...
I still prefer MPLAB 8 to MPLAB X after all these years, even though it's long outdated...I spend a lot of time fussing with MPLAB X and all its little ongoing issues.
|
|
|
Logged
|
|
|
|
metal
Global Moderator
Hero Member
Offline
Posts: 2420
Thank You
-Given: 862
-Receive: 678
Top Topic Starter
|
|
« Reply #252 on: November 16, 2020, 07:13:18 19:13 » |
|
may be it is time to move to mplabx..
|
|
|
Logged
|
|
|
|
Manuel
Senior Member
Offline
Posts: 329
Thank You
-Given: 678
-Receive: 192
|
|
« Reply #253 on: November 16, 2020, 08:16:11 20:16 » |
|
Exactly,
move to MPLABX , u will have just advantages...
The only limit I had is the fact that MPLABX do not support ICD2 anymore...
Take care X!
|
|
« Last Edit: November 17, 2020, 07:26:36 07:26 by Manuel »
|
Logged
|
-> An Apple a Day does not Let U become a Macintosh!
|
|
|
chicowood
Junior Member
Offline
Posts: 93
Thank You
-Given: 101
-Receive: 29
|
|
« Reply #254 on: November 17, 2020, 01:17:46 01:17 » |
|
Well, indeed, I've been using MPLABX since it first came out.
I'm just not a fan. Of all the IDEs I use, it's by far my least favorite.
When I fired up MPLAB 8 for this old project, it brought back some fond memories of the earlier PIC days.
|
|
|
Logged
|
|
|
|
tumbleweed
Newbie
Offline
Posts: 34
Thank You
-Given: 58
-Receive: 41
|
|
« Reply #255 on: November 17, 2020, 06:34:42 18:34 » |
|
I don't know how to get v2.31 to register with MPLAB 8 As others have pointed out, AKAIK there's no way to get any of the XC8 v2.xx versions running in MPLAB 8.92. They stopped including the files you need to get it registered into MPLAB right around the version you have installed that works (v1.43), although I seem to remember being able to get v1.45 working as well. I'm with you... even though MPLAB 8 is old, at least it works. I've had nothing but problems with MPLABX, and I've tried them all. It has SERIOUS problems connecting reliably to the ICD tools and that's across a number of different PC's, OS's and debug tools.
|
|
|
Logged
|
|
|
|
chicowood
Junior Member
Offline
Posts: 93
Thank You
-Given: 101
-Receive: 29
|
|
« Reply #256 on: November 17, 2020, 07:22:12 19:22 » |
|
Yes, I have found the Netbeans IDE structure to be clumsy and difficult to keep running as a problem-free tool. While not usually a fan of Microsoft products, I like Visual Studio. It has a couple of Arduino plugins that are impressive, much better than the basic Arduino IDE. I also use Visual Studio for .NET work (Visual Basic, mostly). I haven't used Eclipse but friends tell me it's pretty good, too. Would love to see a PIC plugin for Visual Studio...(dream on... )
|
|
« Last Edit: November 17, 2020, 07:26:49 19:26 by chicowood »
|
Logged
|
|
|
|
Jagi
Newbie
Offline
Posts: 27
Thank You
-Given: 29
-Receive: 12
|
|
« Reply #257 on: December 30, 2020, 04:21:43 16:21 » |
|
Yes, I have found the Netbeans IDE structure to be clumsy and difficult to keep running as a problem-free tool.
Well, someone is seeing from my side. I have had enough problems with the IDE, especially when opening large projects. The background scanning is a mess resulting in the code parser failing to work. Connection to the ICD is another problem area and I don't see much hope from Microchip. As of now we are continuing our development using MPLAB 8.x and we have created some scripts (actually batch files) which invoke the latest 2.xx version compiler. I will check with my Engg dept if they can allow us to share those scripts publicly, once I get the confirmation, I may be able to share the same with you folks.
|
|
|
Logged
|
|
|
|
metal
Global Moderator
Hero Member
Offline
Posts: 2420
Thank You
-Given: 862
-Receive: 678
Top Topic Starter
|
|
« Reply #258 on: December 30, 2020, 10:03:31 22:03 » |
|
Jagi,
As long as your company is using MPLAB 8.x, why don't they just use Eclipse for an IDE? it offers superior features compared to those offered by outdated MPLAB 8.x, does it offer auto-complete feature as in modern IDEs?
Also, MPLAB X offers MCC which is handy most of the time, regardless of how buggy it is, you must review the code before using it anyway (this is doable for simple projects). However, this is not applicable in the case of STM32 HAL because the library is huge!
So, Netbeans vs. Eclipse, Eclipse wins, why Microchip did not use it, another bad decision..
chicowood, no body is a fan of MPLAB X, thu it is the only solution currently available.
|
|
|
Logged
|
|
|
|
chicowood
Junior Member
Offline
Posts: 93
Thank You
-Given: 101
-Receive: 29
|
|
« Reply #259 on: December 31, 2020, 12:37:44 00:37 » |
|
As long as your company is using MPLAB 8.x, why don't they just use Eclipse for an IDE? it offers superior features compared to those offered by outdated MPLAB 8.x, does it offer auto-complete feature as in modern IDEs? <snip> chicowood, no body is a fan of MPLAB X, thu it is the only solution currently available.
Metal, are you saying that Eclipse could be configured to offer basic PIC debugging, or suggesting it as just a code editor?
|
|
|
Logged
|
|
|
|
metal
Global Moderator
Hero Member
Offline
Posts: 2420
Thank You
-Given: 862
-Receive: 678
Top Topic Starter
|
|
« Reply #260 on: December 31, 2020, 12:56:35 00:56 » |
|
What makes you think I am suggesting such insane idea, I would not even bother thinking about that I just use MPLAB X and live with the issues it has, that's it.
|
|
|
Logged
|
|
|
|
chicowood
Junior Member
Offline
Posts: 93
Thank You
-Given: 101
-Receive: 29
|
|
« Reply #261 on: December 31, 2020, 12:59:45 00:59 » |
|
lol, got it. I agree, I use MPLABX too, but it sure can drive you nuts sometimes...
|
|
|
Logged
|
|
|
|
metal
Global Moderator
Hero Member
Offline
Posts: 2420
Thank You
-Given: 862
-Receive: 678
Top Topic Starter
|
|
« Reply #262 on: December 31, 2020, 01:15:50 01:15 » |
|
It did that yesterday when it kept complaining about missing shortcuts somewhere on the PC
|
|
|
Logged
|
|
|
|
Jagi
Newbie
Offline
Posts: 27
Thank You
-Given: 29
-Receive: 12
|
|
« Reply #263 on: December 31, 2020, 04:30:48 04:30 » |
|
As long as your company is using MPLAB 8.x, why don't they just use Eclipse for an IDE? it offers superior features compared to those offered by outdated MPLAB 8.x, does it offer auto-complete feature as in modern IDEs?
Metal, Thanks for the recommendation, we will look into it for future product development.
|
|
|
Logged
|
|
|
|
Ahmad_k
SCG Moderator
Hero Member
Offline
Posts: 763
Thank You
-Given: 173
-Receive: 1298
|
|
« Reply #264 on: March 08, 2021, 06:24:59 18:24 » |
|
Does anyone know how to debug ELF file generated by XC8 in proteus ? I upgraded an old project from Atmel studio GCC to XC8, but ELF file cannot be debugged.
If i switch from ELF to COFF in settings then the project cannot be compiled.
|
|
|
Logged
|
|
|
|
metal
Global Moderator
Hero Member
Offline
Posts: 2420
Thank You
-Given: 862
-Receive: 678
Top Topic Starter
|
|
« Reply #265 on: March 08, 2021, 10:03:01 22:03 » |
|
If I remember correctly, I had to use AVR GNU toolchain to be able to produce COFF files.
|
|
|
Logged
|
|
|
|
Ahmad_k
SCG Moderator
Hero Member
Offline
Posts: 763
Thank You
-Given: 173
-Receive: 1298
|
|
« Reply #266 on: March 09, 2021, 04:42:56 04:42 » |
|
If I remember correctly, I had to use AVR GNU toolchain to be able to produce COFF files.
AVR GNU toolchain has serious problem when debugging also. I cannot monitor variable inside a subroutine until it is a global variable, that's why i'm trying to switch to XC8
|
|
|
Logged
|
|
|
|
pickit2
Moderator
Hero Member
Offline
Posts: 4666
Thank You
-Given: 833
-Receive: 4320
There is no evidence that I muted SoNsIvRi
|
|
« Reply #267 on: March 09, 2021, 09:57:31 09:57 » |
|
AVR GNU toolchain has serious problem when debugging also. I cannot monitor variable inside a subroutine until it is a global variable, that's why i'm trying to switch to XC8
just a thought have you tried compiling with the tools in proteus. I remember it could not use coff files as the program in a project, until built in tools was used.
|
|
|
Logged
|
Note: I stoped Muteing bad members OK I now put thier account in sleep mode
|
|
|
Jagi
Newbie
Offline
Posts: 27
Thank You
-Given: 29
-Receive: 12
|
|
« Reply #268 on: April 28, 2021, 04:27:20 16:27 » |
|
just a thought have you tried compiling with the tools in proteus. I remember it could not use coff files as the program in a project, until built in tools was used.
As far as I remember, COFF files are fully used by Proteus and it can be used for debugging at source level. The problem that I have experienced is with the ELF file format. Proteus loads the ELF file and runs the program but there is no source code. This happens only with the XC8 / AVR GNU compilers. However, when using Arduino IDE generated ELF file, it is possible to debug at source code level. By the way, what built in tools in Proteus are you referring to?
|
|
|
Logged
|
|
|
|
pickit2
Moderator
Hero Member
Offline
Posts: 4666
Thank You
-Given: 833
-Receive: 4320
There is no evidence that I muted SoNsIvRi
|
|
« Reply #269 on: June 06, 2021, 02:57:00 14:57 » |
|
By the way, what built in tools in Proteus are you referring to?
just seen this. The tools are the compliers that come with Proteus, when importing code it would not work with Proteus, but if you compile the same code within Proteus it did.
|
|
|
Logged
|
Note: I stoped Muteing bad members OK I now put thier account in sleep mode
|
|
|
intel
Hero Member
Offline
Posts: 520
Thank You
-Given: 53
-Receive: 2142
|
|
« Reply #270 on: September 19, 2022, 08:06:50 20:06 » |
|
Hello friends; Whenever I need this topic, I make mistakes and omissions. I have prepared a small tool to make the job easier for myself. There may be errors. Please do not interfere or modify. If you can let me know, I'll fix it. Goodbye.
|
|
|
Logged
|
In life, most genuine mentor is science.
|
|
|
Catcatcat
Senior Member
Offline
Posts: 432
Thank You
-Given: 284
-Receive: 1644
|
|
« Reply #271 on: September 20, 2022, 04:33:54 04:33 » |
|
An interesting solution, a new compiler will be released, I will definitely test it.
|
|
|
Logged
|
|
|
|
Manuel
Senior Member
Offline
Posts: 329
Thank You
-Given: 678
-Receive: 192
|
|
« Reply #272 on: September 06, 2023, 11:28:21 11:28 » |
|
xc8 v2.45 ready and working...
Notes:
>> legacy C90 library is deprecated and will be discontinued in a future release >> legacy HI-TECH support is deprecated and will be discontinued in a future release
take care,
X!
|
|
|
Logged
|
-> An Apple a Day does not Let U become a Macintosh!
|
|
|
Manuel
Senior Member
Offline
Posts: 329
Thank You
-Given: 678
-Receive: 192
|
|
« Reply #273 on: February 01, 2024, 02:14:27 14:14 » |
|
xc8 v2.46 ready and working...
take care,
X!
|
|
|
Logged
|
-> An Apple a Day does not Let U become a Macintosh!
|
|
|
jaikumar
Junior Member
Offline
Posts: 46
Thank You
-Given: 49
-Receive: 18
|
|
« Reply #274 on: March 02, 2024, 06:37:10 06:37 » |
|
Hi, Getting error when trying to compile for AVR ATTiny412 controller: make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf make[1]: Entering directory 'H:/Microchip/Projects/attiny412/proj1.X' make -f nbproject/Makefile-default.mk dist/default/production/proj1.X.production.hex make[2]: Entering directory 'H:/Microchip/Projects/attiny412/proj1.X' "H:\Microchip\MPLABX\v6.15\xc8\v2.46\bin\xc8-cc.exe" -mcpu=ATtiny412 -c -x c -D__ATtiny412__ -mdfp="C:/Users/jaikumar/.mchp_packs/Microchip/ATtiny_DFP/3.1.260/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -DXPRJ_default=default -gdwarf-3 -mconst-data-in-progmem -mno-const-data-in-config-mapped-progmem -MD -MP -MF "build/default/production/newavr-main.o.d" -MT "build/default/production/newavr-main.o.d" -MT build/default/production/newavr-main.o -o build/default/production/newavr-main.o newavr-main.c newavr-main.c:1:0: warning: Detected corrupt executable file /* ^ newavr-main.c:1:0: note: Please reinstall the compiler newavr-main.c:1:0: warning: Detected corrupt executable file newavr-main.c:1:0: note: Please reinstall the compiler "H:\Microchip\MPLABX\v6.15\xc8\v2.46\bin\xc8-cc.exe" -mcpu=ATtiny412 -Wl,-Map=dist/default/production/proj1.X.production.map -DXPRJ_default=default -Wl,--defsym=__MPLAB_BUILD=1 -mdfp="C:/Users/jaikumar/.mchp_packs/Microchip/ATtiny_DFP/3.1.260/xc8" -Wl,--gc-sections -O1 -ffunction-sections -fdata-sections -fshort-enums -fno-common -funsigned-char -funsigned-bitfields -Wall -gdwarf-3 -mconst-data-in-progmem -mno-const-data-in-config-mapped-progmem -Wl,--memorysummary,dist/default/production/memoryfile.xml -o dist/default/production/proj1.X.production.elf -o dist/default/production/proj1.X.production.elf build/default/production/newavr-main.o -Wl,--start-group -Wl,-lm -Wl,--end-group Info: Loading file: h:\microchip\mplabx\v6.15\xc8\v2.46\avr\avr\bin\../lib\ldscripts/avrxmega3.xn "H:\Microchip\MPLABX\v6.15\xc8\v2.46\bin"\\avr-objcopy -O ihex "dist/default/production/proj1.X.production.elf" "dist/default/production/proj1.X.production.hex" make[2]: Leaving directory 'H:/Microchip/Projects/attiny412/proj1.X' make[1]: Leaving directory 'H:/Microchip/Projects/attiny412/proj1.X'
|
|
|
Logged
|
|
|
|
|