Part Number:AM5718
Tool/software: TI-RTOS
Dear expert,
I use idkAM571x to run a TCP server application based on TI_RTOS and NDK. (ndk_2_26_00_08)
When I connected a PC and idkAM571x with a cable, the PC can send and receive packet correctly.
But when PC continuously sent big data packet(about 1MB) to EVM, (when the EVM received one packet, it sent one back to PC) exception occurred to the EVM.
Image may be NSFW.
Clik here to view.
I checked the the regsiters of pc and lr in the map file, the pc is in function nimu_rx_pkt_cb() of the source file(ti\transport\ndk\nimu\src\v4\cpsw_nimu_eth.c) and lr is in function EMAC_rxPacket of the source file(ti\drv\emac\src\v4\emac_drv_v4.c). I also found than the function nimu_rx_pkt_cb() is redefined in ti\transport\ndk\nimu\src\v5\nimu_eth.c but not used.
I have referenced to the NDK user's guide spru523 and it says the casue of PBM_enq:Invalid Packet may be memory corruption.I have checked my code and did not find the root cause.
My application do nothing more than TCP server. The cache and mmu configuration is the same as example project. How can I solve the problem?
Best regards.