2023-05-19 08:01 AM
I am flashing a developed code on a Nucleo F746ZG on STM Cube IDE
The board is taken from the "STM32 Nucleo Pack: LoRa LF band sensor and gataway"
When I start the debug mode, this error message appears:
Target no device found
Error in initializing ST-LINK device.
Reason: No device found on target.
I am using Ubuntu Linux 20.04
Solved! Go to Solution.
2023-05-19 08:08 AM
Hello @Italo ,
Please check that the jumpers are correct on your board, especially the one for the ST-LINK.
Then, try to connect your board with ST-LINK Utility or STM32CubeProgrammer.
In the ST-LINK configuration area, try the following configuration:
Serial number: Refresh to get your ST-LINK serial
Mode: Under reset
Reset mode: Core reset
Finally, try to connect your board.
I hope this helps.
Foued
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-05-19 08:08 AM
Hello @Italo ,
Please check that the jumpers are correct on your board, especially the one for the ST-LINK.
Then, try to connect your board with ST-LINK Utility or STM32CubeProgrammer.
In the ST-LINK configuration area, try the following configuration:
Serial number: Refresh to get your ST-LINK serial
Mode: Under reset
Reset mode: Core reset
Finally, try to connect your board.
I hope this helps.
Foued
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-05-22 02:57 AM
Yes, using the jumper on JP4 solved the problem, since it sets the Vin on PC connection, instead of E5V or extVin of jumpers 3 and 5.
Now another issue occurs, since in my Demo I need to establish a USART connection between my board and ROS1. The python code I run in ROS environment is in the package "rosserial_python" and it is called "serial_node.py". I followed this guide ( https://www.youtube.com/watch?v=cq0HmKrIOt8 ) which worked on F401RE only, but not on the F746ZG. Every time subscribers/publishers cannot work since the following error appears:
Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino
The package is this https://github.com/yoneken/rosserial_stm32
Thank you for your time and kindness
2023-05-22 03:09 AM
If this solves your problem, please mark my answer as "Best Answer" by clicking on the "Select as Best" button, this can be helpful for Community users to find this solution faster.
Could you please open a new thread and post your question.
Foued
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-05-22 03:15 AM
Probably the F746ZG NUCLEO uses a different USART to connect with the CDC/VCP
2023-05-22 03:22 AM
Ok, I'll do it
2023-05-22 03:22 AM
Even by setting USART 2, it doesn't work