3717 views|16 replies

479

Posts

0

Resources
The OP
 

【Qinheng RISC-V core CH582】Upgrade program via Bluetooth [Copy link]

 
 

First download the program CH582\EVT\EXAM\BLE\BackupUpgrade_OTA to the development board

This post is from Domestic Chip Exchange

Latest reply

Broadcast is a one-way broadcast that does not establish a connection, but at least proves that communication in one direction is successful.   Details Published on 2022-4-13 10:34
Personal signaturehttp://www.jslaser.com高性价比激光测距传感器
 
 

479

Posts

0

Resources
2
 

Then send the CH583 upgrade tool to the phone, with an additional suffix 1. Select the installer to open. The installation process requires reading the camera information, which I refuse.

It prompted me to get the address information again, and I refused again. Then, the Bluetooth program prompted that it could not run, but it did not exit.

But when I scanned the Bluetooth device, it prompted me to turn on the location information.

Do you collect my location information? I hate this. Just agree to it, otherwise I can't use it.

This post is from Domestic Chip Exchange

Comments

To use Bluetooth, you must obtain positioning information, which is a necessary permission to use the Bluetooth function.  Details Published on 2022-3-20 19:42
Personal signaturehttp://www.jslaser.com高性价比激光测距传感器
 
 
 

479

Posts

0

Resources
3
 

After authorizing the storage and location information, I opened the upgrade tool and it automatically started scanning for Bluetooth devices. However, no Bluetooth devices were found in the end. Is it because my development board program is wrong?

This post is from Domestic Chip Exchange
Personal signaturehttp://www.jslaser.com高性价比激光测距传感器
 
 
 

6548

Posts

0

Resources
4
 

Select the installer to open. The installation process requires reading camera information. Reject.

Prompt to obtain address information, but refuse

Is this the problem?

This post is from Domestic Chip Exchange

Comments

No, I authorized them later, and now I can search for a smart watch, but it cannot connect to it. It is definitely not the Bluetooth of the development board.   Details Published on 2022-3-20 16:34
 
 
 

479

Posts

0

Resources
5
 
Jacktang posted on 2022-3-20 16:28 Select the installer to open. The installation process requires reading camera information. I refuse. Then it prompts to obtain address information. I refuse again. Is this the problem?

No, I authorized them later, and now I can search for a smart watch, but it cannot connect to it. It is definitely not the Bluetooth of the development board.

This post is from Domestic Chip Exchange

Comments

The Bluetooth of the development board has a name: // GAP GATT Attributes static uint8_t attDeviceName[GAP_DEVICE_NAME_LEN] = "LuglBLE"; static uint8_t scanRspData[] = { // complete name   Details Published on 2022-3-20 19:45
Personal signaturehttp://www.jslaser.com高性价比激光测距传感器
 
 
 

6742

Posts

2

Resources
6
 

For Android phones, Bluetooth authorization requires authorization of location information. I have checked this issue before.

This post is from Domestic Chip Exchange
 
 
 

6818

Posts

11

Resources
7
 
kangkls posted on 2022-3-20 15:20 Then send the CH583 upgrade tool to the phone, there is an additional suffix 1, select the installation program to open, the installation process needs to read the camera information, I refused, ...

To use Bluetooth, you must obtain positioning information, which is a necessary permission to use the Bluetooth function.

This post is from Domestic Chip Exchange
 
 
 

6818

Posts

11

Resources
8
 
kangkls posted on 2022-3-20 16:34 No, I authorized it later. Now I can search for a smart watch, but it cannot be connected. It is definitely not the Bluetooth of the development board.

The Bluetooth of the development board has a name:

// GAP GATT Attributes
static uint8_t attDeviceName[GAP_DEVICE_NAME_LEN] = "LuglBLE";

static uint8_t scanRspData[] = {
// complete name
0x8, // length of this data
GAP_ADTYPE_LOCAL_NAME_COMPLETE,
'L',
'u',
'g',
'l',
'B',
'L',
'E',

You can change these two places to your own name. Then you won't go wrong.

This post is from Domestic Chip Exchange

Comments

The name is in the program, and the name is correct, but it is not linked to the upgraded APP. I don’t know why [attachimg]593898[/attachimg]   Details Published on 2022-3-20 20:10
 
 
 

479

Posts

0

Resources
9
 
lugl4313820 posted on 2022-3-20 19:45 The Bluetooth of the development board has a name: // GAP GATT Attributes static uint8_t attDeviceName[GAP_DEVICE_NAME_LEN ...

There is a name in the program, and the name is correct, but it is not linked to the upgraded APP. I don’t know why

This post is from Domestic Chip Exchange
Personal signaturehttp://www.jslaser.com高性价比激光测距传感器
 
 
 

479

Posts

0

Resources
10
 

This post is from Domestic Chip Exchange
Personal signaturehttp://www.jslaser.com高性价比激光测距传感器
 
 
 

6818

Posts

11

Resources
11
 

Did I burn the wrong firmware? Generally speaking, this shouldn't cause any problems. I haven't learned that lesson yet.

This post is from Domestic Chip Exchange

Comments

Maybe, the documentation didn't say which one can be used, so I tried them one by one. I burned the serial port to the program, and I thought there was a problem. It turned out to be a long process, 137 seconds, and finally the serial port download was successful. [attachimg]593960[/attachimg]   Details Published on 2022-3-21 09:28
 
 
 

479

Posts

0

Resources
12
 
lugl4313820 posted on 2022-3-20 21:09 Did you burn the wrong firmware? Generally speaking, there will be no problem. I haven't learned that lesson yet.

It's possible. The information didn't say which one can be used. I tried them one by one. I burned the serial port to the program. I thought there was a problem. It turned out to be a long process. After 137 seconds, the serial port download was finally successful.

This post is from Domestic Chip Exchange
Personal signaturehttp://www.jslaser.com高性价比激光测距传感器
 
 
 

9702

Posts

24

Resources
13
 

Download a normal peripheral program first to see if the phone can connect

This post is from Domestic Chip Exchange

Comments

Thank you, I'm quite busy these days. I'll download a broadcast to try first [attachimg]599661[/attachimg]   Details Published on 2022-4-13 09:21
 
 
 

479

Posts

0

Resources
14
 
littleshrimp posted on 2022-4-11 15:05 First download a normal peripheral program to see if the phone can connect to it

Thanks, I'm busy these days.

I'll download a broadcast and try it out

This post is from Domestic Chip Exchange
Personal signaturehttp://www.jslaser.com高性价比激光测距传感器
 
 
 

479

Posts

0

Resources
15
 

This is also considered a successful link.

This post is from Domestic Chip Exchange

Comments

Broadcast is a one-way broadcast that does not establish a connection, but at least proves that communication in one direction is successful.  Details Published on 2022-4-13 10:34
Personal signaturehttp://www.jslaser.com高性价比激光测距传感器
 
 
 

479

Posts

0

Resources
16
 

But burn EVT\EXAM\BLE\BackupUpgrade_OTA\BackupUpgrade_OTA.hex

After that, the mobile phone Bluetooth still cannot search for Bluetooth devices

This post is from Domestic Chip Exchange
Personal signaturehttp://www.jslaser.com高性价比激光测距传感器
 
 
 

9702

Posts

24

Resources
17
 
kangkls posted on 2022-4-13 09:36 This can be considered a successful link, right?

Broadcast is a one-way broadcast that does not establish a connection, but at least proves that communication in one direction is successful.

This post is from Domestic Chip Exchange
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Featured Posts
MATLAB APP Designer serial port debugging tool writing

This post was last edited by lb8820265 on 2019-5-9 23:11 Previously, we introduced two ways to use VC6 to make serial ...

About the original picture and packaging

Does anyone have the original picture and package of STM32F103 series?

How to use CPLD to collect asynchronous signals

Scenario: Use CPLD to decode a serial data channel. The data has no accompanying clock and has a fixed frequency but a d ...

Measuring poles and zeros from a Bode plot

This post was last edited by Jack315 on 2021-1-25 00:52 The transfer function of a single zero is: 522846 The Bode plot ...

Encoder counting principle and motor speed measurement principle - multi-picture analysis

This post was last edited by DDZZ669 on 2021-2-14 23:30 Encoder is a sensor used to measure mechanical rotation or displ ...

35 "Ten Thousand Miles" Raspberry Pi Car——ROS Learning (Realizing Hello World)

The best way to learn ROS is to use it. The ROS official website has a Chinese version of the tutorial . After install ...

36 "Ten Thousand Miles" Raspberry Pi Car——ROS Learning (VSCode to Implement Hello World)

It is very convenient to run ROS projects in VSCode. In this section, we use ROS to write and run the "Hello world" pro ...

[The strongest open source] Hand-rubbed 120W switching power supply

I recently took the time to make a switching power supply 645265 645262 645263 645264 645261 645260

Record a blue screen pit

I mentioned a while ago that my company's computers would occasionally blue screen. Now I think about it, the blue scree ...

ESP8266 01+DHT11 acquisition

Could anyone give me some advice? When I collect DHT11 data through one of GPIO 0 and 2, the 8266 01 keeps restarting. O ...

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list