7 posts / 0 new
Last post
Alex Torofiev
Offline
Last seen:5 years 2 months ago
Joined:2016-02-08 13:20
连接管理器问题

Hello,

I am using PAN1740, trying to see how can I integrate DA14580 into my device.
There seems to be an issue with connection manager, it cannot load neither default, nor another firmware.

All I get when I start connection manager is:

Hex2bin v1.0.10,版权所有(c)2012 jacques Pelletier&贡献者

Lowest address = 00000000
Highest address = 00003EEB
Pad Byte = FF
8-bit Checksum = A0

And then when I try to Load a firmware and boot as central:

====> [11:42:22.486] Rx <====
UART Com7开放

====> [11:42:22.500] Tx <====
Src Task : 0x3f (TASK_APP)
Dst Task : 0xd (TASK_GAPM)
Msg Id : 0x3402 (GAPM_RESET_CMD)
Operation : 0x01
Payload : 02 34 0d 00 3f 00 01 00 01

Driver is installed and seem to work properly, COM 7 is detected.
Any ideas what should I do?

这是一个屏幕截图:http://prntscr.com/a1cwwh

Keywords:
Device:
MT_dialog
Offline
Last seen:2 months 4 days ago
Staff
Joined:2015-06-08 11:34
Hi Alex,

Hi Alex,

尝试将Connection Manager作为管理员运行,并确保已连接默认的UART引脚(P04 / P05中的跳线),以防您使用PRO或基本套件而不是加密狗。还要确保已安装的连接管理器是最新版本。

Thanks MT_dialog

Alex Torofiev
Offline
Last seen:5 years 2 months ago
Joined:2016-02-08 13:20
Hello,

Hello,

Thanks for the reply!

I am using a dongle, PAN1740;
I am using "Administrator" type account, Windows 7, 64 bit;
Software version of Connection Manager is the latest - 3.0.10, I downloaded it from here
Segger driver seems to work fine, it is detected by device manager and terminal SW, it can be opened, closed, etc.

COM port access and Connection Manager seem to work without any problem.
I suppose the problem is somewhere between the Communication manager and the DA1458x, if I have to make a guess, there is no response from the DA to the 0x3402 (GAPM_RESET_CMD) and the process stops there - DA either doesn't receive or doesn't respond to that command.

问候,
Alex Torofiev

MT_dialog
Offline
Last seen:2 months 4 days ago
Staff
Joined:2015-06-08 11:34
Hi Alex,

Hi Alex,

When opening the tool it should make a conversion of the default .hex file(full_emb.hex)to binary and connect directly to the JTAG device using the JLink.exe file. You should be able to see the commands in the loadhex.bat file that is located in the Connection manager in the bin directory. i ve attached the proper messages you should see when opening the CM. Can you please re-install the Connection manager in case something went wrong during the installation proccess.

In your case the only message i see is the .hex2bin conversion output i dont see any execution of the Jlink.exe with the loadbin.txt parameter the connection or the download procedure of the .bin file.

此外,您可以尝试的是使用命令行手动运行Donwloading过程,只需打开Windows命令行并导航到Connection Manager / Bin /固件上载,然后您可以运行jlink.exe“loadbin.txt”应该在580中上传full_emb.bin文件,然后通过打开连接管理器,您可以作为中央启动或作为外设启动。

Thanks MT_dialog

Alex Torofiev
Offline
Last seen:5 years 2 months ago
Joined:2016-02-08 13:20
Hi again and thanks for the

Hi again and thanks for the quick reply,

我重新安装CM,也试穿了两个广告样稿uters to rule out any OS, usb and SW specifics. The result is the same.
I have no JTAG device, I am using PAN1740, expecting to be able to do the programming via USB to UART.

If I run JLink.exe manually I get:
SEGGER J-Link Commander V4.72 ('?' for help)
Compiled Jun 12 2013 15:47:30
DLL version V4.72, compiled Jun 12 2013 15:47:08
Firmware: J-Link OB-SAM3U128 V1 compiled Feb 11 2016 16:04:25
Hardware: V1.00
S/N: 480078265
vtarget = 3.300V.
Info: Could not measure total IR len. TDO is constant high.
Info: Could not measure total IR len. TDO is constant high.
No devices found on JTAG chain. Trying to find device on SWD.
Info: Found SWD-DP with ID 0x0BB11477
Info: FPUnit: 4 code (BP) slots and 0 literal slots
信息:找到Cortex-M0 R0P0,Little Endian。
Cortex-M0 identified.
JTAG speed: 100 kHz
--------------------

If I run startup.bat I get a problem in loadbin.txt - I actually have no such file, I definitely haven't deleted it, I don't know where it should be and where does it come from :)

Hex2bin v1.0.10,版权所有(c)2012 jacques Pelletier&贡献者

Lowest address = 00000000
Highest address = 00003EEB
Pad Byte = FF
8-bit Checksum = A0

Tools directory: C:\Program Files\ConnectionManager\bin\firmware_upload\
使用HEX文件:“C:\ Program Files \ ConnectionManager \ Bin \ Firmware_Upload”full_emb.hex“

--- Generated JLink Script File ---
---

SEGGER J-Link Commander V4.72 ('?' for help)
Compiled Jun 12 2013 15:47:30
Unknown command line option loadbin.txt.

-----------------
If I just run ConnectionManager.exe I get almost nothing:
Hex2bin v1.0.10,版权所有(c)2012 jacques Pelletier&贡献者

Lowest address = 00000000
Highest address = 00003EEB
Pad Byte = FF
8-bit Checksum = A0

-------------

所以,问题可能是loadbin.txt?

Kind regards,
Alex Torofiev

Alex Torofiev
Offline
Last seen:5 years 2 months ago
Joined:2016-02-08 13:20
Hello,

Hello,

I found the solution of my problem in this topic:
http://support.dialog-semiconductor.com/%E2%80%9Dunknown-command-line-op...
通过Ingo(Panasonic)查看第三篇文章。

我创建了“loadbin.txt”,具有指定的内容,现在它似乎工作。

r
w2 50000012, A6
W2 50003308, 2e
loadbin "full_emb_sysram.bin", 0
verifybin "full_emb_sysram.bin", 0
r
g
exit

I do not know why this file was missing, but it seems it happens to some users - several in that topic had that issue and just running the ConnectionManager.exe doesn't output the proper error message, so the users can't figure out that there is a file missing. I suppose this would be easy to implement a start up check for that in ConnectionManager or see why this file is skipped sometimes in instalation, if you think that makes sense.

Thanks for the support once again, it was helpful!

Kind regards,
Alex Torofiev

MT_dialog
Offline
Last seen:2 months 4 days ago
Staff
Joined:2015-06-08 11:34
Hi Alex,

Hi Alex,

I was about to send you my loadbin.txt file. Thanks for the indication that your problem is solved.

Thanks MT_dialog

Topic locked