Page 2 of 2
Re: ChibiOS 3.0.0 and serial over usb
Posted: Wed Oct 15, 2014 12:24 pm
by Giovanni
Differences among boards are all handled in board.h/board.c, any problem could arise is most likely located there. You should verify:
- Clocks (which impact board.h but also settings in mcuconf.h).
- I/O pins setup.
Giovanni
Re: ChibiOS 3.0.0 and serial over usb
Posted: Thu Oct 16, 2014 11:58 am
by kamil
Problem is solved, everybody thanks for patience and help.
If someone is interesting, the problem is in the Keil or ST-Link I think. After compile and load program to the flash, program doesn't start or start incorrectly. If after loading program push reset button, everything inits and STMicroelectronics Virtual COM Port is detected by windows correctly. It is strange, because the "Reset and run" checkbox in the ST-Links configuration is enabled.
One more time thanks Giovanni for help.
Re: ChibiOS 3.0.0 and serial over usb
Posted: Thu Oct 16, 2014 12:51 pm
by Giovanni
Which version of Keil? I am having problems with 5.10 using ST-Link too.
Giovanni
Re: ChibiOS 3.0.0 and serial over usb
Posted: Thu Oct 16, 2014 12:54 pm
by kamil
Giovanni wrote:Which version of Keil? I am having problems with 5.10 using ST-Link too.
Giovanni
I have MDK-ARM ver 4.72.1.0
Before I didn't face with such problem. Only when include ChibiOS to my project I noticed it.
Re: ChibiOS 3.0.0 and serial over usb
Posted: Thu Oct 16, 2014 3:44 pm
by lesto
"clean" teshHal from chibios 3.0 github repo (branch master) does not enumerate for me.
branch 2.6.0 gives some error but does work. i'm puzzled
please see dmesg log for USB3
https://gist.github.com/MauroMombelli/5 ... 258700fa6cfull post here (with linux and compiler version)
viewtopic.php?f=16&t=2233