Hi to all, I am new in keil v5 and i want to implement usb ufi class mass storage under cbi protocol and i want use keil usb custom class in order to done that,but i do not know how i can use keil custom class and port it to my MCB17000 board and after searching in internet i do not find anything about that. Can any one me how can i create and config project with keil usb custom class??
ok friends, after some hours of Paddle i found that when i initialize usb core it return an error,code of main function is as below:
int main(void){ usbStatus stat; osKernelInitialize (); // initialize CMSIS-RTOS // initialize peripherals here // create 'thread' functions that start executing, // example: tid_name = osThreadCreate (osThread(name), NULL); osKernelStart (); // start thread execution stat = USBD_Initialize(0); //now stat is usbThreadError if(stat == usbOK) stat = USBD_Connect(0); while(1) { osDelay(1000); } }
as you can see USBD_Initialize function return usbThreadError,now can any one give me some advice to how solve that??
You have started up the OS. But have you created any threads that will actually perform any work?
Did press send too quickly - does your configuration allow additional threads to be created?
View all questions in Keil forum