Marek & Jennie thanks or your involvement in my problem, but that was a wrong way. The problem was much deeper.
So.
After 2 days of investigation, dozens of attemps to install, update and repair etc. the problem has been identified and I found a solution (workaround).
The BUG:
When trying to update KDS to 3.1.0 it fails with following message:
An error occurred while uninstalling
session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]com.somniumtech.kds.executable.win32.win32.x86 3.0.0 --> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction).
Backup of file D:\nxp\KDS_3.0.0\eclipse\kinetis-design-studio.exe failed.
File that was copied to backup could not be deleted: D:\nxp\KDS_3.0.0\eclipse\kinetis-design-studio.exe
At this point the KSD is BROKEN. Any attempt to rescue or repair does not give expected result - even if you get everything looking fine. If You will continue using KDS, it will be unpredictable, You will not be able to update or install addons or you will get lot of very strange errors.
The ONLY solution is to install KDS from scratch!!
Trust me, I spend 2 days trying dozens of different solutions.
The problem exists ONLY under Windows. Linux and probably MAC should not be affected.
It is derectly related to this:Unable to update KDS from 3.0.0 to 3.1.0
ant it has source in ECLIPSE bug under windows: Bug 427148 – Unable to update from one version to the next, on Windows only - can not remove eclipse...
Solution: (workaround)
- Uninstall KDS
- The KSDK is unaffected !! so if you got it installed, dont touch it. It is OK.
- Do a fresh Install of KDS 3.0.0
- BEFORE you attempt to update KDS to 3.1.0 you HAVE TO rename KDS executable and INI file:
- Exit KDS
- rename your KDS executable file located usualy at:
- C:\Freescale\KDS_3.0.0\eclipse\kinetis-design-studio.exe
- to something like this:
- C:\Freescale\KDS_3.0.0\eclipse\__kinetis-design-studio__.exe
- rename your KDS.ini file located in same folder:
- "C:\Freescale\KDS_3.0.0\eclipse\kinetis-design-studio.ini"
- to something like this:
- "C:\Freescale\KDS_3.0.0\eclipse\__kinetis-design-studio__.ini"
- Both file file SHOULD have same filename but different extension.
- Now you have to start KDS by running the renamed exe file. Do not use shotrcut - it bassically do not work at this moment.
- Update KDS to 3.1.0 using standard procedure from KDS_3.1.0_Release_Notes.pdf.
- KDS will ask you to restart.
- Enjoy your fully working bug free(hope) KSD 3.1.0 with PEx 3.0.2b
- Now you can search for updates, install KSDK 1.3.0 plugin etc.
- Enjoy.
I hope it will be helpfull for many (all ?) Windows users :smileywink:
My conclusion is:
Have developers had tested update procedure under Windows ?
Could you please update KSD 3.1.0 release note? Or maybe better, release a full 3.1.0 installation package?
That was my 3rd (and last for sure) attempt to start development for Kinets devices ... and I'am sure I'am not the only one who dropped Kinetis devices because of broken tools...
Best Regards
Marcin.