cancel
Showing results for 
Search instead for 
Did you mean: 

Netxduo Issue after Soft Reset

Umair
Associate

Hi,
I'm currently working on STM32H733 MCU powered by Azure RTOS (Threadx + NetxDuo), My application is divided into two parts: custom bootloader[For Firmware Updates] and application[Business logic Implementation]. I was able to update the application from the bootloader. After a successful download of the application, the bootloader Soft Resets the device. The device boots into the bootloader again and checks if there is a valid application, then jumps to the application.

Everything was working as expected until I updated ld file(to move .tcp_sec and .nx_data sections to start of D1_RAM) from

  .tcp_sec (NOLOAD) :
  {
    . = ABSOLUTE(0x24036C00);
    *(.RxDescripSection)
    . = ABSOLUTE(0x24036C60);
    *(.TxDescripSection)
  } >RAM_D1 AT> FLASH

  .nx_data 0x24000100 (NOLOAD):
  {
    . = ABSOLUTE(0x24036D00);
    *(.NetXPoolSection)
  } >RAM_D1 AT >FLASH

to ...

  .tcp_sec (NOLOAD) :
  {
    . = ABSOLUTE(0x24000000);
    *(.RxDescripSection)
    . = ABSOLUTE(0x24000060);
    *(.TxDescripSection)
  } >RAM_D1 AT> FLASH

  .nx_data 0x24000100 (NOLOAD):
  {
    . = ABSOLUTE(0x24000100);
    *(.NetXPoolSection)
  } >RAM_D1 AT >FLASH

 

Now, the Soft Reset isn't working as it should. After an update from the bootloader, the device boots into bootloader and jumps to application. After Soft Reset application got started(only the threadx part as I can see it from LEDs behaviour) but not the netxduo(https doesn't respond). Another other strange behaviour is that if I give device a POR, everything in application works fine and https server also respond.

Thank You!

 

0 REPLIES 0