用jlink与smartsnippet有关固件下载问题

12个帖子/ 0新
最后一篇
Olivier Perrier.
离线
最后一次露面:4年9月前
加入:2014-01-23 16:49
用jlink与smartsnippet有关固件下载问题

亲爱的支持,

We use the SDK 3.0.6.
我们在我们的第一个产品系列中,并在松下模块上刻录OTP获得一个大问题。
我们尝试使用命令行中的jlink accross smartsnippets刻录我们的模块(Bute在GUI中使用SmartSnippets获取相同的问题)

Our test bench is compatible for using our modules in RAM (test with Keil debug and run).
But we can not burn the OTP using Smartsnippets.
Sometimes it runs but most of times we get the following error:

“从文件xxx.hex读取XXX字节
在Address 0x40000地址开始刻录20168字节
在地址81FE8中阅读Emmory失败
OTP memory burning failed"

We got the FAE director that sent us the documentation to burn OTP ("user guide for programming reference designs Provisionnal") and thanks to this documentation and your schematic we checked the Hardware set up is very similar to yours.

我们如何管理此错误?

谢谢,
最好的祝福,
Olivier

设备:
mt_dialog.
离线
最后一次露面:1周4天前
职员
加入:2015-06-08 11:34
嗨Olivier Perrier,

嗨Olivier Perrier,

您使用的智能片段版本是什么?您能否请尝试使用最新版本。请检查OTP的编程供应。

谢谢mt_dialog.

Olivier Perrier.
离线
最后一次露面:4年9月前
加入:2014-01-23 16:49
你好,

你好,

The programming supply is 6.8V, the revision of smartsnippets is 3.8, The last revision seems to be dedicated to SDK 5.0 ?

我们有1000板等待他们的固件......

Best regards,
Olivier

mhv_dialog.
离线
最后一次露面:5天4小时前
职员
加入:2013-12-06 15:10
嗨olivier,

嗨olivier,

The most recent revision of SmartSnippets is NOT dedicated to SDK5. Please make sure that your J-link connection to the board is as short as possible and that the grounding is solid. The VPP must be clean and must not exceed 6.8V (Set it at 6.75V to make sure. I will program a module tomorrow (US West Coast) to see if I will see any issues. I will also attempt to have someone reach out t you directly (on your time zone).

Olivier Perrier.
离线
最后一次露面:4年9月前
加入:2014-01-23 16:49
Ok, thanks for the answer. We

Ok, thanks for the answer. We will re-check these Vpp and ground.
I re-try with 3.9 revision and feed back results.
当我们获得最后的修订时,它并不清楚,3.9没有专用于SDK 5
(SDK5的SMART SCIPPET WIN32安装程序版本3.9)。这意味着它是SDK 5的最低修订版吗?

Olivier Perrier.
离线
最后一次露面:4年9月前
加入:2014-01-23 16:49
Feeds from SmartSnippets 3.9:

Feeds from SmartSnippets 3.9:

1/ My Hex file seems to be seen as empty by the new revision (file selected, but No file has been selected Please select a file to download as error message)

2/ When trying to download in command lines:
普遍同步=?,IRPRINT = 0x..000000000000000000000000
普遍同步=?,IRPRINT = 0x..000000000000000000000000
找到带ID 0x0BB11477的SWD-DP
fpUnit:4代码(BP)插槽和0个字幕插槽
Found Cortex-M0 r0p0, Little endian.
BTLE device selected.
使用默认的波特率:57600 BD。
在我获得提示后没有更多的信息

Olivier Perrier.
离线
最后一次露面:4年9月前
加入:2014-01-23 16:49
你好,

你好,

来自我们的硬件调查的新闻:
地面还可以,vpp也是如此。你在你身边成功了吗?

Best regards,
Olivier

slvick0f1.
离线
最后一次露面:2个月2周前
加入:2015-10-02 14:47
现在我得到了一个新的错误

现在我试图重新编程零件时我会收到新的错误。“在Address 81FE8的读取内存失败”
它似乎这81Fe8失败错误发生了许多其他用户。这是由于Smartsnippets中的一些错误吗?
这个SmartSnippets问题真的让我难过。

我不认为这是一个闪存问题,因为我可以从我的固件读取,写入和擦除闪存。
我能够从Keil环境中运行和调试,没有问题。
我尝试删除并重新安装智能片段,无济于事
我尝试从2台不同的计算机运行智能片段,同样的问题
81FE8问题总是停止智能片段工作
似乎很多人都有这个问题,但找不到论坛发布的任何真实解决方案

Thanks for your help.

mt_dialog.
离线
最后一次露面:1周4天前
职员
加入:2015-06-08 11:34
嗨slvick0f1,

嗨slvick0f1,

我想你不使用开发套件,而是一个自定义板,你正在使用什么样的闪存?
请尝试以下更改位于实用程序文件夹中的Flash程序员项目中,并将编译的二进制文件放在以下目录中:
C:\Users\********\SmartSnippets\resources

1)增加超时(X10),因为某些芯片的擦除时间为30秒。文件spi_flash.h #define max_ready_wait_count 2000000
2)增加默认大小当SPI flash不吃晚饭ported. If you dont want to add your SPI flash chip to the supported list in the code, change the default value.
#define spi_flash_default_size 262144 // spi闪存以字节为单位
3)在程序员中,将“大小”的类型更改为32位无符号int“静态Int8_t erase_flash_sectors(uint32_t hight_address,uint32_t大小)”。

希望解决您的问题。
谢谢mt_dialog.

slvick0f1.
离线
最后一次露面:2个月2周前
加入:2015-10-02 14:47
是的,我有一个定制董事会

是的,我有一个自定义板,并使用w25x20cluxig闪存。直到最近我开始试图获得拟议工作,我根本没有任何问题。我在最新教程中遵循了您的指示,尝试下载结果fw_multi_part_spi.bin(附加),以来,自SmartSnippet以来一直给我问题。我尝试卸载,重新安装,无法恢复工作版本。

slvick0f1.
离线
最后一次露面:2个月2周前
加入:2015-10-02 14:47
I tried your changes, but

我尝试了你的变化,但仍然有同样的问题。这是日志文件。以下“更正的寄存器”注意到问题的任何进一步的线索如何?

[info @ 16-06-07 14:27:52]固件文件c:\ users \ steve \ smartsnippets \资源\ jtag_programmer.bin已被选中以下载。
[信息@ 16-06-07 14:27:52] Cortex-M:调试器试图将PC设置为奇数值。从0x000800b5到0x000800b4的校正寄存器值
[信息@ 16-06-07 14:27:52]成功下载了固件文件到电路板。
[INFO @16-06-07 14:27:52] Successfully configured SPI Flash ports and pins.
[错误@ 16-06-07 14:28:41]地址81FE8的读取内存失败。
[错误@ 16-06-07 14:28:41] SPI内存擦除失败。

mt_dialog.
离线
最后一次露面:1周4天前
职员
加入:2015-06-08 11:34
嗨slvick0f1,

嗨slvick0f1,

请尝试在右上角的闪存编程选项卡中将闪光灯中的闪存的大小增加到0x40000,并再次尝试,包括上述更改。

谢谢mt_dialog.