2020-03-12 04:34 AM
Hi all,
I'm trying to customize the device tree of the stm board, but I'm stuck early on. I'm trying to follow stm32mp157c-dk2 tutorial to flash Starter Package (https://wiki.st.com/stm32mpu/wiki/STM32MP15_Discovery_kits_-_Starter_Package), however, when I reach the step
PC $> STM32_Programmer_CLI -l usb
I get the following output
~/stm32mpu-workspace/stm32mpu-tools/stm32-cube-programmer-240/bin/STM32_Programmer_CLI -l usb
-------------------------------------------------------------------
STM32CubeProgrammer v2.4.0
-------------------------------------------------------------------
===== DFU Interface =====
No STM32 device in DFU mode connected
my host kernel version: 4.4.0-174-generic
Solved! Go to Solution.
2020-03-12 05:53 AM
Hi,
did you set the Boot switches accordingly (both to the off position)? Did you connect the PC using the USB CN7 port (the USB-C port next to the USB-A ones)?
I am using Windows and a virtual Ubuntu 18.04 and have no problem connecting to mine.
Hope it helps
2020-03-12 05:53 AM
Hi,
did you set the Boot switches accordingly (both to the off position)? Did you connect the PC using the USB CN7 port (the USB-C port next to the USB-A ones)?
I am using Windows and a virtual Ubuntu 18.04 and have no problem connecting to mine.
Hope it helps
2020-03-12 05:54 AM
I have a kernel version 5.3.0 though
2020-03-12 05:55 AM
Hi @Jarosław Głazowski
Did you proceed to following step in wiki ?
4.2 USB serial link↑
PC $> sudo apt-get install libusb-1.0-0
PC $> cd $HOME/STM32MPU_workspace/STM32MPU-Tools/STM32CubeProgrammer-x.y.z/Drivers/rules
PC $> sudo cp *.* /etc/udev/rules.d/
Does your board boot switch in position 00 for USB/UART boot ?
Hope it help,
Olivier
2020-03-12 06:43 AM
The device in my case responds as /dev/ttyACMx UART device, the flashing seems to be going without problems.
2020-03-12 06:51 AM
Sorry guys, didnt notice your answers. Silly me, @Fee ok I think we identified the curlpit I connected it to the STLink (CN11) :hear_no_evil_monkey: . I'll test it once the flashing is done. @OlivierG yes I did those steps.
2020-03-12 07:00 AM
Hi all, now that I connected everything in the right manner the device responds as it should. Comprehensive reading would be a nice skill to have ;)
2021-06-22 07:48 AM
This was the right answer for me!!