17个帖子/ 0新
最后一篇
Bean
离线
最后一次露面:3 years 7 months ago
加入:2014-07-24 08:51
About the SUOTA

嗨,对话!

我的型材接收器由DA14580组成,外部SPI闪光(GPIO已连接正确),16 MHz晶体(NO 32 KHz晶体)。制作这个:
SmartSippets burn product_header.txt to the Memory offset(HEX) of "Memory Header/NVDS Programmer"":0x1F000.
product_header.txt是:
地址大小(字节)参数值
0x1f000 2签名7052
0x1F002 2 version 1234
0x1F004 4 offset1 00800000
0x1f008 4 offset2 00300100

将FW_1.IMG刻录到SPI闪存程序员,SPI闪存偏移(十六进制)为0x8000。
Buthededudy_bootloader.hex到SPI闪存程序员,SPI闪存偏移(十六进制)为0x0000。

现在我使用Suota-1.1-释放Android APK,找不到蓝牙,也是我的Suota接收器。

如果product_header.txt,fw_1.img和secondary_bootloader.hex是corrext,我的步骤是对的?你能提供细节吗?

Keywords:
Device:
mt_dialog.
离线
最后一次露面:2个月4周前
职员
加入:2015-06-08 11:34
Hi Bean

Hi Bean

我不明白你是如何创建的product_header.txt。

Please follow the instructions below for working with SUOTA.

1) Create the first image: mkimage.exe single fw_1.bin fw_1.h fw_1.img enc

2)创建第二个图像:mkimage.exe单个fw_2.bin fw_2.h fw_2.img eng(您也可以使用第一个图像)

3) Create an image for the whole SPI memory: mkimage.exe multi spi secondary_bootloader.bin fw_1.img 0x8000 fw_1.img 0x13000 0x1F000 multipart.bin

4) Burn it into flash using smart snippets.

For the file fw_1,2.h please rename the file from \dk_apps\src\dialog\include\ ble_580_sw_version.h

Please try this and let us know.

谢谢mt_dialog.

Bean
离线
最后一次露面:3 years 7 months ago
加入:2014-07-24 08:51
嗨,mt_dialog!

嗨,mt_dialog!

在offset#0x00烧入闪存中的mullipart.bin吧?

谢谢你的帮助!

mt_dialog.
离线
最后一次露面:2个月4周前
职员
加入:2015-06-08 11:34
Hi Bean

Hi Bean

Erase the FLASH first and yes, burn the multipart.bin into flash at address 0 and when windows promts you for Bootable select NO.

之后,您应该重置您的设备,它应该开始通告。

谢谢mt_dialog.

Bean
离线
最后一次露面:3 years 7 months ago
加入:2014-07-24 08:51
嗨,mt_dialog!

嗨,mt_dialog!

谢谢!现在我正在成功。

但这些是帮助的一个问题:

我有两个IMG文件,他们的MAC地址不同,80:EA:CA:00:00:01和80:EA:CA:00:00:11:01。

答:一个是80:EA:CA:00:00:01,它用于制作用于型话的多部分。Suota-1.1-Release .Apk发送其Mac为80:EA:00:00:11:01到Suota接收器的文件,

但是,当Suota完成时,Suota接收器的MAC地址为80:EA:CA:00:00:01。这似乎是不正确的!

b是80:EA: CA: 00:11:01用来制造a multipart.bin for SUOTA Receiver. SUOTA-1.1-RELEASE .apk sends the file that its MAC is 80:EA:CA:00:00:01 to the SUOTA Receiver,

但是,当Suota完成时,Suota接收器的MAC地址为80:EA:CA:00:00:01。这似乎没问题!

I want to know that what is the reason for the first case?

Looking forward to your reply!

mt_dialog.
离线
最后一次露面:2个月4周前
职员
加入:2015-06-08 11:34
Hi Bean,

Hi Bean,

您是否从nvds.c文件更改DB地址的值?

请尝试更改设备的其他凭据,如名称,也尝试从BLE_580_SW_VERSION更改DA14580_SW_VERSVERS,让我们知道会发生什么。

谢谢mt_dialog.

Bean
离线
最后一次露面:3 years 7 months ago
加入:2014-07-24 08:51
嗨,mt_dialog!

嗨,mt_dialog!

我使用的文件是为其他文件提供的。我不知道da14580_sw_version是否已更改。

之前,我从SDK3.0.6编译了Reporter_FH,但不支持Suota。

你能告诉我如何创建一个苏达项目吗?如果需要注意细节?

mt_dialog.
离线
最后一次露面:2个月4周前
职员
加入:2015-06-08 11:34
Hi Bean,

Hi Bean,

您可以用作邻近或智能标签参考设计的示例,它们都支持型话能力。智能标记有点敏捷。确保已启用DA14580_Config中的Spota配置文件。另请参阅智能标记参考应用程序DOC以获取更多说明。

谢谢mt_dialog..

Bean
离线
最后一次露面:3 years 7 months ago
加入:2014-07-24 08:51
嗨,mt_dialog!

嗨,mt_dialog!

I can do it! It's very excited! Thank you very much!
但我有另一个问题:
根据智能标签参考文档UM-B-018,我们知道图像(内存)银行仅接受3个值:0,1或2:
1: Use the first bank with start address as indicated in the Product Header.
2:使用产品标题中所示的启动地址使用第二个存储器。
0: Burn the image into the bank that holds the oldest image.

在我的实践中,图像库的值为0或1,相应的字段偏移#1 0x8000。值为2,相应的字段是偏移#2 0x13000。

I don't know if my SUOTA, right? Or wrong?

Bean
离线
最后一次露面:3 years 7 months ago
加入:2014-07-24 08:51
嗨,mt_dialog!

嗨,mt_dialog!

你能帮我解决这个问题吗?

Looking forward to your reply!

mt_dialog.
离线
最后一次露面:2个月4周前
职员
加入:2015-06-08 11:34
Hi Bean

Hi Bean

What do you mean that the values of the image bank from your example is 0 or 1?

智能手机应用程序的选择是:

1)Place the new image in memory bank 1 (memory bank 1 has 0x8000 offset).

2)Place the new image in memory bank 2 (memory bank 2 has 0x13000 offset).

3)将新图像放在最旧的图像的顶部(例如包含最旧图像的银行号码1)。

At the offset 0x00000 is the secondary bootloader located and at the offset 0x1F000 is the product header located.

Within the next week there's going to be a new release application note about SUOTA.

谢谢mt_dialog.

Bean
离线
最后一次露面:3 years 7 months ago
加入:2014-07-24 08:51
嗨,mt_dialog!

嗨,mt_dialog!

The android application that version is v1.1 for SUOTA. When set SUOTA parameters,there is a need parameter that is the Image (memory) bank to set, it has three values: 0 , 1 and 2.

thank you!

mt_dialog.
离线
最后一次露面:2个月4周前
职员
加入:2015-06-08 11:34
Hi Bean

Hi Bean

是的,选择文件后,您希望将其下载到您的设备后,Android应用程序将让您选择将其放置图像的内存库...... 1。memory_bank_1(0x8000), 2. memory_bank_2 (0x13000) or the default choice 0. where the new image will replace the oldest image in the memory located either in memory bank_1 or memory bank_2.

谢谢mt_dialog.

Bean
离线
最后一次露面:3 years 7 months ago
加入:2014-07-24 08:51
嗨,mt_dialog!

嗨,mt_dialog!

我知道你说的话。
In my practice, when setting the parameter for the android application:
set memorybank = 0 or memory bank = 1, the new image will replace the location where is memory bank (0x8000).
设置MemoryBank = 2,新图像将替换内存库(0x13000)的位置。

现在我想知道上面的现象是正确的吗?

mt_dialog.
离线
最后一次露面:2个月4周前
职员
加入:2015-06-08 11:34
Hi Bean,

Hi Bean,

是的,正常,当您下载两个图像(MultiPart.bin)设备(重新启动后)负荷the first image (bank1), when you update the image with a new one (throught suota) it will use the first bank.Then when you update again(throught suota)设备将知道该设备的新图像是最新的下载图像,并将使用新的旧图像替换最旧的图像。实质上,它遵循每个图像已更新。

谢谢mt_dialog.

iqspring
离线
最后一次露面:5年17小时前
加入:2015-07-15 10:36
Hi MT_Dialog,

Hi MT_Dialog,
关于上面的帖子,如果我们在内存库0中有2个不同的图像,内存库中的IMG_1和内存库1中的IMG_2。有没有办法选择存储体以选择适当的IMG_2。
谢谢!

mt_dialog.
离线
最后一次露面:2个月4周前
职员
加入:2015-06-08 11:34
嗨Iqspring,

嗨Iqspring,

您可以看一下Exedute_Bootloader代码并修改它以便设置适当的条件以加载所需的图像文件。

谢谢mt_dialog.