eclipse-threadx / netxduo

Eclipse ThreadX - NetXDuo is an advanced, industrial-grade TCP/IP network stack designed specifically for deeply embedded real-time and IoT applications
https://github.com/eclipse-threadx/rtos-docs/blob/main/rtos-docs/netx-duo/index.md
MIT License
247 stars 140 forks source link

External SDRAM network error #55

Closed cshsoft closed 3 years ago

cshsoft commented 3 years ago

Hello everyone,

I have a question to ask, and it is wrong to transplant the netxduo to SDRAM, but it is ok to compile the code to the STM32H7 internal sram.

TiejunMS commented 3 years ago

Thanks for reaching out! Are you trying to move packet pool to SDRAM or execute NetX Duo from SDRAM?

cshsoft commented 3 years ago

Yes, because the built-in Flash capacity of some chips is not enough, we need to run most of the code in SDRAM. At present, I allocate the data pool in internal SRAM, but it is better to put all the code in external SDRAM, I wonder if there is a suitable solution

TiejunMS commented 3 years ago

It looks like the issue is specific to MPU configure for ST. Did you try to contact ST? Here is the ST support website,

https://www.st.com/content/st_com/en/contact-us.html

ST Online Support Center Online support requests can be submitted https://my.st.com/ols. • 1 (844) STMICRO for toll-free calls inside USA • 1 (972) 466-7775 for calls outside USA

cshsoft commented 3 years ago

It looks like the issue is specific to MPU configure for ST. Did you try to contact ST? Here is the ST support website,

https://www.st.com/content/st_com/en/contact-us.html

ST Online Support Center Online support requests can be submitted https://my.st.com/ols. • 1 (844) STMICRO for toll-free calls inside USA • 1 (972) 466-7775 for calls outside USA

I may have found some problems with network byte order and SDRAM's default storage sequence

TiejunMS commented 3 years ago

Looks like you have found a solution. Closing now.