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
ChibiOS 3.0.0 and serial over usb
Moderator: RoccoMarco
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: ChibiOS 3.0.0 and serial over usb
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.
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.
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: ChibiOS 3.0.0 and serial over usb
Which version of Keil? I am having problems with 5.10 using ST-Link too.
Giovanni
Giovanni
Re: ChibiOS 3.0.0 and serial over usb
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
"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 ... 258700fa6c
full post here (with linux and compiler version) viewtopic.php?f=16&t=2233
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 ... 258700fa6c
full post here (with linux and compiler version) viewtopic.php?f=16&t=2233