connection manager - loading firmware issue

5 posts / 0 new
Last post
flebigot
Offline
Last seen:6 years 2 months ago
加入:2014-11-09 16:26
connection manager - loading firmware issue

Hello,

我与PAN1740-development工具包。我有first installed the j-link driver, then the connexion manager (win32 version) as indicated in the datasheet. I have tried to load the firmeware (it seems to work), but after when I try to boot ( as central or as peripheral) I just have the following log and the left tab stay on welcome state with this message "Please press "Boot as Central" or "Boot as Peripheral" on the right in order to start the product evaluation.". Moreover I have tried to check with an oscilloscope if I send anything to the chip, I notice no frames have been transfered. I have also tried to unplug replug the device, to test it on an other computer and I also tested it with and without Hardware Flow Control.

DLL version V4.72, compiled Jun 12 2013 15:47:08
Firmware: J-Link OB-SAM3U128 V1 compiled Nov 28 2014 10:24:11
Hardware: V1.00
S/N: 480041408
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
Info: Found Cortex-M0 r0p0, Little endian.
Cortex-M0 identified.
JTAG speed: 100 kHz
Processing script file...

Reset delay: 0 ms
Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET bit.

Writing 00A6 -> 50000012

Writing 002E -> 50003308

Loading binary file... [full_emb.bin]
Writing bin data into target memory @ 0x00000000.

Loading binary file full_emb.bin
Reading 13584 bytes data from target memory @ 0x00000000.
Verify successful.

Reset delay: 0 ms
Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET bit.

Script processing completed.

====> [12:16:58.905] Rx <====
UART COM7 Open

====> [12:16:58.907] Tx <====
Src Task : 0x3f (TASK_APP)
Dst Task : 0xd (TASK_GAPM)
Msg Id : 0x3402 (GAPM_RESET_CMD)
Payload : 02 34 0d 00 3f 00 01 00 01

Thanks by advance for any answers you could provide.
Fabien L.

Ingo
Offline
Last seen:4 months 1 week ago
Guru Panasonic
加入:2014-01-16 11:19
Hello Fabien, we figured out

Hello Fabien, we figured out that the UART level are partly not used correctly by the Atmel controller. Please remove the resistors on the dongle at P0.2 and P0.3. Then it should work stable.

flebigot
Offline
Last seen:6 years 2 months ago
加入:2014-11-09 16:26
hello again,

hello again,

On my device, there were only 2 resistors, on P0.4 and P0.5. On the datasheet PAN1740_ApplicationNote.pdf, the schematic (page 7) shows resistors on P0.0, P0.1, P0.2 and P0.3 and the picture (page 6) shows resistors on P0.2, P0.3, P0.4 and P0.5. So, I have soldered resistors on P0.0 and P0.1 and removed P0.4 and P0.5. The result is unchanged... Can you tell me what is the right mapping ?
Thanks for your answer.

Ingo
Offline
Last seen:4 months 1 week ago
Guru Panasonic
加入:2014-01-16 11:19
Hi Fabien, P0.4 is RX and P0

Hi Fabien, P0.4 is RX and P0.5 is TX. They need to be mounted only. So the device you got should work. Here is a complete log including pressing the "Bott as Central" :

hex2bin v1.0.10, Copyright (C) 2012 Jacques Pelletier & contributors

Lowest address = 00000000
Highest address = 00002F27
Pad Byte = FF
8-bit Checksum = 31

Tools directory: C:\Program Files\ConnectionManager1\bin\firmware_upload\
Using HEX file: "C:\Program Files\ConnectionManager1\bin\firmware_upload" "full_emb.hex"

--- Generated JLink Script File ---
r
w2 50000012, A6
W2 50003308, 2e
loadbin "full_emb.bin", 0
verifybin "full_emb.bin", 0
r
g
exit
---

SEGGER J-Link Commander V4.72 ('?' for help)
Compiled Jun 12 2013 15:47:30

Script file read successfully.
DLL version V4.72, compiled Jun 12 2013 15:47:08
Firmware: J-Link OB-SAM3U128 V1 compiled Sep 19 2013 20:18:59
Hardware: V1.00
S/N: 480041067
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
Info: Found Cortex-M0 r0p0, Little endian.
Cortex-M0 identified.
JTAG speed: 100 kHz
Processing script file...

Reset delay: 0 ms
Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET bit.

Writing 00A6 -> 50000012

Writing 002E -> 50003308

Loading binary file... [full_emb.bin]
Writing bin data into target memory @ 0x00000000.

Loading binary file full_emb.bin
Reading 12072 bytes data from target memory @ 0x00000000.
Verify successful.

Reset delay: 0 ms
Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET bit.

Script processing completed.

====> [09:14:46.400] Rx <====
UART COM52 Open

====> [09:14:46.412] Tx <====
Src Task : 0x3f (TASK_APP)
Dst Task : 0xd (TASK_GAPM)
Msg Id : 0x3402 (GAPM_RESET_CMD)
Payload : 02 34 0d 00 3f 00 01 00 01

====> [09:14:46.417] Rx <====
Src Task : 0xd (TASK_GAP)
Dst Task : 0x3f (TASK_APP)
Msg Id : 0x3400 (GAPM_CMP_EVT(GAPM_RESET))
Status : 0x0
Payload : 00 34 3f 00 0d 00 02 00 01 00

====> [09:14:46.421] Tx <====
Src Task : 0x3f (TASK_APP)
Dst Task : 0xd (TASK_GAPM)
Msg Id : 0x3404 (GAPM_SET_DEV_CONFIG_CMD)
Role : 0x5 (GAP_CENTRAL_MST)
IRK : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
appearance : 0x0
appearance_write_perm : 0x0
name_write_perm : 0x0
Payload : 04 34 0d 00 3f 00 22 00 03 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

====> [09:14:46.427] Rx <====
Src Task : 0xd (TASK_GAP)
Dst Task : 0x3f (TASK_APP)
Msg Id : 0x3400 (GAPM_CMP_EVT(GAPM_SET_DEV_CONFIG))
Status : 0x00
Payload : 00 34 3f 00 0d 00 02 00 03 00

====> [09:14:46.430] Tx <====
Src Task : 0x3f (TASK_APP)
Dst Task : 0xd (TASK_GAPM)
Msg Id : 0x3407 (GAPM_GET_DEV_INFO_CMD)
Operation : 0x7
Payload : 07 34 0d 00 3f 00 01 00 07

====> [09:14:46.439] Rx <====
Src Task : 0x000d (TASK_GAP)
Dst Task : 0x003f (TASK_APP)
Msg Id : 0x340a (GAPM_DEV_VERSION_IND)
HCI Version : 0x06
LMP Version : 0x06
主机版本:0 x06
HCI Subver : 0x0706
LMP Subversion : 0x0706
Host Subversion : 0x0708
Manuf. Name : 0x0060
Payload : 0a 34 3f 00 0d 00 0c 00 06 06 06 00 06 07 06 07 08 07 60 00

bigfoot_skinner
Offline
Last seen:6 years 2 months ago
加入:2015-01-20 20:09
我想起来load a

我想起来load a sample project (like "throughput_eval_central") and am getting the same issue as Fabien. The log prints out like your sample directly above, but it cuts off after the first Rx/Tx pair:

hex2bin v1.0.10, Copyright (C) 2012 Jacques Pelletier & contributors

Lowest address = 00000000
Highest address = 00003FDF
Pad Byte = FF
8-bit Checksum = EB

Tools directory: C:\Program Files\ConnectionManager\bin\firmware_upload\
Using HEX file: "[Proprietary information -- CONFIDENTIAL]\dk_apps\keil_projects\throughput_eval\throughput_eval_central_fh\out" "full_emb_sysram.hex"

--- Generated JLink Script File ---
r
w2 50000012, A6
W2 50003308, 2e
loadbin "full_emb_sysram.bin", 0
verifybin "full_emb_sysram.bin", 0
r
g
exit
---

SEGGER J-Link Commander V4.72 ('?' for help)
Compiled Jun 12 2013 15:47:30

Script file read successfully.
DLL version V4.72, compiled Jun 12 2013 15:47:08
Firmware: J-Link OB-SAM3U128 V1 compiled Nov 28 2014 10:24:11
Hardware: V1.00
S/N: 480041550
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
Info: Found Cortex-M0 r0p0, Little endian.
Cortex-M0 identified.
JTAG speed: 100 kHz
Processing script file...

Reset delay: 0 ms
Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET bit.

Writing 00A6 -> 50000012

Writing 002E -> 50003308

Loading binary file... [full_emb_sysram.bin]
Writing bin data into target memory @ 0x00000000.

Loading binary file full_emb_sysram.bin
Reading 16352 bytes data from target memory @ 0x00000000.
Verify successful.

Reset delay: 0 ms
Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET bit.

Script processing completed.

====> [16:14:27.143] Rx <====
UART COM13 Open

====> [16:14:27.150] Tx <====
Src Task : 0x3f (TASK_APP)
Dst Task : 0xd (TASK_GAPM)
Msg Id : 0x3402 (GAPM_RESET_CMD)
Payload : 02 34 0d 00 3f 00 01 00 01

Any thoughts?