------Question for STM32-E407 Please Put your question below------
Can i connect both the debugger and the USBOTG2 at once ? I want to flash the board via jtag and read from the board via serial usb. will it be an issue if both are connected at once ?
Hello @mk12,
Yes, you should be able to connect a programmer/debugger to the JTAG connector and connect your PC to the board via the USB connector(s) at the same time. They share no common GPIO pins, so I see no reason there would be an issue.
Alright thanks for the input. Also one more thing. I want to interface this board with some sensor like a radar or ultrasonic sensor. Which software should I use for that ? Other than arduino ?
Because this board is based on an ST MCU, the “official” answer is to use ST’s IDE: STM32CubeIDE. However, you have many other options and the answer to which one you should use is totally dependent on you, your current level of experience, what level of support you require, and what exactly you are looking to accomplish with your code.
If you are willing to put in the time and effort, a full-fledged development environment like STM32CubeIDE would provide you with maximum flexibility for your project and a plethora supporting materials from ST. There are other options here like Keil uVision and IAR EWARM which are equally as powerful but not necessarily free to use.
If you’re looking for something more beginner friendly, it looks like the STM32-E407 board is supported by both PlatformIO and MicroPython. I have little experience with either, but depending on which sensors you choose and which peripherals of the MCU you want to take advantage of, these options may get you to a working solution with less design effort on your part.
Do you have any tutorial for STM32CubeIDE ? I had it downloaded yesterday but in boards section there was no Olimex
Yeah, you’re not going to find any third-party boards in the Board Selector tab. You’ll have to choose your MCU in the MCU/MPU Selector tab and use the STM32-E407 schematic to initialize the pins and peripherals required for your application.
Or you could take the advice of the ST Community and go with a Nucleo board instead of the Olimex board. These are better supported by ST’s tools and don’t require an external programmer/debugger. It depends on what your requirements are…
To answer your question, though, the Introduction to STM32CubeIDE Wiki is a good place to get started with this tool. There you’ll find links to most, if not all, of ST’s getting started materials.
