MSD Device with SD Card

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MSD Device with SD Card

跳至解决方案
1,542 次查看
loicguillain
Contributor II

Hi everybody,

 

I'm trying to create a USB MSD (on USB K64 port) device recognized on a PC to access the SD card on my FRDM-K64F. But  impossible to create just a MSD device; it's worse by adding the SD card. I would like to know if someone did it and if yes could you share your example code? (pieces of advice are not helping me anymore for this problem... I need to resolve it quickly)

 

Best regards,

 

Loïc

标签 (1)
1 解答
1,149 次查看
ivadorazinova
NXP Employee
NXP Employee

Hi Loic,

yes, there is an error with the J-Link.

Please,

  1. Close KDS/Eclipse
  2. Download the attached 'plugins.zip'
  3. Extract the two plugins in that zip file to the 'plugins' subfolder of your installation folder (C:\freescale\kds_v3.0.0\eclipse\plugins)
  4. Confirm to replace the original files
  5. Restart KDS/Eclipse. Segger J-Link debugging is possible again.

The workaround is described also here Unable to Debug after KDS Update

We have also alert to avoid this.

alert.png

Thank you for your understanding,

Best Regards,

Iva

在原帖中查看解决方案

7 回复数
1,149 次查看
ivadorazinova
NXP Employee
NXP Employee

Hi Loic,

please have you tried Software Development Kit for Kinetis MCUs|Freescale  ?

We have created USB Device MSD example.

Not sure, if you create your example with OS (FreeRTOS, MQX.. or BM)

After installation you will see the code under C:\Freescale\KSDK_1.3.0\examples\twrk64f120m\demo_apps\usb\device\msd

Hope this helps.

Best Regards,

Iva

0 项奖励
1,149 次查看
loicguillain
Contributor II

Thanks but,

Firstly installing KSDK 3.0 = JLINK debugger fails... I can't debug anymore

Secondly I don't want to use KSDK ^^

Regards,

Loic

0 项奖励
1,150 次查看
ivadorazinova
NXP Employee
NXP Employee

Hi Loic,

yes, there is an error with the J-Link.

Please,

  1. Close KDS/Eclipse
  2. Download the attached 'plugins.zip'
  3. Extract the two plugins in that zip file to the 'plugins' subfolder of your installation folder (C:\freescale\kds_v3.0.0\eclipse\plugins)
  4. Confirm to replace the original files
  5. Restart KDS/Eclipse. Segger J-Link debugging is possible again.

The workaround is described also here Unable to Debug after KDS Update

We have also alert to avoid this.

alert.png

Thank you for your understanding,

Best Regards,

Iva

1,149 次查看
loicguillain
Contributor II

Thanks to you so much I was already in panic :smileysilly:

1,149 次查看
mjbcswitzerland
Specialist V

Loic

If you don't manage to solve your USB-MD to SD card requirements you can fall-back on a complete and industrially proven solution for the K64 at the link below - it allows the K64 to be simulated in (appox.) real-time including the SD card and all of its FAT operation.

In addition it includes FAT emulation which allows also internal data Flash or external SPI Flash to be used in a linear fashion to store binary data but later be visible as formated data to a PC host.

Regards

Mark

Kinetis: http://www.utasker.com/kinetis.html

K64: http://www.utasker.com/kinetis/FRDM-K64F.html / http://www.utasker.com/kinetis/TWR-K64F120M.html / http://www.utasker.com/kinetis/TWR-K65F180M.html

For the complete "out-of-the-box" Kinetis experience and faster time to market

:smileyinfo: Out-of-the-box support for 47 Kinetis boards and 10 IDEs (460 combinations from a single code source with no porting required)

0 项奖励
1,149 次查看
loicguillain
Contributor II

I don't want to use Open SDA port but K64 USB port. ^^

0 项奖励
1,149 次查看
DavidS
NXP Employee
NXP Employee

Hi Loic,

To add some other background information Iva has provided related to your topics please look at following links:

http://cache.freescale.com/files/microcontrollers/doc/ref_manual/DRM104.pdf

Flexis JM board with SD Card drivers and USB |Freescale 

But hopefully another user has done this specific implementation and can share....after all that is what the Community is for.

Regards,

David

0 项奖励