我可以通过智能狙击手刻录固件使用JTAG吗?

13 posts / 0 new
Last post
kurbylee
Offline
Last seen:3年6个月前
加入:2014-11-05 09:10
我可以通过智能狙击手刻录固件使用JTAG吗?

1>I connect my da14580 board through seeger jlink.
2>选择JTAG(UART / SPI UART JTAG)并在狙击手中查看58001139(JTAG序列号)。
3>click spi flash programmer button
4>select my.hex product from keil project (or select my.bin product from my.hex by hex2bin.exe)
5>offset=8000, click burn and wait log to be
[INFO @15-04-16 14:37:24] Memory burning completed successfully.
[信息@ 15-04-16 14:37:24]阅读内存刷新内存内容....
[info @ 15-04-16 14:37:33]阅读已经完成。阅读32768字节。
6>click read32k to check data,it seems all data is ok(memory contents in right is equal data file contents in left)
7>关闭狙击手和电源。
8>connect board and open snipper again
9> READ32K(偏移8000)来自SPI Flash

now my question is:
why all memory contents is zero,it seems that i never burn the flash?

我尝试这个步骤使用secondory.bin / hex(offset 0000),我得到了相同的结果。
so must I had to use uart to burn spi flash?

thanks

关键词:
sbourahla
Offline
Last seen:5 years 8 months ago
专家
加入:2015-02-25 09:51
Hello kurbylee,

Hello kurbylee,

我有同样的问题,但实际上似乎通过SmartSnippet燃烧代码不起作用。

kurbylee
Offline
Last seen:3年6个月前
加入:2014-11-05 09:10
你好sbourahla,我使用

你好sbourahla,我使用snipperX64_ 3.0.7 , and u?
If we cannot burn by jtag,now new questions come:
1>what is difference between uart mode and uart/spi mode?
2>I can run my program by jtag(keil debug) ,and the suota app can find my board,
can i update all firmware file to spi flash on my board and then boot from board flash without jtag?
3>In suota app,image bank 0/1/2 means what?(0=header 1=secondery boot.hex 2=myprog.hex ???)

kurbylee
Offline
Last seen:3年6个月前
加入:2014-11-05 09:10
同伴地,我发现那里

同伴地,我发现那里is no wave(data) at flash PIN DI or DO when I click read32K or burn,while there is wave(data) when the board boot from power on.
PS,there is waveform at PIN cs and clk when read or burn.

anyone can give me some advice?

sbourahla
Offline
Last seen:5 years 8 months ago
专家
加入:2015-02-25 09:51
对不起,我无法帮助你更多。

对不起,我无法帮助你更多。I encounter some difficulties me too to flash this Chip with the Basic Kit.

kurbylee
Offline
Last seen:3年6个月前
加入:2014-11-05 09:10
OK,I have connected my board

好的,我把我的电路板连接到了狙击手,但虽然我无法删除闪存
[ACTION @15-04-17 17:01:29] Please press the hardware reset button on the board to start the download process.
(信息@15-04-17 17:01:35]重置
[INFO @15-04-17 17:01:37] Successfully disconnected from port COM4.
[INFO @15-04-17 17:01:37] Successfully downloaded firmware file to the board.
。。。。。
[INFO @15-04-17 17:04:44] Connection to COM4 port has successfully opened.
[错误@ 15-04-17 17:04:44]检查SPI erase是否成功的同时收到错误消息:FFFFFFFF。
[信息@ 15-04-17 17:04:44]成功与COM4端口断开连接。
[ERROR @15-04-17 17:04:44] SPI Memory erasing failed.

我试着烧掉六角/垃圾箱,告诉我成功,但来自READ32的数据每次都不同。
why?

try another way:
1>通过jlink将板连接到Keil,并运行我的程序
2>open suota app at my android phone
3>found my da14580 device
4>select my.img(hex->bin->img)
5>更新
现在为什么我有一个消息:无效的产品标题?如何解决这个问题?
Hello,anybody can help me??

JE_Dialog
Offline
Last seen:1个月6天前
Staff
加入:2013-12-05 14:02
Hi , Kurlybee, I will ahve

Hi , Kurlybee, I will ahve one of the local team support this. Can you describe your jumper settings on the board ? (I presume BASIC board).

使用外部闪光灯与UART结合使用时,您需要在P0_5(J5,J6)上放置三方面跳线,因为它必须连接到SPI_MISO和UART_TX。

BR JE_Dialog

PY_Dialog
Offline
Last seen:2年10个月前
Staff
加入:2014-08-25 09:59
Hi kurbylee,

Hi kurbylee,

如果使用Suota和第二启动加载程序,则需要在Flash中遵循我们的内存映射结构。在闪存中,第一个图像/第2图像/产品标题将放在某些地址中。如果您不遵循此,我们的Suota软件将报告错误。

You can refer to below two papers for details:
DA14580 Software Patching over the Air (SPotA)
DA14580创建辅助引导加载程序

问候!
PY

kurbylee
Offline
Last seen:3年6个月前
加入:2014-11-05 09:10
I can download fw to flash

I can download fw to flash and use suota througth uart now. but the fw download by jtag cann't work. ths

Palakas.
Offline
Last seen:4 years 4 months ago
加入:2016-08-08 07:57
hello

hello
我有2个问题,我希望你能帮助我
1) I cannot download a hex file to the flash memory in the dialog development kit Expert, after burning in the memory i try to read and all the information become 0, and also I cannot erase the flash memory, is there some special process or configuration to download the hex file, I am using smart snippets 3.9?
2) Do u know how to use the project flash Programmer of the utilities?

thanks for your help

问候

MT_dialog
Offline
Last seen:2 months 1 week ago
Staff
加入:2015-06-08 11:34
Hi PALAKAS,

Hi PALAKAS,

1) The expert kit doesn't have an spi memory on board so i suppose that you have the module that integrates both the i2c and the spi memories, so check if the spi memory is selected and not the i2c. You can either access that memory with the JTAG or the UART. You will have to make sure that in the board setup tab, the proper pins that the flash is located are selected P00/CLK, P03/CS, P05/MISO, P06/MOSI, also make sure that the J25 pins are equipped with jumpers.

2)你的意思是什么?来自实用程序文件夹的Flash程序员是通过智能片段按下Connect按钮下载的代码类型,然后使用智能片段应用的命令接口。

Thanks MT_dialog

Palakas.
Offline
Last seen:4 years 4 months ago
加入:2016-08-08 07:57
THANKS FOR YOUR FAST

THANKS FOR YOUR FAST RESPONSE

1)I burned the program using other kit and it worked successfully, thank you very much for your help
2 ) In the folder of the DA1458X_SDK there is a subfolder called utilities with some tools like mkimage and flash_programmer, the last one I don't know how to use it?, could you help me with some guide of this please
pd: I attacehed the folde Flash_Programmer

Thank you for your help
问候

Attachment:
MT_dialog
Offline
Last seen:2 months 1 week ago
Staff
加入:2015-06-08 11:34
Hi PALAKAS,

Hi PALAKAS,

As mentioned before this is the source code that is downloaded in the 580 when you hit the connect button when you want to interface with your flash. After this code is downloaded to the 580 the 580 receives commands from smart snippets and is able to perform erase/burn/verification to the flash. The source code is provided in case you would like to add a different flash than the default dialog has verified.

Thanks MT_dialog