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 for TMS320f28035

Other Parts Discussed in Thread: TMS320F28035

Hi all,

I am using TMS320F28035 as my Target MCU. So i want to write Bootloader code for my Target MCU so as to update MCU flash over the air.

But since i am intended to update the flash through CAN channel and my PC application communicates via USB/UART channel.

So i am confused as how to use some MCU as USB to CAN converter which can work as Master MCU between PC application and Target MCU.

PC (Data Source) <-->UART <--->MCU(master) <---> CAN <---> MCU (Target)

So which MCU should be used as master one?

  • Hi Sid,

    Siddharth Sharma1 said:
    PC (Data Source) <-->UART <--->MCU(master) <---> CAN <---> MCU (Target)

    You can either use the above topology or You'll need an external hardware to do the USB->CAN conversion.

    Siddharth Sharma1 said:
    So which MCU should be used as master one?

    You can use TMS320F28035 for conversion as it has only one CAN peripheral.

    Regards,

    Gautam

  • Hi Gautam,

    Thank you for your reply.

    PC (Data Source) <-->UART <--->MCU(master) <---> CAN <---> MCU (Target)

    So according to your reply there are 2 ways of doing:-
    Firstly,using TMS320F28035 both as Target MCU and Master MCU.(Here TMS as Master MCU will convert UART bytes to CAN messages)

    Secondly,using TMS320F28035 as Target MCU and some additional hardware as Master MCU.

    So if i go with first method then can you please guide me to write firmware for Master MCU which does UART --> CAN or any TI guide.
    OR if i go with Second method then tell me some name of hardware which i can purchase to continue my work.

    Regards
    Siddharth