From shallow to deep, Bluetooth 4.0/BLE protocol stack development strategy (6)

    From shallow to deep, Bluetooth 4.0/BLE protocol stack development strategy (6)

    This series of tutorials will be combined with TI's CC254x SoC series to explain the development process of Bluetooth 4.0 from the construction of the environment to the development of the Bluetooth 4.0 protocol stack. The tutorial is divided into six parts, this article is the sixth part:

    The sixth part of the knowledge points:

    Click to browse the next page Section 26 UBL-USB Upgrade

    Click to browse the next page Section 27 MT-iBeacon Base Station Using iPhone Air Upgrade

    Click to browse the next page Section 28 MT-iBeacon Base Station Implements OAD Air Upgrade on the PC Side

    Click to browse the next page Section 29 MT-iBeacon Base Station About the Use of LightBlue Software

    Click to browse the next page Section 30 How to use the pass-through function of MT-USBDongle

    For an introduction to TI's CC254x chip, you can click on the link below to view:

    Mainstream Bluetooth BLE control chip detailed (1): TI CC2540

    Recommended in the same series:

    From shallow to deep, Bluetooth 4.0/BLE protocol stack development strategy (1)

    From shallow to deep, Bluetooth 4.0/BLE protocol stack development strategy (2)

    From shallow to deep, Bluetooth 4.0/BLE protocol stack development strategy (3)

    From shallow to deep, Bluetooth 4.0/BLE protocol stack development strategy (4)

    From shallow to deep, Bluetooth 4.0/BLE protocol stack development strategy (5)

    For the download of the tool for this article, you can go to the following address:

    Zhu Zhaoyu ForARM

    Section 26 UBL-USB Upgrade

    The UBL upgrade is upgraded using the USB function, and its configuration is the same.

    Configuring UBL

    (1) Open IAR and open the project under BLE-CC254x-1.4.0 C:\Texas Instruments\BLE-CC254x-1.4.0\Projects\ble\uTIl\UBL\soc_8051\usb_msd\iar \ubl.eww, select CC2540-Nano.

    Deep into the depths, Bluetooth 4.0 / BLE protocol stack development strategy (6)

    (2) A little change here, because the UBL provided by TI is using P2.0 pull-up D+, and our development board is pulled up by the transistor using P0.4, so we need to modify the pull-up pin here.

    Deep into the depths, Bluetooth 4.0 / BLE protocol stack development strategy (6)

    (3) Compile and download, connect the development board to the computer with MiniUSB, you can see that a U disk is inserted. One thing to note here is that on the Win8 system, it seems that there is a problem with the U disk. It needs Win7 support.

    Configuring upgrade firmware

    The configuration of the upgrade firmware is almost the same as that of the SBL. There are mainly two different places that need to be changed.

    (1) Add a macro

    OAD_KEEP_NV_PAGES

    FEATURE_UBL_MSD

    Deep into the depths, Bluetooth 4.0 / BLE protocol stack development strategy (6)

    (2) Configure Config

    Deep into the depths, Bluetooth 4.0 / BLE protocol stack development strategy (6)

    (3) Build option

    Deep into the depths, Bluetooth 4.0 / BLE protocol stack development strategy (6)

    (4) can be seen after compilation

    Deep into the depths, Bluetooth 4.0 / BLE protocol stack development strategy (6)

    (5) Firmware upgrade

    The upgrade method is very simple, just copy the generated Bin file to the U disk.

    This style is a wet and dry Drum Vacuum Cleaner. Just as its name implies,it can use not only in wet place,but also in dry place. So it will let your cleaning more easily. This Vacuum Cleaner is also having big collection bin capacity,it will let your cleaning time longer. It also has free sliding wheels that will let your cleaning more relaxed. It has strong suction power,too. Please use it securely. Now please see some pictures blow.

    2008x

    2013x

    Wet & Dry Drum Vacuum Cleaner

    Wet & Dry Drum Vacuum Cleaner, Drum Vacuum Cleaner

    Ningbo ChinaClean Household Appliances Manufacture Co., Ltd. , https://www.chinaclean-elec.com

    Previous Post: Google Optical deploys telecom operations with internet thinking
    Next Post: Several working modes of stage work lighting system
    Home
    Recent Posts
    • 18000 盏 LED lights up Wilmington lighting upgr…
    • Four mainstream video image processing technolog…
    • The light guide plate is the development spindle…
    • LED filament bulbs set off "nostalgic style…
    • Main trends and innovations in the body electron…
    • LED lighting prospects can drive IC players to a…
    • Diodes Introduces Automotive Grade Static and Su…
    • Voice recognition road is bumpy, speed, private …
    • TV common sense: color TV use six taboos
    • European-lead LED products should meet the requi…
    • Mercedes-Benz develops new LED headlights with a…
    • Fengguang Legend Closed Investigation: Capital C…
    • More than 130 roads in Meicheng will be equipped…
    • Anti-scratch and wear-resistant protection
    • Canada Launches World's First Clean Coal Pow…
    • The tablet starts, 4G takes off, and the "c…
    • Hongli Optoelectronics' net profit pre-incre…
    • Speakers, even the wide variety of speakers
    • Jufei Optoelectronics raised 600 million against…
    • How to choose the right LED light source?