compiled the USB test from the github, the test runs fine (even "write", for what i can see, maybe i'll make up a little test in java to check after a lot of stress it works fine)
BUT when inserting the USB dmesg go crazy, here the log:
https://gist.github.com/MauroMombelli/3 ... b5d7722234
chibios 3 is even worse: it cannot even enumerate!
https://gist.github.com/MauroMombelli/5 ... 258700fa6c
any idea?
Linux 3.16.4-1-ARCH #1 SMP PREEMPT Mon Oct 6 08:22:27 CEST 2014 x86_64 GNU/Linux
arm-none-eabi-gcc (Arch Repository) 4.9.1
Chibios 2.6 USB testHal and a lot of error
Moderator: RoccoMarco
- Giovanni
- Site Admin
- Posts: 14891
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: Chibios 2.6 USB testHal and a lot of error
I don't get any of that on my PC, what I am supposed to do with those logs? you may try a windows PC and see if you get the same problem.
Giovanni
Giovanni
Re: Chibios 2.6 USB testHal and a lot of error
attacching wireshark cap for chibios 3.
i'm really tired now, i'll try to find out what is wrong later, but first i've to learn how USB works
i'm really tired now, i'll try to find out what is wrong later, but first i've to learn how USB works
- Attachments
-
- chibios3Test.pcapng.zip
- (2.35 KiB) Downloaded 466 times
Re: Chibios 2.6 USB testHal and a lot of error
found a windows pc, it can't enumerate che board, it say error 43.
now i'm gint to try to compule with gcc 4.7 or similar, to see if it is something to do with newest compiler. i'll try the version boundled with chibios studios, if i managed to compile it.
now i'm gint to try to compule with gcc 4.7 or similar, to see if it is something to do with newest compiler. i'll try the version boundled with chibios studios, if i managed to compile it.
- Giovanni
- Site Admin
- Posts: 14891
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: Chibios 2.6 USB testHal and a lot of error
The USB is working for a lot of people, do you have the drivers for the ST virtual com port? Windows requires those in order to enumerate.
http://www.st.com/web/en/catalog/tools/ ... 3/PF257938
Giovanni
http://www.st.com/web/en/catalog/tools/ ... 3/PF257938
Giovanni
Re: Chibios 2.6 USB testHal and a lot of error
point is it does not get to the driver, if you go to the setting panel on the "gestione periferiche" (forgot english terms, sorry) it does not tell you the VID and PID of the device, but insted gives this error.
i'm statring to thing is is really the compiler. Just rolled back to arm-none-eabi-gcc47-linaro-4.7_2014.06-1, lets see
i'm statring to thing is is really the compiler. Just rolled back to arm-none-eabi-gcc47-linaro-4.7_2014.06-1, lets see
Re: Chibios 2.6 USB testHal and a lot of error
arm-none-eabi-gcc47-linaro-4.7_2014.06-1 gives the same problem, chibios2.6 works, with some error, and chibios3.0 fail to enumerate, even on windows.
the 2 project have been cloned from zero from github, compiled and uploaded, with no edit (example TestHal), also i've cloned them in two different folder, to be sure i wasn't messing with branch or something else
i have to set up a win pc and thest chibios studio, to understand if i have the same problem there.
@mobyfab: found here https://aur.archlinux.org/packages/gcc- ... -eabi-bin/, i'll try as soon as i have time!
the 2 project have been cloned from zero from github, compiled and uploaded, with no edit (example TestHal), also i've cloned them in two different folder, to be sure i wasn't messing with branch or something else
i have to set up a win pc and thest chibios studio, to understand if i have the same problem there.
@mobyfab: found here https://aur.archlinux.org/packages/gcc- ... -eabi-bin/, i'll try as soon as i have time!
Re: Chibios 2.6 USB testHal and a lot of error
it is tuned for A, but should work as clasic GCC for the other.
i've tested with official ARM gcc on linux and still got this problem. now i'm going to test it under windows using chibios. (still have to try if windows recognize it).
i'm planning to set up a fully working windows with chibistudio, and start debugging from here
i've tested with official ARM gcc on linux and still got this problem. now i'm going to test it under windows using chibios. (still have to try if windows recognize it).
i'm planning to set up a fully working windows with chibistudio, and start debugging from here