你好,
I had a working system and I was able to upload new firmware to our devices (DA14680) using the SUOTA app (from google play store).
However I installed the APP on a new device (old one is no longer available) and now it seams that I can upload but the new firmware does not appears to be flashed correctly.
在Suota应用程序中,我可以找到我的设备,它连接。在我执行“更新设备”并选择图像后,我会看到以下设置。
SPI选择了
MISO GPIO ==> P0_5
MOSI GPIO ==> P0_6
CS GPIO ==> P0_3
SCK GPIO ==> P0_0
Image bank ==> 0
Block size ==> 240
我不确定这些设置对我的设备(DA14680)是否正确,找不到他们应该的任何地方。
After "SEND TO DEVICE" I get:
启用Spota_serv_status通知
固件CRC:0x82
上传大小:117493字节
Chunk size: 244 bytes
Set SPOTA_MEM_DEV: 0x13000000
Set SPOTA_GPIO_MAP: 0x05060300
Set SPOTA_PATCH_LENGTH: 244
更新程序已开始
Set SPOTA_PATCH_LENGTH: 129
send SUOTA END command
上传完成
Elapsed time: 30.279 seconds
Then a dialog window: Upload completed -> Reboot device? -> OK
重新启动发生但使用旧固件。
Suota应用程序版本3.190.14
Any suggestions? Thanks.
Hi Myken,
Can you please indicate the full version of the devices that you are using? Is it the DA14680-01? Also, in which SDK version are you working? The screen with the SPI configuration is required only by DA1458x devices. For the DA1468x just press Send to device as whatever values are here have no effect. Also, please make sure that the steps described in section 9 Software Upgrade of theUM-B-056: DA1468x Software Developer's Guide遵循了。
谢谢,PM_DIALOG.
你好,
The device we are using is indeed the DA14681_01
作为SDK,我们使用da1468x_da15xxx_sdk_1.0.12.1078
我们的设置中没有任何改变。我只重新安装了Suota应用程序。
We are able to put software on a new device as described in "9.1.5Performing SUOTA upgrade using a mobile phone" item 9.
但之后,我们无法通过电话/平板电脑更新。所有接缝都很好,包括重启......
它以前完美地工作过。我们尝试了不同的手机和平板电脑的结果。
Hi Myken,
SDK1.0.12是一个古老的SDK版本,它不是currently supported. To do so, I would strongly recommend you to move into our latest SDK for DA1468x products which is SDK1.0.14. You can download it from our support website. Please, try it with the latest SDK and let me know if you still have the same issue.
谢谢,PM_DIALOG.
你好,
Updated to the SDK 1.0.14.1081, as expected still having the same issue.
Is there a way to debug this? Does the APP have a debug mode? Is it possible to downgrade the SUOTA APP (problems happen after update)?
The issue is the same for several devices.
Thanks.
Hi Myken,
不,移动应用程序中没有调试模式。我在我身边尝试过,但我无法复制你的问题,所以请你能为你所做的做出更多的输入吗?你遵循教程吗?
谢谢,PM_DIALOG.
请帮我了解这个问题:
如果我有一个工作系统来生成仿图像,请使用SDK版本X和Tool-Chain y,并使用Suota应用程序版本A下载到我的设备上的工作映像。如果我在新手机/平板电脑上安装新版本的Suota应用程序(B或C)并使用SDK版本X和Tool-Chain y生成图像,它应该仍然工作,对吧?
On the other hand the SUOTA APP (newest version) does what is supposes to do, download the image and reset the device (no errors).
I did follow the tutorial with one exception, I'm on a Linux machine so for every script I use the *_linux variant.
所以,是的,我确实遵循逐步遵循教程(9.1.5执行手机升级),没有错误。在步骤9之后,我的设备中有一个新的工作形象。
其余的教程也有效,没有问题。
在步骤15之后,唯一的是新的(OTA)图像不会启动。对于我更改MAC地址的每个新图像,这就是我检查哪个图像是活动的。
FYI: we have several device in the field on which I can't perform step 9.
If I understand paragraph 9.1.3 correctly the only thing left where things might go wrong is the bootloader, if it detects a invalid new image it will not copy the image to the execution partition.
如何验证(或修复该)。在这种情况下,Suota应用程序如何(更新应用程序后出现问题)?
Thanks.
If I do:
I get:
一些我如何设法将其工作在新设备上(基本上通过重复步骤9)。因此,我可以编程一个新设备并生成一个我可以上传的有效仿映像(在新设备上)。
问题仍然是我无法将新的仿图像上传到该字段中的设备。
Is there a way to reset the partition table on devices in the field, without a physical connection (so the bootloader generates a new one)?
Hi Myken,
You mentioned that some device cannot perform step 9. Do you get any error? Can you please send me a screenshot? Which example of the SDK are you using?
谢谢,PM_DIALOG.
你好,
步骤9基本上需要有线连接(JTAG或UART)来运行脚本。某些设备都是我们在该字段中的所有设备。应用是可穿戴的,它们被浇铸/模制,因此我不能再安装电线。但我确实需要更新这些设备的软件。
The SDK example I used to start the project (1 year ago) was the projects > dk_apps > features > ble_peripheral.
介意你,在一开始就已经过空气努力了。
Thanks.
Hi Myken,
您可以尝试使用SDK的PXP报告管理员执行课程吗?
谢谢,PM_DIALOG.