This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AWR1642: can_sbl can't work because MCAN PED error

Part Number: AWR1642
Other Parts Discussed in Thread: AWR1843

Hello,

lab0012_can_sbl upgrade fail in AWR1642 + PeakCAN-USB FD suit.

MCAN_IR register always show PED error(Protocol Error in data Phase), it look like that MCAN bit timing(PropSeg/Pseg1/Pseg2/Sjw) have problem.

AWR1642's MCAN configure shall be OK because I also used another RPi3 + socketcan, which normal bitrate is 1Mbps and data bitrate is 5Mbps, to send CANFD frames into AWR1642. Receive is correct that CANFD_getDATA() get correct data without any error.

  • Hi,

    We have to check with developer and get back to you by end of the week.

    thank you

    Cesar

  • Hi,

    The "lab0012_can_sbl" is for the AWR1843.

    Have made modification on this code to support for the AWR1642? 

    -Raghu

  • Hi Raghu,

    Yes, some modifications have applied to build pass for AWR1642.

    The PED error have resolved after turn on PeakCAN's CAN FD ISO-mode. now CAN_Metaimage_Flasher.exe is able to transmit CANFD frames into AWR1642.

    But AWR1642 always show two error failures - RPRC Parsing Failure or Authentication check failed randomly, and the received size are always different.

    Debug: Start the image download using XMODEM over UART Or Hit 'Space Bar' to start Image download ove CAN interface
    CCCCCDebug: Total data written = 0x32d00
    Error: RPRC Parsing Failure!!!

    -------------------------------------

    CCCCCCCDebug: Total data written = 0x36bc0
    Error: Authentication check failed!!!

    It look like that transmit too fast to make CANFD frame lost, any idea?