Hi All
I am up to speed with where i left off a couple of months ago. This is the manual to compile/test the code on a Black stm32F407VE6T board from eBay.
Install tool chain
1. Install the latest arduino IDE (1.8.10)
2. Install the stm32duino core from:
https://github.com/stm32duino/Arduino_Core_STM32 (version 1.6.1)
3. install
https://www.st.com/content/st_com/en/pr ... eprog.html
Build code
1. Download the speeduino code (master)
2. Open the code in de arduino IDE.
3. In arduino IDE select Tools->Board: GENERIC STM32F4 series
4. In Arduino IDE select Tools->Board part number: "BLACK F407VE"
5. In Arduino IDE select Tools->USART support: Enabled (generic serial)
6. In Arduino IDE select Tools->USB support: CDC (generic serial)
7. Edit the board.txt file located in
--------Windows: C:\Users\%USER%\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.6.1\
--------Linux: ~/.arduino15/packages/STM32/hardware/stm32/1.6.1/boards.txt
8. Replace line 754 with the following: GenF4.build.extra_flags= -DCORE_STM32_OFFICIAL -DSRAM_AS_EEPROM -D{build.product_line} {build.enable_usb} {build.xSerial} {build.bootloader_flags}
9. Open an example with serial port (SerialCallREsponse) en build this project FIRST!
10. If succeeded build the speeduino project.
Building the code should now work:
Hardware modifications
1. Remove the R21 resistor from the board (close to usb port)
2. Put the jumper close to the CPU (BT0) to connect to the 3.3 volt instead of GND (one step up)
3. Reset the board.
Upload
1. In Arduino IDE select Programmer: "STM32CubeProgrammer DFU"
2. Upload the code
3. Put the Jumper back in its orginal position.
After all these steps you should be able to connect to the board using the USB cable and connect to it with tuner studio. Tested the compilation in both windows 10 and Linux Ubuntu 18.04.3 LTS
The pin make no sense at the moment, but that is going to be the next step.