A
A
Alexey Lashko2021-01-13 17:31:12
Microcontrollers
Alexey Lashko, 2021-01-13 17:31:12

Stm32_H743Z2_LWIP_TCP_FreeRTOS - does not ping. Maybe someone worked and knows how to start?

Hello! I have a NUCLEO board - h743z2. Whatever I do, it doesn't ping. At the same time, the board is working, I checked it with other programs (not my own) - it responds. How to make it work. I looked at what I found on the Internet, but my CUBE generates another ethernetif.c. There were from the cube version 5, and I have the latest. Or when I add a FreeRTOS checkbox to someone else's code - it's not going to. I would like to understand what and how to configure in the cube. What to do to make it finally work.
https://github.com/LASHKOAG/stm32_h743_freertos_lwip

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saalur, 2021-02-05
@Saalur

I did not see instructions in the linker script where to place the sections for eth_dmadesc and the receive buffer.
I have:
.lwip_sec (NOLOAD) : {
. = ABSOLUTE(0x30040000);
*(.RxDecripSection)
. = ABSOLUTE(0x30040060);
*(.TxDecripSection)
. = ABSOLUTE(0x30040200);
*(.RxArraySection)
} >RAM_D2
Insert the specified fragment when in the STM32H743ZITX_FLASH.ld file, at the end, before the line:
/* Remove information from the compiler libraries */
If it still does not start, then rebuild your project based on the example from the cube repository, there is an example for the 743rd stone, I checked, everything flew without problems.
I also recommend smoking this article and the links in it, after it there should be no questions left:
https://community.st.com/s/article/How-to-create-p...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question