First power on - Gepetto/DieBieSlaveduino GitHub Wiki

First power on

Power connection

You can power the board by the power connector (10-30V) or by USB. The POWER LED should light up.

Flash the stm32

  1. Connect the st-link V2 (molex 15134-0703) and power on the board

  1. In the Arduino IDE do as if you would upload the program, an error appear saying no programmer is detected
  2. Copy the path given by the compiler and paste it as this : st-flash write /tmp/arduino_build_474198/myprog.bin 0x8000000

Try to compile and flash the bink_test.ino given in example. If all is right the STATUS LED should blink.

Test the LAN9252

1/ Build SOEM
2/ ifconfig to find the network interface
3/ launch the slaveinfo test as sudoer sudo ./test/linux/slaveinfo/slaveinfo eno1
4/ If all is right the message 1 slaves found and configured should appear if not it may be an hardware issue.

Next steps

If these 2 tests have been passed with success that show your hardware seem ok but you still have to configure the LAN9252 and test the communication between the LAN9252 and the STM32.