AnsweredAssumed Answered

K60 SD card example issue and others questions

Question asked by Roberto Lucarelli on Dec 16, 2011
Latest reply on Dec 22, 2011 by Oleg Bondarenko

We are using the K60 tower and the iar sytem (6.3 version) with J-link debugger.

 

The first question concerns the example of MFS Secure Digital (C:\Program Files\Freescale\Freescale MQX 3.7\MFS\examples\sdcard). At runtime the application provides us the message "Error installing communication handle." This problem does not allow us to go ahead with testing of additional commands of the MFS file system. The SD memory (2GB) works fine with a PC. As an example already available should not run smoothly?

The main file demo.c includes sdcard_spi.h;  after reading the documentation IO drivers we think that the right file is  sdcard_esdhc.h. However we have tried to replace the include the esdhc file and nothing has changed, and not even including any of them. However, the compilation is successful, and the runtime error still exists.

 

The second question concerns the possibility of using USB OTG in MQX. In the release notes of version 3.7 this feature is not supported (and in fact there is no example of this), but for us it is especially important. An our primary specification is this: the OTG port of K70 must recognize and support a device or a host, but never another OTG device (in other words, we need a simplified OTG software stack). Is there a way to overcome this obstacle? MQX version 3.8 will cover this lack?

 

Best Regards.

Outcomes