[Telink's new generation low power consumption, high performance, multi-protocol wireless kit B91 review] Unboxing + lighting
[Copy link]
This post was last edited by damiaa on 2022-9-4 13:57
[Telink's new generation low power consumption, high performance, multi-protocol wireless kit B91 review] Unboxing + lighting
I received the board several days ago, but I haven't used it yet, so it's hard to post. I tried it today. The problem is solved. So I report to you.
1. Last post [Telink's new generation of low-power, high-performance, multi-protocol wireless kit B91 review] Install the software
I installed a compiled telink_v323_rds_official_windows and tried compiling it. No problem.
2. This time I downloaded some manuals and read them.
3. Download and install the DBT burning software
4, here is an introduction. This development board does not come with a debugger, only a universal burner EVK. It has four lights.
So I can't use the previous telink_v323_rds_official_windows for debugging. I can only use dbt for burning.
And I found that I could only use Connect the target board with the "Burning EVK" via Swire (single wire) interface.
Single-wire programming. Because I did not connect the power supply to the right place, the activation failed. The download also showed swire err.
So the wiring diagram is as follows:
EVK Target Board
3V3 B51 12-pin VBAT This leg is 3.3V
SWS of SWM J56
GND GND
In addition, I upgraded the firmware to 3.5 (I thought it was a firmware problem that caused the download to fail).
A. Open the dbt software, and the first item in the help is upgrade. Click it to enter.
B, then select firmware upgrade. The firmware address is in the D:\telink\BDT\config\fw directory. The latest file is 3.5
5. After the wiring is completed, go to the next example package telink_b91m_driver_sdk and unzip it and import it into telink_v323_rds_official_windows. Select the example GPIO_Demo to compile
Modify the app.c file in D:\telink\telink_b91m_driver_sdk\demo\vendor\GPIO_Demo as follows:
void main_loop (void)
{
delay_ms(200);
//gpio_toggle(GPIO_PA2); Modify as follows:
gpio_toggle(GPIO_PB4);
delay_ms(200);
}
Compile.
6. Download with dbt
7. Make a jumper to jump the leg of the LED. If PB4 is selected here, the light will flash after restarting. The board is jumpered by default.
7. I found that the activation failed again when I burned the device again. The download also showed a swire err. I just pressed the reset button on the board and then clicked activate and it was OK.
Thank you, I will report back next time.
|