Page 1 of 1

How to upgrade DF BLE device bootloader to 2.0?

Unread postPosted:Tue Jan 12, 2016 9:05 am
by Leff
How to upgrade DF BLE device bootloader to 2.0?


The neweset version bootloader for BLE products developed by DFRobot can prevent Bootloader Lost for moter interfere, insufficient current supply, etc. It had been tested by our engineers. So let's upgrade the newest firmware.

Note: About how to use the software and more into, you can visit Bluno wiki to get more info about how to use the simple software to update the firmware of Bluno.

Hardware requirement:

Only a micro USB cable and your BLE card(Here, I use Bluno Mega2560 as an example.)
(140.73 KiB) Downloaded 2585 times

STEPS

1. Press the button BOOT
(168.95 KiB) Downloaded 2585 times
2. Hold on the step 1 and plug the usb connecting with your PC. And you will see the two LED, pair&link, are flashing regularly.
(170.01 KiB) Downloaded 2585 times
3. Open the program BlunoFWDownload, and it will recognize the com port automatically, do some settings(115200bps is more stable when upgrading, 25600bps cab be faster but easy get failed.), and select the file "SBLV1.0ToSBL2.0.bin" which is to upgrade the bootloader from V1 to V2. Click the downwawrd arrow to perform the action.
(173.35 KiB) Downloaded 2255 times
(91.66 KiB) Downloaded 2585 times
(60.91 KiB) Downloaded 2585 times
4. After it is finished, you could notice some error alert popping up on your computer ceaselessly. Don't worry, it's ont finish yet.
(65.15 KiB) Downloaded 2585 times
(81.51 KiB) Downloaded 2585 times
5. Close the program, unplug the USB cable. And repeat the step 1,2,3. That is: Hold the button BOOT > Plug the USB cable > Open the software BlunoFWDownloader

6. Select the newest firmware(Download from Github), here, I select 1.96 for Bluno MEGA2560. And upload again, wait for done.

Re: How to upgrade DF BLE device bootloader to 2.0?

Unread postPosted:Wed Jun 01, 2016 6:12 am
by Leff
Check if it is ok?

You can

  • Upload a sketch to Bluno mega2560 to see if it can be performed. Or

    (193.44 KiB) Downloaded 1417 times


  • use the BlunoBasicDemo, that is an APP run on iPhone/Android (supported?), to have a test.

    NOTE: Please use the AT command AT+SETTING=DEFAULT to set all the default setting in case of that you made some modification before. The firmware uploading won't change any settings you've made.

    Upload the sketch below, it will receive what you have sent from your phone and print some info to your phone, what's more, if you
    1. send "1", it will open the LED on card connected with D13
    2. send "0", it will turn it off.

    Code: Select all
    String val = "";
    boolean mark = LOW;

    void setup() {
      Serial.begin(115200);
      pinMode(13, OUTPUT);
    }

    void loop() {
      while (Serial.available()) {
        val += char(Serial.read());
        delay(2);   // Can't be deleted for it needs time to read Serial1
        mark = HIGH;
      }

      if (val.length() == 1) {    //Send command without CR/ LF/ NL
        if (val == "1") {
          digitalWrite(13, HIGH); //turn on the LED on D13
          Serial.println("LED is ON!");

        }
        else if (val == "0") {
          digitalWrite(13, LOW);  //Trun off
          Serial.println("LED is OFF!");
        }
      }

      if (mark == HIGH) {
        Serial.print("Length: ");      Serial.println(val.length());
        Serial.print("Val: ");        Serial.println(val); delay(50);
        Serial.println("Done");       Serial.println();
        Serial.flush();

        val = "";
        mark = LOW;
      }
    }


    (36.75 KiB) Downloaded 1417 times


Re: How to upgrade DF BLE device bootloader to 2.0?

Unread postPosted:Wed Apr 11, 2018 1:23 pm
by beth.coglianese
I have blinking lights and everything but get a download timeout when trying to do this. I have 2 RomeoBLE cards and neither is being recognized by my computers. I have tried several cords, several computers, etc. Please help.

Re: How to upgrade DF BLE device bootloader to 2.0?

Unread postPosted:Thu Apr 19, 2018 7:53 am
by robert.chen
If this method still can't solved your problem , you might need to load the bootloader of cc2540, here is a link of the instruction https://www.dfrobot.com/wiki/index.php/ ... service%3F

Re: How to upgrade DF BLE device bootloader to 2.0?

Unread postPosted:Tue Nov 27, 2018 1:28 pm
by rdana.vermont
How can I do this on Linux?

Re: How to upgrade DF BLE device bootloader to 2.0?

Unread postPosted:Tue Nov 05, 2019 10:52 am
by J4e8a16n
The selected attachments does not exist anymore.

Re: How to upgrade DF BLE device bootloader to 2.0?

Unread postPosted:Wed Nov 06, 2019 1:45 am
by nana.wang
Hi, sorry for inconvenience caused.
Could you please check this page via https://wiki.dfrobot.com/Bluno_SKU_DFR0 ... n.EF.BC.89
It may helps.