cancel
Showing results for 
Search instead for 
Did you mean: 

Sending UDP on NetXDuo does not work without breakpoints.

Hey0256
Visitor

Hi, I have created a program to send UDP using NetXDuo on a Nucleo-H755ZI.
I used the URL below as a reference.

Creating a dual IPv6 & IPv4 NetXDuo UDP application for STM32H7 using CubeMX

 

I checked the operation in debug mode and could see that it is sending UDP with Wireshark.

However, when I unchecked “Set breakpoint at:main” in the debug properties and checked without breakpoints, no UDP was sent.

The version of STM32CudeIDE is 1.18.0, X-CUBE-AZRTOS-H7 version is 3.3.0.

How can I send UDP in debug mode without breakpoints or send UDP in RUN mode?

If anyone has a solution, please let me know.

 

STM32H755ZITX_FLASH.ld could not be uploaded, but the following memory is allocated.

  .tcp_sec (NOLOAD) : 
  {
    . = ABSOLUTE(0x24030000);
    *(.RxDecripSection)

    . = ABSOLUTE(0x24030080);
    *(.TxDecripSection)
    
    . = ABSOLUTE(0x24030200);
    *(.NetXPoolSection)
	
  } >RAM_D1 AT> FLASH

 

1 REPLY 1

@Hey0256 wrote:

when I unchecked “Set breakpoint at:main” in the debug properties and checked without breakpoints, no UDP was sent.


Sounds like there's something you need to wait for at the start of main...

 

https://community.st.com/t5/stm32-mcus-embedded-software/stm32f767-lwip-tcp-client/m-p/777886