Other Parts Discussed in Thread: C2000WARE
Tool/software:
Hello TI Community,
We are testing the reliability of firmware flashing using the DCAN Flash Programmer Utility on the F2800157 LaunchPad and would like to better understand how CAN behaves at a low level during this process.
Setup Overview:
- Target: LaunchPad F2800157
- CAN Interface: PCAN USB Pro (dual-channel)
- Programming Tool: dcan_flash_programmer utility, C2000Ware
- Flash kernel: DCAN flash kernel
- Monitoring: PCAN-View on a second channel (listen-only mode)
Objective:
We want to understand how the bootloader reacts to communication errors like bit flips, missing ACKs, or CRC errors so we can make the update process more reliable for production.
Challenges Encountered:
While monitoring the CAN bus during updates, we observe only application-level payloads (e.g., Rx 2 AA 08, Rx 2 C0 7A, etc.), which match the flash kernel and the application firmware content. However, we are unable to observe:
- CAN ACK bits or error frames
- Retransmission attempts
- Any protocol-level error handling
We Seek Clarification On:
- Are there diagnostic features or tools that offer better visibility into the update process at the protocol level?
- How can we simulate or observe communication errors during updates?
- What is the bootloader’s response to a corrupted CAN frame? Specifically:
- Are checksums or validation methods used?
- Are checksums or validation methods used?
- For production setups in electrically noisy environments, what additional error-handling measures should we consider beyond those implemented in the standard utility?
To avoid issues during production updates, we are looking for ways to improve how errors are handled. Any suggestions would be very helpful.
Thank you in advance for your support.
Best regards,
Taif Shamsi