Effacer les filtres
Effacer les filtres

Freescale Cup Companion App doesn't work!

1 vue (au cours des 30 derniers jours)
Arashjot
Arashjot le 26 Oct 2014
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.

Réponses (2)

James Kristoff
James Kristoff le 27 Oct 2014
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 commentaires
Arashjot
Arashjot le 28 Oct 2014
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.

Connectez-vous pour commenter.


Herbert Schacherl
Herbert Schacherl le 1 Mar 2018
Modifié(e) : Walter Roberson le 1 Mar 2018
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

Catégories

En savoir plus sur MATLAB Coder dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by