Author Topic: Freescale/NXP Codewarrior - Why so many issues with Windows 10?  (Read 1619 times)

0 Members and 1 Guest are viewing this topic.

Online AndersJ

  • Regular Contributor
  • *
  • Posts: 243
  • Country: se
Does anyone know why Codewarrior V6.3 and V4.7
have so much trouble installing and running under Windows 10?
« Last Edit: August 17, 2019, 09:24:01 pm by AndersJ »
"It should work"
R.N.Naidoo
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 18553
  • Country: nl
    • NCT Developments
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #1 on: August 17, 2019, 09:01:38 pm »
Windows10 is different in some ways and it may break older applications. One of things that has been changed is the way GUI events are handled. For example: in Windows10 a user interface item may receive events before it is fully initialised.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline MosherIV

  • Super Contributor
  • ***
  • Posts: 1312
  • Country: gb
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #2 on: August 18, 2019, 10:14:20 am »
No idea.
What I would suggest is to take every opportunity to tell Freescale/NXP how bad Eclipse is !
Hopefully, if they understand how bad Eclipse IDE is for embedded tools, they will stop using it as the base for their tools and go back to actually developing a decent tool  :palm:
 

Offline andersm

  • Super Contributor
  • ***
  • Posts: 1113
  • Country: fi
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #3 on: August 18, 2019, 10:27:29 am »
Lots of older software weren't exactly developed with best practices in mind. Many also broke with the move to multi-core machines, eg. Renesas' old HEW IDE will just randomly crash unless forced to run on a single core.

Online AndersJ

  • Regular Contributor
  • *
  • Posts: 243
  • Country: se
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #4 on: August 18, 2019, 11:31:26 am »
What I would suggest is to take every opportunity to tell Freescale/NXP how bad Eclipse is !

I downloaded Codewarrior 11, hoping it might work in Windows 10.
* The complexity is huge. I don’t want to go down that rabbit hole.
* It seems to not support HCS12X
* It cannot import legacy HCS08 projects

Nobody from NXP has clarified what is needed for W10.
How can it be a problem to upgrade legacy well functioning tools to Windows 10?

I have a dozen products to support, currently in Windows XP.
XP is getting more and more problematic.
I am trying to upgrade to Windows 10, but it is not easy.

"It should work"
R.N.Naidoo
 

Online AndersJ

  • Regular Contributor
  • *
  • Posts: 243
  • Country: se
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #5 on: August 18, 2019, 11:48:21 am »
Does anyone have contact info to someone inside NXP
or in some other way related to NXP,
that might help me fix this?


"It should work"
R.N.Naidoo
 

Offline MosherIV

  • Super Contributor
  • ***
  • Posts: 1312
  • Country: gb
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #6 on: August 18, 2019, 12:43:38 pm »
If this is commercial, start by asking your electronics parts supplier for contact/support information for Freescale/NXP.

If this is hobby stuff, you pretty much limited to support forums on their web sites.
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 18553
  • Country: nl
    • NCT Developments
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #7 on: August 18, 2019, 01:21:24 pm »
NXP has a forum on their website which is monitored by their engineers. I think that is the best place to start asking questions. The older Motorola MCUs still sell well AFAIK so it is likely they get some attention. Be warned though that it takes some effort to figure out how the forum works.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Online AndersJ

  • Regular Contributor
  • *
  • Posts: 243
  • Country: se
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #8 on: August 18, 2019, 01:48:28 pm »
I have tried their web site and their forum.
I get nowhere.
 
The question is simple, or so I believe.

What do I need to upgrade or purchase,
to continue using legacy Codewarrior tools
V 4.7 (or perhaps an upgrade)
and
V 6.3 (or perhaps an upgrade)
in a Windows 10 environment?

They say that it will not work for this or that reason.
I find it hard to believe their tools do not work in W10.

I must be misunderstanding something,
or asking the wrong questions,
but I cannot figure out what I do wrong.

Help is much appreciated,
AJ
"It should work"
R.N.Naidoo
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 18553
  • Country: nl
    • NCT Developments
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #9 on: August 18, 2019, 02:27:05 pm »
So NXP says that the old tools don't work under Windows 10 and yet you insist they should? Better listen to NXP if they say the tools are not supported under Windows 10. IMHO you better put energy into setting up a virtual machine with XP or Windows 7.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Online AndersJ

  • Regular Contributor
  • *
  • Posts: 243
  • Country: se
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #10 on: August 18, 2019, 03:07:37 pm »
I am not insisting that OLD tools should work.
I do however expect them to support their own cpu
products with tools that work on todays platforms.

"It should work"
R.N.Naidoo
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 10528
  • Country: us
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #11 on: August 18, 2019, 03:32:50 pm »
I wouldn't bother to support that turd of an OS either, it's not an upgrade. Don't they have a Linux toolchain? These are not consumer products, users are expected to set up a system meeting the requirements of the toolchain, not the other way around.
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 18553
  • Country: nl
    • NCT Developments
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #12 on: August 18, 2019, 04:16:44 pm »
I wouldn't bother to support that turd of an OS either, it's not an upgrade. Don't they have a Linux toolchain? These are not consumer products, users are expected to set up a system meeting the requirements of the toolchain, not the other way around.
It seems some versions of Codewarrior support Linux. However I think the toolchains for the older MCUs are Windows only and porting them will take a huge effort. Maybe one way to get around the problems in Codewarrior is to use a vanilla Eclipse-CDT install and have it use the toolchain if the IDE is that part which doesn't work. But this might take some work. A long time ago I wrote a wrapper around the PIC compiler so Eclipse-CDT could feed it the GCC options.
« Last Edit: August 18, 2019, 04:21:28 pm by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline MosherIV

  • Super Contributor
  • ***
  • Posts: 1312
  • Country: gb
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #13 on: August 18, 2019, 04:25:35 pm »
If Freescale/NXP will not support old legacy versions of Codewarrior, what version(s) do they support?

Freescale use to be quite generous just to get you to use their devices. I worked on a project where they gave us the MQX RTOS free of charge.

Will they give you a free upgrade to the current supported version?

Very few microcontroller tool chains are available for Linux, let alone supported.
Almost all comercial companies that do microcontroller development will be Windows based, so there is little for the microcontroller companies to gain by developing and supporting Linux development tools.

From what I can gather, hobbiests and Linux fans have cobbled together ARM development tool chain of some kind. Just like Linux based things, it is all command line based and really involved to get it working! Being a commercial, professional embedded systems developer, you can take those Linux tools and keep them. The commercial tools usual work and are easy to use, leaving you to get on with development and NOT trying to get the toolchain to work  :palm:
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 10528
  • Country: us
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #14 on: August 18, 2019, 05:03:42 pm »
The last several jobs I've had were all Linux based on the development side and the products themselves. The last place I worked that had developers running Windows was Microsoft itself and that was ~15 years ago. Maybe things are different in other parts of the world but Linux is the defacto standard in the tech industry these days, followed by Mac.
 

Online AndersJ

  • Regular Contributor
  • *
  • Posts: 243
  • Country: se
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #15 on: August 18, 2019, 05:14:36 pm »
If Freescale/NXP will not support old legacy versions of Codewarrior, what version(s) do they support?

That is precisely my question to NXP.
What tools do they offer that support the HCS12X and HCS08 microcontrollers on Windows 10?

They still haven't answered that .

"It should work"
R.N.Naidoo
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 18553
  • Country: nl
    • NCT Developments
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #16 on: August 18, 2019, 05:29:17 pm »
The last several jobs I've had were all Linux based on the development side and the products themselves. The last place I worked that had developers running Windows was Microsoft itself and that was ~15 years ago. Maybe things are different in other parts of the world but Linux is the defacto standard in the tech industry these days, followed by Mac.
Agreed. I'm running Linux as a primary OS for years and all of the software development I do is using Linux (and Eclipse as the IDE).
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline MosherIV

  • Super Contributor
  • ***
  • Posts: 1312
  • Country: gb
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #17 on: August 18, 2019, 06:15:12 pm »
I am a professional embedded or realtime embedded developer, I have been doing this for 25years now. Every company I have been at uses Winodws.
Every microcontroller vendor I have work with (ST, NXP, TI, Microchip, Freescale, Intel, Nvidia and now Infineon) all primarily provide Windows toolchains. Some may support Linux.
Intel are the only vendor that have really good support for Linux but then they are not regarded as a supplier of microcontrollers.
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 10528
  • Country: us
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #18 on: August 18, 2019, 07:00:49 pm »
At the last place I worked that did hardware, our products used Broadcom CPUs running Linux and AVR microcontrollers for ancillary tasks, all development was done under Linux. I was not even aware there was so much Windows stuff out there, when I was job hunting a couple years ago the tech job listings wanting Linux knowledge were probably 10:1 vs those wanting Windows knowledge.
 

Offline MosherIV

  • Super Contributor
  • ***
  • Posts: 1312
  • Country: gb
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #19 on: August 18, 2019, 07:02:57 pm »
Sorry AndersJ to take the thread down a Linux/Window debate.
Sorry to james and nctnico.

AndersJ, what volume of parts are we talking?
If it is high (>10,000) then you can mention that you are thinking of switching to STM8, Atmel or PIC, that will worry them and get them to take your (reasonable) question seriously.
 

Online AndersJ

  • Regular Contributor
  • *
  • Posts: 243
  • Country: se
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #20 on: August 18, 2019, 07:09:15 pm »
Not to worry MosherIV.
Linux vs Windows was not a aspect I had considered.
Linux is however not an option until all other possibilities have been discarded.

The volume is definitely > 10K.
I had not considered the blackmail approach either.
I don't like to switch controllers,
but in the long run, if I cannot develop software, it may come to that.




"It should work"
R.N.Naidoo
 

Offline andersm

  • Super Contributor
  • ***
  • Posts: 1113
  • Country: fi
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #21 on: August 18, 2019, 07:25:31 pm »
NXP's own instructions for installing "classic" CW on 64-bit Win7 essentially boil down to running it in an XP virtual machine. Have you tried doing that?

Offline james_s

  • Super Contributor
  • ***
  • Posts: 10528
  • Country: us
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #22 on: August 18, 2019, 08:55:13 pm »
Regardless of the OS, if you're going to make >10k of something surely you can set up a dedicated development machine running whatever OS you need, or if you're on a really tight budget run Win7 in a VM? Find the tools you like and then set up a machine specifically for running those tools, it's pretty common practice.
 

Online AndersJ

  • Regular Contributor
  • *
  • Posts: 243
  • Country: se
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #23 on: August 19, 2019, 07:14:46 pm »
NXP's own instructions for installing "classic" CW on 64-bit Win7 essentially boil down to running it in an XP virtual machine. Have you tried doing that?

I made an attempt, and watched a youtube video showing it, but it was a mess.
I gave up.
Perhaps I approached it wrong.
Besides, I prefer W10, and have read somewhere that a virtual XP is not possible in W10.

If this is premature, please point me in the right direction.

"It should work"
R.N.Naidoo
 

Online AndersJ

  • Regular Contributor
  • *
  • Posts: 243
  • Country: se
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #24 on: August 19, 2019, 07:28:39 pm »
Find the tools you like and then set up a machine specifically for running those tools, it's pretty common practice.

I do have a XP machine dedicated for these purposes.
I did however hope to eliminate it entirely.
It is slow and awkward,
and has difficulties accessing the fileserver on the local network.
It needs about half a minute to select a few dozen files, for copying.
I read something about XP and SMB no longer working.
Not sure what that means, or if it is related to this.

Perhaps its better to give up,
and make sure I have a couple of XP’s standing by in case of trouble.
It works reasonably well, but it’s irritating that I’m incapable of resolving these issues.
"It should work"
R.N.Naidoo
 

Offline MosherIV

  • Super Contributor
  • ***
  • Posts: 1312
  • Country: gb
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #25 on: August 19, 2019, 07:30:50 pm »
Try using Virtualbox from Oracle. If you are using in commercial company, you may have to pay license.

It is a stand alone prgram that wraps the virtual machine.
Virtualbox has a nice intuative user interface.
The virtualisation allows complete control of network interfaces.
It also allows the virtual machine access to the host machines USB port, so you can still use USB devices. You just have to enable the usb in the virtual machine (vm) controls.

Once installed and started, create a new vm, create a disk drive for it (creates a file for the drive image which you can place anywhere on the host filing system) and assign something to boot from eg CD/DVD drive - you need this to install the vm operating system.
Start the vm.
The vm will boot from the boot drive and if it is a WinXP install disk, it will install onto your vm.
Let the WinXP install finish and there you go.
You should be able to boot and shutdown WinXP any time in the vm.
You can even suspend (pause) the vm (do not do it during some disk or usb operation )
« Last Edit: August 19, 2019, 07:40:33 pm by MosherIV »
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 18553
  • Country: nl
    • NCT Developments
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #26 on: August 20, 2019, 09:28:14 am »
Try using Virtualbox from Oracle. If you are using in commercial company, you may have to pay license.
Not quite correct. You can use virtualbox for free unless you use it to offer virtual hosting services.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline andersm

  • Super Contributor
  • ***
  • Posts: 1113
  • Country: fi
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #27 on: August 20, 2019, 11:50:21 pm »
If you have Windows 10 Pro or Enterprise, you can also use Microsoft's Hyper-V.

Offline westfw

  • Super Contributor
  • ***
  • Posts: 3124
  • Country: us
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #28 on: August 29, 2019, 07:05:47 am »
Quote
How can it be a problem to upgrade legacy well functioning tools to Windows 10?
It's a HUGE problem, exactly analogous to your "how can it be a problem to support legacy HCS12X and HCS08 projects?"Those old tools aren't upgraded, or even maintained.  They're just "archived."
I'd lay odds that their source code for CW4.7 doesn't even compile with modern windows10 toolchains.  :-( (and if they compile, I'll bet they're rife with bugs of the sort where they assume sizeof(int)=sizeof(void *)=32bits, making it at best problematic to compile for a 64bit environment.)
Are your applications written in C, or assembly?  Isn't the HC08 pretty similar to the HCS08 and the 12X similar to the 12Z?  Can you get by with magic switches to the CW11 tools, or simply "not using" new instructions?  (similar to the way that gcc for 68000 is now sort-of "coldfire minus xxx, minus yyy" ?
 

Online AndersJ

  • Regular Contributor
  • *
  • Posts: 243
  • Country: se
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #29 on: September 04, 2019, 03:56:45 am »
Quote
How can it be a problem to upgrade legacy well functioning tools to Windows 10?
It's a HUGE problem, exactly analogous to your "how can it be a problem to support legacy HCS12X and HCS08 projects?"Those old tools aren't upgraded, or even maintained.  They're just "archived."

I have a handful of applications, larger customer systems,
and smaller tools, all written 20-30 years ago.
They run under Windows 10.
It was not always easy to maintain functionality
with newer OS versions, but I managed, with greater or less effort.

Where there is a will there is often a way.


"It should work"
R.N.Naidoo
 

Offline Tomorokoshi

  • Frequent Contributor
  • **
  • Posts: 821
  • Country: us
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #30 on: September 04, 2019, 04:34:33 pm »
I have CodeWarrior 6.4 targeting ColdFire on a Windows 7 machine. I use the P&E programmer / debugger through USB.

I tried but was unable to get CW 7.0 to work a long time ago.

I will likely get an "upgrade" to Windows 10 in the next few months, so this topic is timely.

The XP computer previous to this was virtualized just in case, although it has been some time since I used it. I don't recall if all the debugging features worked, but neither do I recall them not working.
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 18553
  • Country: nl
    • NCT Developments
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #31 on: September 04, 2019, 08:58:30 pm »
IIRC the P&E programmer doesn't always work from a virtual machine using Virtualbox but it has been several years since I have used it. I vaguely recall that it also depended on the machine so the type of USB port may cause problems.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline rsjsouza

  • Super Contributor
  • ***
  • Posts: 3617
  • Country: us
  • Eternally curious
    • Vbe - vídeo blog eletrônico
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #32 on: September 05, 2019, 02:25:02 pm »
No idea.
What I would suggest is to take every opportunity to tell Freescale/NXP how bad Eclipse is !
Hopefully, if they understand how bad Eclipse IDE is for embedded tools, they will stop using it as the base for their tools and go back to actually developing a decent tool  :palm:
You may dislike it, but Eclipse is your best bet in support across many OS versions over the years - we have Eclipse-based software that has survived generations of Windows versions, as well as cross platform (OSX and *nix). Prior to that, the tools used to become quite fragile after the fourth or fifth service pack released by Redmond (2k and XP days) - support for other OSes was not economically viable due to the sheer number of users back then. 

Developing an IDE from the ground up requires an army of developers and testers - for most of the companies the return on investment is quite narrow, especially in these days of "everything must be free". Let alone the reduced number of users in other OSes, which is also quite difficult to accomplish with a full custom design, where companies like IAR, Keil, Segger, Altium and others still didn't make the jump.
Vbe - vídeo blog eletrônico http://videos.vbeletronico.com

Oh, the "whys" of the datasheets... The information is there not to be an axiomatic truth, but instead each speck of data must be slowly inhaled while carefully performing a deep search inside oneself to find the true metaphysical sense...
 

Offline MosherIV

  • Super Contributor
  • ***
  • Posts: 1312
  • Country: gb
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #33 on: September 06, 2019, 07:43:48 pm »
Quote
where companies like IAR, Keil, Segger, Altium and others still didn't make the jump. 
:-DD
You have listed all the companies that ARE successful because the free Eclipse based tools are so dreadful that companies are prepaired to pay lots just to have something that works and is reliable.
 

Offline rsjsouza

  • Super Contributor
  • ***
  • Posts: 3617
  • Country: us
  • Eternally curious
    • Vbe - vídeo blog eletrônico
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #34 on: September 06, 2019, 09:05:25 pm »
Quote
where companies like IAR, Keil, Segger, Altium and others still didn't make the jump. 
:-DD
You have listed all the companies that ARE successful because the free Eclipse based tools are so dreadful that companies are prepaired to pay lots just to have something that works and is reliable.
Yeah, sure.  :palm: Tell that to the number of developers that migrated to their competition due to the lack of multi-platform support.
Vbe - vídeo blog eletrônico http://videos.vbeletronico.com

Oh, the "whys" of the datasheets... The information is there not to be an axiomatic truth, but instead each speck of data must be slowly inhaled while carefully performing a deep search inside oneself to find the true metaphysical sense...
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 18553
  • Country: nl
    • NCT Developments
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #35 on: September 07, 2019, 11:01:06 am »
Agreed. The vendor provided IDEs generally suck because they are not the vendor's core business. Compared to all the IDEs I have worked with Eclipse is by far the best because it actually helps with navigating through big software projects. And Eclipse also supports more programming languages (think about Python, Lua, VHDL, Verilog) compared to vendor provided microcontroller IDEs so you can have one environment to do everything.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline pgo

  • Contributor
  • Posts: 12
  • Country: au
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #36 on: September 13, 2019, 02:51:23 am »
People may be interested in the information available here:

https://community.nxp.com/thread/302974

bye
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 3124
  • Country: us
Re: Freescale/NXP Codewarrior - Why so many issues with Windows 10?
« Reply #37 on: September 14, 2019, 07:56:45 am »
Quote
https://community.nxp.com/thread/302974
Ooh!  Thanks!That looks like just what the OP was looking for.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf