Freescale Cup Companion App doesn't work!

조회 수: 1 (최근 30일)
Arashjot
Arashjot 2014년 10월 26일
편집: Walter Roberson 2018년 3월 1일
Hello, I'm not able to click any button on the companion app as they are all grayed out. Only thing I can click on is "Get support package". I've already uninstalled and re-installed both the companion app and the support package multiple times. See below.

답변 (2개)

James Kristoff
James Kristoff 2014년 10월 27일
Dear Arashjot,
This issue is seen in R2014b, because the Freescale Cup Companion App checks if the Embedded Coder Support Package for Freescale FRDM-KL25Z Support Package is installed and if it cannot find the support package it disables several buttons and provides you with a way to install the support package. It checks for the support package by getting a list of all installed support packages and then comparing their short names against the short name it thinks the support package should have. This "short name" was changed in R2014b, so the App does not recognize that the support package has been installed.
A fix has been created, and should go up soon (along with some other enhancements to the App, including an update feature), but if you would like to get started right away, here is the workaround:
1. Open the App then close it. (this makes sure the App code is on the MATLAB Path)
2. Open the main App code by executing the following command in the MATLAB Command Window:
edit(which('FreescaleCupApp.m'))
3. Edit lines 106 and 145. These lines should be:
isSP_installed = any(arrayfun(@(sp)strcmp(sp.Name, 'Freescale FRDM-KL25Z'), info));
Which needs to be updated to:
isSP_installed = any(arrayfun(@(sp)any(ismember({'Freescale FRDM-KL25Z', 'Freescale Kinetis Microcontrollers'}, sp.Name)), info));
This fix will allow the App to work for both R2014a and R2014b.
4. Save and close the file and execute the following command in the MATLAB Command Window:
clear classes
5. Reopen the App to see the changes.
  댓글 수: 2
Arashjot
Arashjot 2014년 10월 28일
Thanks a lot. Works perfectly! Yea it was weird that the support package is named different for R2014a and R2014b. Thanks again.
MathWorks Student Competitions Team
The fix for this issue should now be live, and any new downloads of the Freescale Cup Companion App should not see this issue.

댓글을 달려면 로그인하십시오.


Herbert Schacherl
Herbert Schacherl 2018년 3월 1일
편집: Walter Roberson 2018년 3월 1일
Hello,
it seems, I have now the same issue in Matlab 2017b.
Even the fix is already in place, I checked the code, the symptom is now back.
License is 4XXXXXXXXXXX
Many Thanks,
Herbert

카테고리

Help CenterFile Exchange에서 MATLAB Coder에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by