Hello,
I sucessfully got working CMSIS RTOS with SD card after help from Emilio. Thank You very much.
Program reads file from SD card line by line as I wanted.
I also have been successful with USB device and CMSIS RTOS where thread was sending mouse reports.
Now I wanted to test other side of USB with RTOS - USB host.
The problem where I get is that mbed "freeze" or something like that but no flashing leds in pairs as runtime error I got with SD card.
So when I add library and header file for CMSIS RTOS and create thread in USB host aplication that I am using http://mbed.org/users/BartJanssens/programs/PS3_BlueUSB/lq9h2h, things "looks" good. Thread flashes led as defined in thread and USB is waiting for device to be connected.
And now it comes. After connecting any device (tried mouse, kb and bt dongle) device seems to get enumerated and seems that sends about 5 reports and then all dies.
Thread stops to flash led an it looks like device dies or "freeze". I tried many things but no success.
Do I understand that not every library is possible to get used with RTOS?
Can You please point me about common ways how to get such library to work if so ways exist?
I am really interested in RTOS + USB host/device and filesystem.
Hello,
I sucessfully got working CMSIS RTOS with SD card after help from Emilio. Thank You very much. Program reads file from SD card line by line as I wanted.
I also have been successful with USB device and CMSIS RTOS where thread was sending mouse reports.
Now I wanted to test other side of USB with RTOS - USB host.
The problem where I get is that mbed "freeze" or something like that but no flashing leds in pairs as runtime error I got with SD card.
So when I add library and header file for CMSIS RTOS and create thread in USB host aplication that I am using http://mbed.org/users/BartJanssens/programs/PS3_BlueUSB/lq9h2h, things "looks" good. Thread flashes led as defined in thread and USB is waiting for device to be connected.
And now it comes. After connecting any device (tried mouse, kb and bt dongle) device seems to get enumerated and seems that sends about 5 reports and then all dies.
Thread stops to flash led an it looks like device dies or "freeze". I tried many things but no success.
Do I understand that not every library is possible to get used with RTOS?
Can You please point me about common ways how to get such library to work if so ways exist?
I am really interested in RTOS + USB host/device and filesystem.