STM8L151G6 (32kb) [ex: FROG and Draco demoboard]
STM32L151RBT6 (32kb max over 128kb available) [ex: Pangolin demoboard]
STM32F103RBT6 (32kb max over 128kb available) [ex: Pangolin demoboard]
- any microcontroller board with usart connected to any rs232-bluetooth module.
[discovery kits, eval boards, frog, draco, pangolin boards]
- SPP Bluetooth HW module configured with "FROGxxxxx" name, and 115200,8,E,1 speed (the module should NOT be tied to the MCU reset signal)
Use the generic AT commands when the module is not paired to configure the speed, bit parity and name of the bluetooth module. It is suggested to use the MCU unique serial number so that multiple boards can coexist in the same area.
It is recommended for battery operated system that the MCU controls the bluetooth module power.
The flash S19 file is usually generated by the linker (project option, output Motorola format).
Copy this file to the phone internal's download directory.
With this tool a demoboard can be reflashed by email wirelessly and without PC/Laptops in minutes.
Bootloader does not use any of the 32kb user flash space, contrary to IAP (In Application Programming).
Even if the flashing is corrupted/interrupted, bootloader is always accessible.
We also suggest Teraterm-like application for user terminal operations.
Bonus Feature for developers:
Plot and Datalog values in user mode with this app:
In user mode, send by USART text ASCII strings with the following formatting style example:
(# sec):, 120, 201, LPS (PRaw_mb PQuad PFilt_mb C):, 1556.35, 1556.35, 1556.35, 27.49, ADS (Gain ADC12b Averaged):, 4, -3651, 4248
The text line should end with the return code 0x0A (next text line) separator
LPS is the main label, values in () are the physical units for the following data values
Send these information by Bluetooth from the MCU user code regularly (eg. 1 sec).
Click on the [START] button, and when the graph legend disappear, click on [Sel Plot], which will show a list of the decoded values and names. Up to 8 curves can be plotted on the screen which looks like an oscilloscope's.
You will also be able to add some of the phone sensors to it.
All the Bluetooth incoming string data once the [START] button is clicked will be datalogged as FROGxxxx.txt in the phone download folder.