Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

SK-S7: issue using USB storage and USB console together

$
0
0

Hello,

I would like to know whether there might be an issue using the USB console framework (USB device) and an USB Stick (as USB host) at the same time. My intention was to write and read files from/to an USB-stick.

Due to that I used the code of the "usb_thread_entry.c" file of the audio player sample, to enable USB file I/O functionality to my application.

So I'm not sure whether I have to add a second  "g_sf_el_ux" or "g_ux" instance? But I guess one should be enough because "g_sf_el_ux" shows the pins for device and host pins,or I'm wrong?

I'm able to compile my project and it is running, but USB console functionality was gone. Even when I comment out all the code inside "usb_thread_entry.c" USB console doesn't work anymore.

Seems that there was still some added code active, which corrupts the USB-console. After swapping back to my former project version USB console works again without problems.

Any help is very appreciated.

Thank you and best regards
Ralph


Viewing all articles
Browse latest Browse all 5781

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>