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.

SmartRF05 OAD

Other Parts Discussed in Thread: CC2540

I am attempting to OAD my image b file to some of our prototype devices.

I was given a SmartRF05 board which came pre-loaded with the image on it. 

However when I was going to load image a onto our prototype I managed to have the smartrf board selected in SmartRF Flash programmer.

I have no exposure to these devices so I am not sure how to reload the image back onto the device.

I have been trying to follow the "BLE developers guide for Over-the-air-download" but am a little lost.

I should have access to all of the files which I will need (already compiled). I have no been able to get past step 4 which involves loading a .bin file via serial using SerialBootTool as I get a timeout. Reading onwards it sounds like I will need two SmartRF05 devices? I am hoping this is not the case as I do not have two.

I simply need help getting my image b back onto my SmartRF device so I can use the joystick to send the image to my CC2540s.

  • Hey Ryan,

    I'm having some trouble understanding exactly what you mean. It may be a good idea to save your compiled files elsewhere so they're not overwritten by accident.

    From what I've gathered, you may want to start from the top and make sure the BIM has been loaded on the evaluation board. It sounds like the only reason two SmartRF05 devices are required are to perform the OAD. In this case, you only need one eval board to load the SBL Tool to. Then, you can OAD to your prototype boards from that.
  • Hey Ammar,

    Let me see if I can explain better. We have a prototype with a CC2540 chip on it. I have no written the software or worked with these chips at all. However, I was asked to program them given the image files. We are programming them using the Image A, Image B approach (not sure if there is another way but that is what I was given).

    I can flash Image A onto the prototypes fine and then I need to perform an over air update using Image B.

    We were given a SmartRF05 board which had a program installed on it that would allow me to scan for other devices in the area and select one. Selecting one would then perform the update using Image B which was already put on the device for me.

    When I was attempting to flash one of our board with Image A I accidentally selected the SmartRF board and now I no longer have the application that allows me to scan for devices and perform the update.

    Do you know what this program would of been? I see "OAD Manager" mentioned throughout some forums but am not sure where the application exists or how to put it on the SmartRF board.

    Once I get that on the SmartRF board it is my understanding I will need to load my Image B file onto the board and I can continue flashing our prototypes as I was doing previously.


    -----

    In response to your comment:
    That's great that we will only need this one board. I have tried using the SBL tool to put the BIN (you wrote bim so let me know if this is incorrect) file back onto the device. I see my board is connected to COM5 and when I try and load the image I get an error message stating that there was a timeout trying to perform the handshake. I am wondering if this is because I do not have the OAD manager application on the board right now.

    As you can probably tell I don't have a lot of experience or idea as to what I am doing. So any information you have that might lead me in the correct direction would be great!

    Thanks for you time - it is SERIOUSLY appreciated.

    Ryan
  • Hey Ryan,

    I'm sorry for the confusion. When I mentioned BIM, I was referring to the target device (your prototype boards). You'll need to verify that the BIM was flashed on those boards prior to the OAD. If you load image B onto the prototypes with the BIM not installed, you will likely not be able to boot into the new image once the OAD is performed.

    Here are some links that shed light on the SBL (and OAD manager). The OAD Manager is a UART (or SPI) based project that is flashed onto your Eval board. This project uses the serial port on your computer to interface with our SBL tool. The SBL Tool is what you've used to load image B to perform the OAD.

    www.ti.com.cn/.../swru297c.pdf (See Section 17)
    processors.wiki.ti.com/.../SerialBootLoader (SBL info)

    The OAD Manager software should be here: C:\Texas Instruments\BLE-CC254x1.3.1\Projects\ble\OADManager\CC2541DB\OADManager.eww
  • Thank you Ammar!

    I did not end up fixing my board but I think I understand how to. I saw in one of the documents you sent reference to the SensorTag iOS app which allows me to do the OAD given my bin file. This is actually much easier for me than using the SmartRF board so I will just use the app for now.

    You're a life saver!