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.

Bluetooth connectivity reference design with Hercules



Hello,

I want to put Bluetooth module between the MCU and PC/smart phone to enable two way communication, preferably being able to program the MCU FLASH directly. 

Is there a reference design around? Is there a better way to achieve remote control capability?

Thanks

  • Ning,

    I would assume that you can connect MCU to the Bluetooth module via uart (SCI) port. You can also use TI uart bootloader (some modification may be needed) for taking data from Bluetooth link and program MCU flash.

    Thanks and regards,

    Zhaohong

  • Zhaohong,

    I was told that safety MCU cannot be boot from SCI directly out of factory, i.e., I have to first program the flash through JTAG to burn the modified bootstrap loader then reboot the SOC. 

    In that case, I am not sure if it will do anything good to me.

    Ultimately, here is what I'd like to achieve

    1) MCU runs on-chip code on regular basis.

    2) Occasionally, new firmware will be sent to MCU through bluetooth and the MCU re-program the flash on the fly.

    So, please advice the best approach.

    Thanks

  • Ning,

    You have to program the bootloader and application to the fresh device via JTAG. Then you can update your firmware on the fly usig the boot lader.

    Thanks and regards,

    Zhaohong

  • Zhaohong,

    Imagine there 20 identical TMS570 on one board (for parallel testing purposes) and I need to update the firmware for all of them. What is the best approach?

    Here is my approach

    1) hook up 20 MCU to a master MCU via I2C or CAN.

    2) the master MCU connect to bluetooth module via SCI/UART

    3) firmware with wrapper sent to master MCU via bluetooth. 

    4) Master MCU extracts the actual firmware and sends via I2C or CAN to 20 slave MCUs

    I want to avoid the time consuming situation where I need to program each MCU at time zero via JTAG (require JTAG interface at each MCU, which consume footprint).

    Any better solution?

    Thanks

  • Ning,

    You have to do initial programming via JTAG. There is no other choice. You may consider JTAG daisy chaining. The following forum thread may provide you with useful information.

    http://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/306107.aspx

    Thanks and regards,

    Zhaohong