Borrar filtros
Borrar filtros

Freescale Cup Companion App doesn't work!

1 visualización (últimos 30 días)
Arashjot
Arashjot el 26 de Oct. de 2014
Editada: Walter Roberson el 1 de Mzo. de 2018
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.

Respuestas (2)

James Kristoff
James Kristoff el 27 de Oct. de 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 comentarios
Arashjot
Arashjot el 28 de Oct. de 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.

Iniciar sesión para comentar.


Herbert Schacherl
Herbert Schacherl el 1 de Mzo. de 2018
Editada: Walter Roberson el 1 de Mzo. de 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

Categorías

Más información sobre MATLAB Coder en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by