I am currently making my first dual-core microcontroller project. I want to use the STM32H745BI. So I bought the STM32H745I-DISCO to develop my project on. One part of the project is making a webinterface to communicate with the machine. So I started with trying to ping my device. I could not get it to work so I copied the code of this from Controllers Tech video.
<main.c>
/* GV from user code 0*/
extern struct netif gnetif;
int main(void)
{
// all init stuff that is generated
while(1)
{
ethernetif_input(&gnetif);
sys_check_timeouts();
}
}
<STM32H745XIHX_FLASH.ld>
SECTIONS
{
// All generated stuff in sections
.lwip_sec (NOLOAD) :
{
. = ABSOLUTE(0x30000000);
*(.RxDecripSection)
. = ABSOLUTE(0x30000080);
*(.TxDecripSection)
. = ABSOLUTE(0x30000200);
*(.RxArraySection)
} >RAM_D2
.ARM.attributes 0 : { *(.ARM.attributes) }
}
Here are the picture's of the IOC file:
Result: Pinging
I am not sure what the problem is. It also could just be a typo but I am not sure. Here is the link to google drive link for the project. I am using STM32CubeIde Version 1.8.0.