I have a STM32F4Discovery board and I try to communicate between a c program(with no OS)on the board and a Java program on ubuntu pc. I have found many tutorials like this about USB but they all try to make a RS232 like serial port which is too slow(like 9600 baud or max 14.4Kbps).
Right now I am lost and I need to find out what how should I make this. Is it possible to make a high speed communication in this case and how fast it could be? USB 2.0 specs says it could be up to 480Mbps. Could you tell me with which library is this possible? And is there any best practice available to follow for making a two way communication over USB?
I really appreciate any hints.