I want to load program with system bootloader over TCP/UDP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-27 8:45 AM
I ran system bootloader, I can perform the bootloader process using the STM32CubeProgrammer software via USART. But what I want is to run the bootloader software over TCP or UDP using the USART protocol. Because my UART2 line is connected to a TCP converter.
I wrote a piece of code using Python, but it's very slow and disconnects after a while. Is it possible to enable STM32CubeProgrammer to communicate with UART protocol over TCP?
Softwareally, I used TCP to Uart converters, but STM32CubeRogrammer is getting a time delay error.
My system is as follows;
Solved! Go to Solution.
- Labels:
-
STM32CubeProgrammer
-
STM32H7 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-28 11:30 AM
I can't get any response, it doesn't give an error. I agree with you, I'm trying to understand why.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-28 11:43 AM
Thanks for advice,
I used https://www.serial-over-ethernet.com/ but it is very slow for STM32CubeProgrammer. I will research and write it here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-28 10:59 PM
I was try NetBurner Virtual Comm Port Ver 2.4, however, this gave a time delay error (Timeout) like my python script.
I need more long time for waiting for acknowledgement.
How can I increase the acknowledgement wait time?
@Houda GHABRI​ @Imen DAHMEN​
My System
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-29 2:58 AM
I've been able to walk devices in via realterm​, so it should be pretty tolerant of some latency.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-29 3:05 AM
Yes, but STM32CubeProgrammer is not tolerant, how can I increase the tolerance?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-30 2:10 AM
I propose to test this, hope it resolves the issue :
- There is an option to increase the timeout using CLI :tm , we can set vlaue in ms .
STM32_Programmer_CLI.exe -c port=COM36 -tm 100000
-------------------------------------------------------------------
STM32CubeProgrammer v2.10.0-RC2
-------------------------------------------------------------------
Warning: Timeout is forced to 100000 ms
STM32_Programmer_CLI.exe -c port=COM36 -tm 100000
Serial Port COM36 is successfully opened.
- Did you already try to decrease the Bauderate value?
Can you please test it and tell me if it is OK ?
Houda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-30 5:32 AM
Hi @Houda GHABRI​
I'm sorry for the late reply,
Timeout error persistsi, this method is not ok
I'm working over TCP;
I do decrease the Bauderate value over, there is a timeout error (Over TCP)
İf direct connect to system bootloader (STM32H7 UART-2)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-30 8:02 AM
STM32CubeProgrammer is designed to operate in an environment where the host and device are close and ideally directly connected. Clearly not expected to work with such latency.
So CubeProgrammer cannot help in this case, what I can suggest is to try to use STM32 Flash loader demonstrator tool available here ,may be it is more tolerant about latency.
Hope this can helps you,
Houda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-30 11:25 AM
Hi @Houda GHABRI​ ,
Can't you fix this problem by releasing an update for STM32CubeProgrammer? This is a very basic request.There may be many people in need and we are a loyal ST user. Please fix the problem with an update, I will be very grateful. ST is a very crowded and successful company.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-30 11:31 AM
STM32 Flash loader is not good for my request, I need STM32CubeProgrammer.
