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.

CAN Bootloader on F2806x

Other Parts Discussed in Thread: CONTROLSUITE

According to the Boot ROM section of TMS320x2806x Reference manual (spruh18c.pdf), there is an eCAN bootloader which listens on the CAN bus for messages to ID 0x01:

"The eCAN bootloader asynchronously transfers code from eCAN-A to internal memory. The host can be
any CAN node. The communication is first done with 11-bit standard identifiers (with a MSGID of 0x1)
using two bytes per data frame."

Is there a way to change the CAN message ID? Or is this hard-coded into the bootloader ROM?

I'd like to program a specific micro on a CAN bus with many micros connected. To differentiate between them, they need to have separate IDs.

Thanks!

  • Zachery,

    it is hardcoded in ROM, we release ROM source code for 2806x in control suite (C:\ti\controlSUITE\libs\utilities\boot_rom\2806x\2806x_boot_rom_v1_1\source), take a look at CAN_Boot.c.

    Not sure if completely solves the use case but you could probably let the device boot to flash and configure CAN as you need in the application and call back the loaders in ROM. If you take a look at CAN_Boot.c, it will be more clear to you.

    Please let us know if you have any more questions.

    Best Regards

    Santosh

  • Ahh, yes. I was wondering if the source was anywhere. Thank you for the reference!

    To do what I'm trying to achieve without building it into the Flash firmware, I use the CAN bootloader to write a small kernel into RAM. That kernel can then change the CAN settings, and jump back to the CAN bootloader functions in ROM. The RAM kernel can read a device-specific MSGID from OTP or Flash or an EEPROM.

    Thanks!

  • yep, that would work.

    using OTP the ROM loaders could have provided an option for a configurable MSGID for CAN boot. I'll take this as a suggestion for improvement back to team in new devices.

    Best Regards

    Santosh