Hello,
I am trying to evaluate the DA14531MOD, but it will not communicate with my J-Link via SWD out of the box, so I'm getting nowhere.
I am using a J-Link Base connected to a DA14531MOD-00F1DB-P daughterboard via the SWD pads. I have a good battery on the daughterboard.
J-Link -> DA14531MOD connections like this:
VTref(pin 1) -> VBAT (J7) Measuring 3.3V here.
GND(pin 4) -> GND (J2/J3/J4/J6/J11)
SWDIO(pin 7) -> SDWIO (J9)
SWCLK(pin 9) -> SWCLK (J10)
RESET(pin 15) -> RST (J12)
The device is not detected by the Flash Programmer. It displays the error "DAP error while reading DP-Ctrl-Stat register" twice as shown:
The J-Link is version 11.00. SEGGER J-Link Configuration tells me I have the latest firmware.
Any help would be appreciated, thank you.
T2D74 000:019 SEGGER J-Link V6.40 Log File (0000ms, 0002ms total) T2D74 000:019 DLL Compiled: Oct 26 2018 15:06:12 (0000ms, 0002ms total) T2D74 000:019 Logging started @ 2023-05-30 09:47 (0000ms, 0002ms total) T2D74 000:019 JLINK_SetWarnOutHandler(...) (0000ms, 0002ms total) T2D74 000:019 JLINK_EMU_SelectByUSBSN(SerialNo = 51018509) returns 0x00 (0001ms, 0003ms total) T2D74 000:021 JLINK_OpenEx(...) Firmware: J-Link V11 compiled May 23 2023 14:44:38 Hardware: V11.00 S/N: 51018509 Feature(s): GDB TELNET listener socket opened on port 19021WEBSRV Starting webserver (0013ms, 0016ms total) T2D74 000:021 WEBSRV Webserver running on local port 19080 (0013ms, 0016ms total) T2D74 000:021 returns O.K. (0013ms, 0016ms total) T2D74 000:034 JLINK_SetInitRegsOnReset(OFF) returns 0x01 (0000ms, 0016ms total) T2D74 000:034 JLINK_GetEmuCaps() returns 0xB9FF7BBF (0000ms, 0016ms total) T2D74 000:036 JLINK_GetHWStatus(...) returns 0x00 (0000ms, 0016ms total) T2D74 000:037 JLINK_SetSpeed(100) (0000ms, 0016ms total) T2D74 000:037 JLINK_GetEmuCaps() returns 0xB9FF7BBF (0000ms, 0016ms total) T2D74 000:037 JLINK_TIF_GetAvailable(...) (0005ms, 0021ms total) T2D74 000:069 JLINK_SelectDeviceFamily(6) (0000ms, 0021ms total) T2D74 000:118 JLINK_ClrError() (0000ms, 0021ms total) T2D74 000:118 JLINK_TIF_Select(JLINKARM_TIF_SWD) returns 0x00 (0005ms, 0026ms total) T4E9C 000:126 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 0027ms total) T2D74 000:128 JLINK_Connect() >0x10B TIF> >0x10F TIF> >0x10B TIF>Found SW-DP with ID 0x0BC11477 >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x0D TIF> >0x0D TIF> ***** Error: DAP error while reading DP-Ctrl-Stat register. >0x10B TIF> >0x10F TIF> >0x10B TIF>Found SW-DP with ID 0x0BC11477 >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x0D TIF> >0x0D TIF> returns 0xFFFFFEFB (0536ms, 0563ms total) T4E9C 000:664 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0000ms, 0563ms total) T4E9C 000:668 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 0564ms total) T4E9C 000:822 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0000ms, 0564ms total) T4E9C 000:929 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 0565ms total) T4E9C 001:023 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 0566ms total) T4E9C 001:076 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0003ms, 0569ms total) T4E9C 001:173 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 0570ms total) T4E9C 001:278 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0003ms, 0573ms total) T4E9C 001:400 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 0574ms total) T4E9C 001:508 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0000ms, 0574ms total) T4E9C 001:573 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0002ms, 0576ms total) T4E9C 001:673 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0002ms, 0578ms total) T4E9C 001:774 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0000ms, 0578ms total) T4E9C 001:874 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 0579ms total) T4E9C 001:974 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 0580ms total) T4E9C 002:074 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0002ms, 0582ms total) T4E9C 002:198 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 0583ms total) T4E9C 002:276 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0000ms, 0583ms total) T4E9C 002:378 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0002ms, 0585ms total) T4E9C 002:480 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0002ms, 0587ms total) T4E9C 002:578 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 0588ms total) T2D74 002:603 JLINK_CORE_GetFound() >0x10B TIF> >0x10F TIF> >0x10B TIF>Found SW-DP with ID 0x0BC11477 >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x0D TIF> >0x0D TIF> >0x10B TIF> >0x10F TIF> >0x10B TIF>Found SW-DP with ID 0x0BC11477 >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x0D TIF> >0x0D TIF> returns 0x00 (0522ms, 1110ms total) T4E9C 003:125 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0000ms, 1110ms total) T2D74 003:126 JLINK_TIF_Select(JLINKARM_TIF_JTAG) returns 0x00 (0001ms, 1111ms total) T4E9C 003:127 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 1112ms total) T2D74 003:128 JLINK_GetIdData(...) >0x2F8 JTAG>TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 >0xC8 JTAG> >0x2F8 JTAG>TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 >0xC8 JTAG> (0157ms, 1269ms total) T4E9C 003:285 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0002ms, 1271ms total) T2D74 003:287 JLINK_TIF_Select(JLINKARM_TIF_FINE) returns 0x00 (0782ms, 2053ms total) T4E9C 004:070 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0003ms, 2056ms total) T2D74 004:073 JLINK_Connect() returns 0xFFFFFEFB (0841ms, 2897ms total) T4E9C 004:914 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0003ms, 2900ms total) T2D74 004:918 JLINK_GetIdData(...) (0062ms, 2962ms total) T4E9C 004:980 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 2963ms total) T2D74 004:981 JLINK_GetDeviceFamily() returns 0 (0000ms, 2963ms total) T2D74 004:981 JLINK_ClrError() (0000ms, 2963ms total) T2D74 004:981 JLINK_SetSpeed(4) (0000ms, 2963ms total) T2D74 004:981 JLINK_GetEmuCaps() returns 0xB9FF7BBF (0000ms, 2963ms total) T2D74 004:982 JLINK_TIF_GetAvailable(...) (0787ms, 3750ms total) T4E9C 005:769 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 3751ms total) T2D74 005:770 JLINK_SelectDeviceFamily(6) (0000ms, 3751ms total) T2D74 005:770 JLINK_ClrError() (0000ms, 3751ms total) T2D74 005:770 JLINK_TIF_Select(JLINKARM_TIF_SWD) returns 0x00 (0001ms, 3752ms total) T4E9C 005:771 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 3753ms total) T2D74 005:772 JLINK_Connect() >0x10B TIF> >0x10F TIF> >0x10B TIF>Found SW-DP with ID 0x0BC11477 >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x0D TIF> >0x0D TIF> ***** Error: DAP error while reading DP-Ctrl-Stat register. >0x10B TIF> >0x10F TIF> >0x10B TIF>Found SW-DP with ID 0x0BC11477 >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x0D TIF> >0x0D TIF> returns 0xFFFFFEFB (0519ms, 4272ms total) T4E9C 006:291 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0003ms, 4275ms total) T4E9C 006:299 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 4276ms total) T4E9C 006:398 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 4277ms total) T4E9C 006:498 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 4278ms total) T4E9C 006:599 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 4279ms total) T4E9C 006:701 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0003ms, 4282ms total) T4E9C 006:803 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0003ms, 4285ms total) T4E9C 006:903 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0003ms, 4288ms total) T4E9C 007:001 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 4289ms total) T4E9C 007:103 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0003ms, 4292ms total) T4E9C 007:203 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0003ms, 4295ms total) T4E9C 007:303 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0003ms, 4298ms total) T4E9C 007:401 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 4299ms total) T4E9C 007:503 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0003ms, 4302ms total) T2D74 007:551 JLINK_CORE_GetFound() >0x10B TIF> >0x10F TIF> >0x10B TIF>Found SW-DP with ID 0x0BC11477 >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x0D TIF> >0x0D TIF> >0x10B TIF> >0x10F TIF> >0x10B TIF>Found SW-DP with ID 0x0BC11477 >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x28 TIF> >0x0D TIF> >0x0D TIF> >0x0D TIF> returns 0x00 (0515ms, 4817ms total) T4E9C 008:066 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 4818ms total) T2D74 008:068 JLINK_TIF_Select(JLINKARM_TIF_JTAG) returns 0x00 (0003ms, 4821ms total) T4E9C 008:071 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0002ms, 4823ms total) T2D74 008:073 JLINK_GetIdData(...) >0x2F8 JTAG>TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 >0xC8 JTAG> >0x2F8 JTAG>TotalIRLen = ?, IRPrint = 0x..000000000000000000000000 >0xC8 JTAG> (0158ms, 4981ms total) T4E9C 008:231 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0003ms, 4984ms total) T2D74 008:234 JLINK_TIF_Select(JLINKARM_TIF_FINE) returns 0x00 (0783ms, 5767ms total) T4E9C 009:017 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0000ms, 5767ms total) T2D74 009:017 JLINK_Connect() returns 0xFFFFFEFB (0843ms, 6610ms total) T4E9C 009:860 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0000ms, 6610ms total) T2D74 009:861 JLINK_GetIdData(...) (0063ms, 6673ms total) T4E9C 009:924 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 6674ms total) T2D74 009:926 JLINK_GetDeviceFamily() returns 0 (0000ms, 6674ms total) T2D74 009:926 JLINK_ReadMemHW(0x50003200, 0x0001 Bytes, ...) returns 0x01 (0063ms, 6737ms total) T4E9C 009:989 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0003ms, 6740ms total) T2D74 009:993 JLINK_ReadMemHW(0x50003201, 0x0001 Bytes, ...) returns 0x01 (0062ms, 6802ms total) T2D74 010:055 JLINK_ReadMemHW(0x50003202, 0x0001 Bytes, ...) returns 0x01 (0062ms, 6864ms total) T4E9C 010:117 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 6865ms total) T2D74 010:118 JLINK_ReadMemHW(0x50003200, 0x0001 Bytes, ...) returns 0x01 (0063ms, 6928ms total) T4E9C 010:181 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0003ms, 6931ms total) T2D74 010:184 JLINK_ReadMemHW(0x50003200, 0x0001 Bytes, ...) returns 0x01 (0063ms, 6994ms total) T2D74 010:247 JLINK_ReadMemHW(0x50003204, 0x0001 Bytes, ...) returns 0x01 (0063ms, 7057ms total) T4E9C 010:310 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0000ms, 7057ms total) T2D74 010:311 JLINK_ReadMemHW(0x50003204, 0x0001 Bytes, ...) returns 0x01 (0063ms, 7120ms total) T4E9C 010:374 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 7121ms total) T2D74 010:375 JLINK_ReadMemHW(0x50003208, 0x0001 Bytes, ...) returns 0x01 (0063ms, 7184ms total) T2D74 010:438 JLINK_ReadMemHW(0x50003208, 0x0001 Bytes, ...) returns 0x01 (0062ms, 7246ms total) T4E9C 010:500 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 7247ms total) T2D74 010:501 JLINK_ReadMemHW(0x5000320C, 0x0001 Bytes, ...) returns 0x01 (0063ms, 7310ms total) T2D74 010:564 JLINK_ReadMemHW(0x5000320C, 0x0001 Bytes, ...) returns 0x01 (0064ms, 7374ms total) T4E9C 010:628 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0003ms, 7377ms total) T2D74 010:632 JLINK_ReadMem (0x50040200, 0x0001 Bytes, ...) returns 0x01 (0063ms, 7440ms total) T4E9C 010:695 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 7441ms total) T2D74 010:696 JLINK_ReadMem (0x50040204, 0x0001 Bytes, ...) returns 0x01 (0063ms, 7504ms total) T2D74 010:759 JLINK_ReadMem (0x50040208, 0x0001 Bytes, ...) returns 0x01 (0062ms, 7566ms total) T4E9C 010:821 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0000ms, 7566ms total) T2D74 010:822 JLINK_ReadMem (0x5004020C, 0x0001 Bytes, ...) returns 0x01 (0063ms, 7629ms total) T4E9C 010:885 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0000ms, 7629ms total) T4E9C 010:971 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 7630ms total) T4E9C 011:072 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0003ms, 7633ms total) T4E9C 011:174 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0003ms, 7636ms total) T4E9C 011:273 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 7637ms total) T4E9C 011:375 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0003ms, 7640ms total) T4E9C 011:475 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0003ms, 7643ms total) T4E9C 011:575 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0003ms, 7646ms total) T4E9C 011:676 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0003ms, 7650ms total) T4E9C 011:776 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0003ms, 7653ms total) T4E9C 011:875 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 7654ms total) T4E9C 011:976 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0002ms, 7656ms total) T4E9C 012:076 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0000ms, 7656ms total) T4E9C 012:177 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 7657ms total) T4E9C 012:277 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0003ms, 7660ms total) T4E9C 012:377 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 7661ms total) T4E9C 012:478 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 7662ms total) T4E9C 012:578 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 7663ms total) T4E9C 012:679 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 7664ms total) T4E9C 012:782 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0003ms, 7667ms total) T4E9C 012:880 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 7668ms total) T4E9C 012:984 JLINK_EMU_GetList(InterfaceMask = 0x00000001, MaxInfos = 0x00000014) [0]: USB, S/N: 51018509 returns 0x01 (0001ms, 7669ms total)
Hi Pete,Thank you for posting your question online.Could you kindly try to connect VTref to 3V and not to 3.3V? Could you also kindly try to download any FW into the RAM via the Keil uVision?Are you facing the same issue with SmartSnippets Toolbox or only with the SmartBond Flash Programmer?Kind Regards,OV_Renesas
Thanks for the rapid response.
1. VTref measures 3.03V, not 3.3V, sorry. Using a CR2032 battery.
2. SmartSnippets Toolbox shows this:
I have this selected:
3. I tried Keil uVision last week but am unable to build dsps_device with it, as it appears to require a license for the compiler, and I have not purchased it.
All I want is to load your stock dsps application so I can evaluate the DA14531MOD as a possible replacement component, where we are currently using a Microchip BM78. Anything else I can try?
Hi There,Thank you for the reply.Do you also have a Development Kit or only the DA14531MOD Daughterboard? Could you kindly use the SEGGER tools in order to change the Clock speed of the J-link Base to 2MHz?It seems that the J-link is not able to detect the DA14531 chip at all. Have you programmed this Daughterboard before? Have you tried 1-Wire UART programming?
pete said:3. I tried Keil uVision last week but am unable to build dsps_device with it, as it appears to require a license for the compiler, and I have not purchased it.
Yes, the DSPS firmware requires a licensed Keil uVision in order to compile and run the project.Could you please try the ble_app_barebone example which is inside the SDK folders, you will not need any license for that. I would like to see if you are able to download code into the RAM.Please go on Options for Target-->Debug tab and select Settings:Kind Regards,OV_Renesas
I only have the daughterboard DA14531MOD-00F1DB-P.
Using JLINK.EXE to try to connect at 2MHz, here's the output:
I have not programmed this daughterboard at all. Fresh out of the box there is no communication.
I cannot compile ble_app_barebone with a fresh Keil uVision installation (version 5.38.0.0). I get this:
If I select the Version 6 compiler it will attempt to compile but there are hundreds of errors.
And I have not been able to install an alternate compiler without a license.
Is there a way for me to load an existing binary to RAM using Keil uVision without me having to compile it?
Hi Pete,Thank you for the reply.
pete said:I have not programmed this daughterboard at all. Fresh out of the box there is no communication.
Could you please share the connections you have made? Have you connected your J-link probes on the J3 and J4 headers or in the J2 Debug interface?Are you sure that the connections are ok? Have you used short cables?
pete said:I cannot compile ble_app_barebone with a fresh Keil uVision installation (version 5.38.0.0). I get this:
Which SDK version did you try to use? Please try with SDK v6.0.18 which can be found here: https://www.renesas.com/eu/en/document/swo/sdk601811821-da1453x-da145856?r=1564826Before trying to compile, please go on Options for Target--> C/C++ tab and deselect the Link-Time Optimization. Then you should be able to compile the project with the default ARM Compiler v6.Kind Regards,OV_Renesas
Thank you for the reply.
Here is how I have the J-Link wired up. Connections are good to the proper pins on the DA14531MOD. The ribbon cable going off the top of the picture goes nowhere right now.
I was using SDK 6.0.16.1144. Now I have 6.0.18.1182.1 from your link above, and ble_app_barebone does compile in Keil uVision, thank you. Clicking Flash->Download gives me this output:
I did set the Max Clock value to 2 MHz as in your screenshot.
Clicking Debug->Start/Stop Debug Session gives me this output:
What would be the next step? Thank you.
pete said:Clicking Debug->Start/Stop Debug Session gives me this output:
Please try via the Start/Stop Debug Session button:Then press the Run button to start your project if the Debugger was successfully attached.From the Image you shared of your connections it is clear that you have connected your wires directly into the PCB. We would have to recommend using the J2 header which is for Programming and Debugging purposes:You will have to connect VTref-->VDD, CLK--->SWCLK, DIO--->SWDIO and GND1/2 --->GND, There are headers that can be soldered on the J2 header and there are pin connectors that match the J-link probes with the J2 header.Kind Regards,OV_Renesas
Thank you for the response.
Clicking the Start/Stop Debug Session button as you suggest has this output:
Also I relocated my connections to J3 as you suggest. Checked continuity from the J-Link header to the DA15431MOD pins and it's good.
JLink setup looks like this:
If I click JLink Info on that screen I see:
Any suggestions what I could be missing?Thank you.
Hi Pete,Thank you for the reply and thank you for following our suggestions.It seems that the DA14531 is not able to perform a power cycle so the J-link can detect it as expected.From my Keil IDE:I do not think your J-link lacks any component in order to program your DA14531.On my Keil IDE--> Options for Target-->Debug tab-->Settings:Then I set the following parameters and I am able to connect to my DA14531.Could you please try to upgrade your J-link into version v7.84d? If that does not work, could you please try J-link version v6.40 which is the version being used on Smart Snippets Toolbox?Do you have access on any USB to Serial module? The DA14531 can be programmed via 1-Wire UART as well. If you are not able to program your board via J-link, please try via 1-Wire UART (P0_5) so we can make sure that the DA14531MOD Daughterboard you have is valid.For 1-Wire UART:You will have to use P0_5, you will also have to connect 1kΩ resistor on the Rx-Tx pins on the USB to Serial Module and set the Board Configurator on the SST for 1-Wire UART. After that when you press Connect, you will be prompted on the Log window to press the RST switch. Press the RST switch on the DA14531MOD Daughterboard and you should connect to your board. Kind Regards,OV_Renesas
Just to follow up, this never worked. I suppose my J-link is not configured correctly, but I don't know how. I ended up buying the development kit, and flashed it with that. So the module is good, it just won't flash with my J-link.