I've just started to transition to KDS from Codewarrior (my development cycles are intermittent). I have successfully installed and run KDS and created a new Kinetis project based around the FRDM-KL26Z. In Processor Expert view, when I uncheck "init" for any of the subsystems (for example ADC) the program hangs, giving me the spinning beachball of death.
The console output from KDS is:
29/09/2015 15:15:56.747 spindump[425]: Saved hang report for kinetis-design-studio version ??? (???) to /Library/Logs/DiagnosticReports/kinetis-design-studio_2015-09-29-151556_iMac2.hang
29/09/2015 15:15:57.285 SpotlightNetHelper[402]: [SLSUGGESTIONS] Location managed failed with error Error Domain=kCLErrorDomain Code=0 "The operation couldn’t be completed. (kCLErrorDomain error 0.)"
29/09/2015 15:15:58.446 kinetis-design-studio[1431]: WARNING: The Gestalt selector gestaltSystemVersion is returning 10.9.5 instead of 10.10.5. Use NSProcessInfo's operatingSystemVersion property to get correct system version number.
Call location:
29/09/2015 15:15:58.446 kinetis-design-studio[1431]: 0 CarbonCore 0x00007fff8ae7a2b7 ___Gestalt_SystemVersion_block_invoke + 113
29/09/2015 15:15:58.446 kinetis-design-studio[1431]: 1 libdispatch.dylib 0x00007fff861adc13 _dispatch_client_callout + 8
29/09/2015 15:15:58.446 kinetis-design-studio[1431]: 2 libdispatch.dylib 0x00007fff861adb26 dispatch_once_f + 117
29/09/2015 15:15:58.446 kinetis-design-studio[1431]: 3 CarbonCore 0x00007fff8ae03456 _Gestalt_SystemVersion + 987
29/09/2015 15:15:58.446 kinetis-design-studio[1431]: 4 CarbonCore 0x00007fff8ae026e3 Gestalt + 144
29/09/2015 15:15:58.446 kinetis-design-studio[1431]: 5 kinetis-design-studio 0x00000001000019b4 main + 50
29/09/2015 15:15:58.446 kinetis-design-studio[1431]: 6 kinetis-design-studio 0x0000000100000fec start + 52
29/09/2015 15:16:04.297 com.apple.xpc.launchd[1]: (com.apple.imfoundation.IMRemoteURLConnectionAgent) The _DirtyJetsamMemoryLimit key is not available on this platform.
29/09/2015 15:16:27.258 WindowServer[237]: disable_update_timeout: UI updates were forcibly disabled by application "KDS" for over 1.00 seconds. Server has re-enabled them.
29/09/2015 15:16:27.323 WindowServer[237]: common_reenable_update: UI updates were finally reenabled by application "KDS" after 1.07 seconds (server forcibly re-enabled them after 1.00 seconds)
29/09/2015 15:17:09.709 com.apple.xpc.launchd[1]: (com.apple.quicklook[1440]) Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.quicklook
29/09/2015 15:17:35.000 kernel[0]: aio_queue_async_request(): too many in flight for proc: 16.
29/09/2015 15:17:38.000 kernel[0]: aio_queue_async_request(): too many in flight for proc: 16.
29/09/2015 15:18:01.000 kernel[0]: process kinetis-design-s[1431] thread 796521 caught burning CPU! It used more than 50% CPU (Actual recent usage: 73%) over 180 seconds. thread lifetime cpu usage 90.452741 seconds, (89.714209 user, 0.738532 system) ledger info: balance: 90004882413 credit: 90006969381 debit: 2086968 limit: 90000000000 (50%) period: 180000000000 time since last refill (ns): 123111712641
29/09/2015 15:18:01.556 com.apple.xpc.launchd[1]: (com.apple.ReportCrash[1443]) Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
29/09/2015 15:18:01.557 ReportCrash[1443]: Invoking spindump for pid=1431 thread=796521 percent_cpu=73 duration=124 because of excessive cpu utilization
29/09/2015 15:18:02.260 spindump[425]: Saved cpu_resource.diag report for kinetis-design-studio version ??? (???) to /Library/Logs/DiagnosticReports/kinetis-design-studio_2015-09-29-151802_iMac2.cpu_resource.diag
I have attached the cpu_resource.diag report that this produced to this question too. This works fine in Windows, but I really would rather not have to run a VM just for this.
Original Attachment has been moved to: kinetis-design-studio_2015-09-29-151802_iMac2.cpu_resource.diag.zip
Solved! Go to Solution.
Hi Stefan,
I've logged the issue in our bug base under the number KDS-329
At this time I can not give you more info - release date.
Thanks for doing our product better.
Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Stefan,
I've a MAC with KDS + KSDK and PEx.
I0ve reproduced the problem on my side too.
As soon as I click on a Pin, the multicolor circle appears and ... loop forever.
Tool is not responding anymore.
Is it same issue ?
Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Pascal
Yes, this is the same issue. Carlos, I have attached an image of where the error occurs with the checkbox that causes the hang circled in red.
Hope this helps
S
Hi Stefan,
I've logged the issue in our bug base under the number KDS-329
At this time I can not give you more info - release date.
Thanks for doing our product better.
Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks for this Pascal - let me know if there's any further info I can provide.
All the best
Stefan
Hi Stefan,
I've the same problem on my side.
I'm trying to install all patches but got errors to install PEx and KSDK patches.
I will check if there is another way to get them just to be sure if the problem is not already solved.
Keep you informed.
Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Stefan,
Could you tell us which OSX version are you using? Please notice that the host operating systems supported by KDS are:
• Windows® 7/8 (32-bit binaries running on 32 and 64-bit OS).
• Linux® (Ubuntu 14.04 (deb), RedHat/Centos 7 (rpm)) (64 bit binaries).
• Mac OS X ("Yosemite") with Segger support.
Best Regards!
Carlos Mendoza
Technical Support Engineer
Hi Carlos
OS X version is Yosemite 10.10.5. All other aspects of KDS work, it's just I can't use Processor Expert because of this - but I am actually getting good results without, so it's not a huge issue for me, but might be for others.
S
Hi Stefan,
Thanks for your response.
Could you post an screenshot of the init setting you change on the component before KDS hangs?
Best Regards!
Carlos Mendoza
Technical Support Engineer