Hello,
The CPDMA (on DM814x) halts with error code "SOP buffer length not greater than offset" (0x6) in the RX_HOST_ERR_ CODE field in CPDMA's DMASTATUS register. This occurs on the first packet received, on CPDMA channel 0x7. The Channel Head Descriptor Pointer (RX7_HDP) points to a valid CPPI RX descriptor. The descriptor fields hold correct values as far as I can see and the buffer length field (set to 1500 bytes decimal) is certainly greater then the buffer offset register RX_BUFFER_OFFSET which is set to 0. The error occurs before any data is written to the packet buffer pointed to by the descriptor. Frames with VLAN priority of 2 and 3 are mapped to CPDMA channel 0x7 by configuring the various PRI_MAP registers, all other traffic goes to channel 0x0. RX on CPDMA channel 0x0 works fine up to the moment the first packet is received on channel 0x7, at which point the CPDMA halts with the aforementioned error.
Is "SOP buffer length not greater than offset" set under conditions other than buf_len <= offset on SOP? Thanks.
Kind Regards
--
Delio Brignoli
AudioScience Inc