SDK3.07(版本支持SPS)无法运行by Secondary bootloader

9 posts / 0 new
Last post
terry
Offline
Last seen:5 years 3 months ago
Joined:2014-12-16 09:49
SDK3.07(版本支持SPS)无法运行by Secondary bootloader

Hi Dialog,
I can run entire SUOTA process successfully by using the "reporter" proj of SDK3.04.
But when using SDK3.07(the version support SPS), with the same operation , the secondary bootloader can run , but the BLE app image can not boot or work.
I have test it , the BLE app . hex can be run successfully from SPI flash alone without secondary bootloader.
And I do need the SPS service for large data transfer, as well as the SUOTA function.
Can you send me a example code proj with this two functions ?Thanks alot. My mail issuperwht@139.com
best regards!

ohtcom
Offline
Last seen:8 months 3 weeks ago
Joined:2014-10-16 05:08
Where is the SDK 3.07?

Where is the SDK 3.07?
I only saw the SDK3.06 in the software web page. And the newest DSPS software's version is 3.150.2.

terry
Offline
Last seen:5 years 3 months ago
Joined:2014-12-16 09:49
I notice somewhere in the

I notice somewhere in the code that DSPS is based on 3.07.

terry
Offline
Last seen:5 years 3 months ago
Joined:2014-12-16 09:49
Today I use the latest DSPS

Today I use the latest DSPS project, and add SPOTAR service to the project to test SUOTA. It all went well until I download a " fw_2.img" to the board with smartsnippets over the air.
The log info show that the connetion is disconnected in the middle of the process.
Does anybody know if SPOTAR service can not be use in DSPS project ? Is it the reason why SDK3.06 does not contain SPS service?

[INFO @15-01-23 18:31:52] Target device has been disconnected. Please try to re-establish link.
[INFO @15-01-23 18:33:53] Establishing Link with target device...
[INFO @15-01-23 18:33:53] Link with target device has been established.
[INFO @15-01-23 18:33:54] Characteristics discovery started.
[INFO @15-01-23 18:33:54] Characteristics discovery finished.
[INFO @15-01-23 18:34:04] Firmware download started...
[INFO @15-01-23 18:34:14] Target device has been disconnected. Please try to re-establish link.

JE_Dialog
Offline
Last seen:1 day 15 hours ago
Staff
Joined:2013-12-05 14:02
Someone will take a look..

Someone will take a look.. the DSPS is release 3.150.2

DSPS is not in the SDK as we separate the SDK from all the seperate projects so each time we update or add a new project, we dont disrupt the SDK.

BR JE_Dialog

SSong_Dialog
Offline
Last seen:11 months 2 weeks ago
Staff
Joined:2014-11-20 07:01
Terry, we do not suggest you

Terry, we do not suggest you test suota with smartsnippet after slave side have some modification. we have sent you the source code of suota to you mailsuperwht@139.com, then you can check this function in android side, then, both you and us will get more info with android suota. Can you try this first? thanks.

SSong_Dialog
Offline
Last seen:11 months 2 weeks ago
Staff
Joined:2014-11-20 07:01
Terry, we do not suggest you

Terry, we do not suggest you test suota with smartsnippet after slave side have some modification. we have sent you the source code of suota to you mailsuperwht@139.com, then you can check this function in android side, then, both you and us will get more info with android suota. Can you try this first? thanks.

terry
Offline
Last seen:5 years 3 months ago
Joined:2014-12-16 09:49
hi SSong,

hi SSong,
thanks for mail me the source code . I found the SUOTA apk has a problem. It could not find all the BLE devices while scanning, sometimes it could found a device, and sometimes nothing.

SSong_Dialog
Offline
Last seen:11 months 2 weeks ago
Staff
Joined:2014-11-20 07:01
Terry, we do not suggest you

Terry, we do not suggest you test suota with smartsnippet after slave side have some modification. we have sent you the source code of suota to you mailsuperwht@139.com, then you can check this function in android side, then, both you and us will get more info with android suota. Can you try this first? thanks.