• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Low Power RF & Wireless Connectivity » Low Power RF Bluetooth® Low Energy & ANT Forum » Is there a DFU tool available to upload/update firmware binary with USB ?
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

Is there a DFU tool available to upload/update firmware binary with USB ?

This question is answered
Fred Visticot
Posted by Fred Visticot
on Apr 27 2012 10:43 AM
Intellectual670 points

BlueGiga provides a DOS command DFUTool to upload the HEX file on the USB dongle.

Does TI provides the same feature ?

If not how can we do it easily ?

-Fred

dfu
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • TIABO
    Posted by TIABO
    on Apr 30 2012 02:22 AM
    Suggested Answer
    Expert6685 points

    Hi,

    You can use the SmartRF Flash Programmer together with e.g. a CC Debugger to program the flash on your device.

    When you install the SmartRF Flash Programmer, a command line interface version of the utility is also provided. The command line interface executable is found in <install dir>\SmartRF Tools\Flash Programmer\bin\SmartRFProgConsole.exe. Run it without any input arguments to output the list of available commands.

    Br,
    ABO 

    --
    If this post answered your question, thank you for clicking  Verify Answer 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Fred Visticot
    Posted by Fred Visticot
    on Apr 30 2012 03:38 AM
    Intellectual670 points

    Tx a lot for this answer.

    In my case I would like to test the SmartRFProgConsole to upload the keyfob demo on the USB dongle provided with the CC2540 Kit.

    I have inserted the USB Keyfob on my PC and taped the following command:  SmartRFProgConsole S EPV keyfob.hex

    > Answer is: Could not locate any EBs

    I do not see the USB dongle as a Windows peripherical as well :(

    Can you please explain the procedure to upload the keyfob demo hex file on the USB dongle and explain if any USB relative code is required on the keyfob demo program.

    Other additional question:

    Can I reuse this executable for a commercial product to upgrade the firmware ?

    Tx

    -Fred

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • TIABO
    Posted by TIABO
    on Apr 30 2012 04:59 AM
    Expert6685 points

    Hi,

    Fred Visticot
    I have inserted the USB Keyfob on my PC and taped the following command:  SmartRFProgConsole S EPV keyfob.hex

    > Answer is: Could not locate any EBs



    You must connect the CC debugger to your computer. You cannot program the USB dongle simply by connecting it to the computer.

    In general, to program a USB dongle, you need to do the following: 

    1) Connect the CC Debugger to the debug header on the USB dongle.
    2) Connect the USB dongle to the computer (to power the USB dongle)
    3) Connect the CC Debugger to the computer. The CC Debugger LED should be green (if not, try pressing the CC Debugger reset button)
    4) Program the CC Debugger using SmartRF Flash programmer (GUI or CLI version).

    In your command line argument: When you simply specify the S argument, the flash programmer will take the first enumerated debugger it finds. You can specify which debugger you wish to use by writing the CC debugger's EB ID in brackets, e.g. S(1986). The following command should work: SmartRFProgConsole.exe S EPV F=keyfob.exe

    Fred Visticot
    Can you please explain the procedure to upload the keyfob demo hex file on the USB dongle and explain if any USB relative code is required on the keyfob demo program.

    I am no expert on BLE nor the BLE stack, but I doubt that downloading the keyfob hex image onto the USB dongle will work. If you install the BLE stack from the TI web, several hex images are loacted in <install dir>\Accessories\HexFiles\ .

    Br,
    ABO

    Edit: Minor typo fixes

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Fred Visticot
    Posted by Fred Visticot
    on Apr 30 2012 05:30 AM
    Intellectual670 points

    Tx ABO for your clear answser.

    I'm looking for a solution for a commercial product (tag) who need to be "upgradable" by USB. I can not imagine to use CC debugger for this kind of solution :)

    Bluegiga provides this kind of tool and I'm quite surprised that it is not possible with the TI solution...

    I read a document in the TI 1.2 stack: Universal Boot Loader for SOC-8051 by USB-MSD Developer's Guide.pdf

    ...but it is difficult for me to understand how I can use this doc for my solution...

    Regards,

    -Fred

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • TIABO
    Posted by TIABO
    on Apr 30 2012 06:07 AM
    Verified Answer
    Verified by Fred Visticot
    Expert6685 points

    If you wish the ability to upgrade the USB stick simply by connecting it to the USB controller, you will need a bootloader + application solution.

    If the UBL is entered, the USB dongle enumerates as a mass storage device. The USB dongle's application can be updated through drag-and-drop, or by using an application that copies the hex image to the mass storage device.

    I cannot give you a more concrete answer than this right now, but I'll pass the question on about the UBL and hopefully I'll be able to give you a better answer shortly.

    Br,
    ABO 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Fred Visticot
    Posted by Fred Visticot
    on Apr 30 2012 07:02 AM
    Intellectual670 points

    Tx a lot,

    It is exactly what i try to do, upgrade the USB stick by connecting it to the USB controller.

    If you can provide me a sample code or an easy procedure to be applied it would help me a lot !!!

    Regards,

    -Fred

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • TIABO
    Posted by TIABO
    on May 02 2012 02:05 AM
    Expert6685 points

    Hi,

    The steps needed to use the UBL together with the GenericApp example is provided in the Universal Boot Loader for SOC-8051 by USB-MSD Developer's Guide document (included in the BLE stack download). It explains the changes needed for your application to work together with the bootloader.

    I would recommend you try following the steps in the UBL user's guide together with the GenericApp to familiarize yourself with the UBL.

    Br,
    ABO 

    BLE GenericApp UBL
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Fred Visticot
    Posted by Fred Visticot
    on May 03 2012 16:15 PM
    Intellectual670 points

    ABO,

    Tx for the info.

    The TI_BLE_Sample_application_Guide.pdf provides a description of the USB Bootloader app... it is exactly what I need...

    I wil test this ASAP and keep you posted...

    -Fred

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use