RZ_A2M_BLE_sample

This is a sample program that works on RZ/A2M boards and RZ/A1 boards.

Overview

It is equivalent to the following sample. Please refer to the following description.
BLE_LED

The following samples that operate in the peripheral role also work. Replace the source folder and build.

Requirements

The following targets have been tested and work with these examples:

The sample application can be seen on any BLE scanner on a smartphone. If you don't have a scanner on your phone, please install:

About custom boot loaders

This sample uses custom bootloader revision 5, and you can drag & drop the "xxxx_application.bin" file to write the program. Please see here for the detail.

How to write program

For GR-MANGO

When using DAPLink, please use xxxx.bin as following.

  1. Connect the micro USB type B terminal to the PC using a USB cable.
  2. You can find the MBED directory.
  3. Drag & drop xxxx.bin to the MBED directory.
  4. When writing is completed, press the reset button.

When using custom bootloader, please use xxxx_application.bin as following.

  1. Connect the USB type C terminal to the PC using a USB cable.
  2. Hold down USB0 and press the reset button.
  3. You can find the GR-MANG directory.
  4. Drag & drop xxxx_application.bin to the GR-MANGO directory.
  5. When writing is completed, press the reset button.

Attention!
For the first time only, you need to write a custom bootloader using DAPLink.

For other boards

  1. Connect the USB cable to the PC.
  2. Hold down SW3 (USB0) and press the reset button. (Or turn on the power.)
  3. You can find the MBED directory.
  4. Drag & drop xxxx_application.bin to the MBED directory.
  5. When writing is completed, press the reset button.

Attention!
For the first time only, you need to write a custom bootloader as following.
How to write a custom boot loader

Development environment

Please refer to the following.
https://github.com/d-kato/RZ_A2M_Mbed_samples

How to update ESP32 firmware to "AT version:1.1.3.0"

Please refer to the following.
https://github.com/d-kato/esp32-at-ble-stack

Known issues

It works properly only in the peripheral role. The center role does not work properly with the ESP32 FW problem.