Other Parts Discussed in Thread: TMS570LC4357, HALCOGEN
My design has worked using simple code to link two boards and send packets at MAC level between each other.
I've been given code based on lwIP which worked on a TMS570LC4357 development board, reporting incoming data to an SCI port. I've changed the HALCoGen settings to get the 3137 part drivers.
Connecting to a laptop running Wireshark and Packet Sender, the TMS Good Frames & Broadcast frames counters increment as expected (0xfcf78200, 204), with equal counts unless I enable the promiscuous mode, when the "good" shows many more than the broadcast. OK.
I can get no operation of the interrupt system to process this data. The RXINTSTATRAW register is always zero, and although the TXnHDP and RXnHDP look sensible, they never change, and the adresses pointed to (plus a good many subsequent locations) appear to contain garbage. Every other register seems to have sensible settings, although I can only get 0 in C0RXSTAT (but that shouldn't matter). I have added an SCI output to show if the interrupt has been triggered (not).
Can you help, please? Thanks