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.

CC2540 keyfob with UBL

Other Parts Discussed in Thread: CC2540

Trying to setup an UBL for a cc2540 using BLE1.2.1.  Any success stories?

I tried HostTestRelease on CC2540USB-UBL

- without modification the USB doesn't seem to load. 

- tried to add a hard reset force bootloader value to 1, doesn't trigger the MSD. 

*******

I also tried to follow the USB-MSD pdf guide with the Keyfob project 

By adding the ubl_app.c and the preprocessor definitions and using the cc254x_f256_ubl_msd.xcl.  The Keyfob project that was once working no longer advertises.  

Plugging in the USB also doesn't trigger USB-MSD when I tried (1, non-zero hardreset counter, 2 calling ublAppForceBoot() early) 

Also tried to include CC2540USB files to the project targets and removing CC2540EB.  Doesn't help.

Any pointers? 

Best Regards,
Sam 

  • Answering my own question:

    Giving credit to my colleague, he told me I forgot to install the ubl hex file in. I thought the binary given was a sample binary.  But it was actually the bootloader itself...