I have a new stm32f4 discovery board.
http://uk.farnell.com/stmicroelectronic ... dp/2009276
Using arm-none-eabi-gcc on linux, I built the demo code from Chibios_2.6.5:
~/ChibiOS_2.6.5/demos/ARMCM4-STM32F407-DISCOVERY-MEMS
This compiled and flashed without any problems and the board is flashing a sequence of three LEDs, so it seems to be running.
I have both the micro USB and the mini USB connected but I only see the STlink device on the PC.
The hardware and the PC are working since I had already run this test demo and got output down from a second device created on the OTG.
http://vedder.se/2012/07/usb-serial-on-stm32f4/
That causes linux to create /dev/ttyACM0 for the OTG line.
I was expecting a second device to appear on OTG connector with the Chibios demo but there is only one USB device found by linux and minicom does now show anything coming from it and it does respond if I type mem or test.
Code: Select all
/*
* Initializes a serial-over-USB CDC driver.
*/
sduObjectInit(&SDU1);
sduStart(&SDU1, &serusbcfg);
Is this the correct demo for the board? What have I misunderstood?
Thanks.