My custom board fail to erase or program using J-Link.
my environment:
MCUXpresso 11.2.1
Segger J-Link V6.86
a custom board (MIMXRT1052DVL6B)
my pin connect as fellow,
MCU pin <--> J-Link pin
=================================
pin 1 VCC <--> Vref
pin 3 GND <--> GND
pin 5 GND <--> GND
pin 7 N/U X
pin 9 GND X
pin 2 SWDIO(JTAG_TMS) <--> TMS
pin 4 SWCLK(JTAG_TCK) <--> TCK
pin 6 SWO(JTAG_TDO) <--> TDO
pin 8 N/U(JTAG_TDI) <--> TDI
pin 10 RESET(JTAG_nSRST) <--> nRST
the J-Link log as fellow,
Executing flash operation 'Erase' (Erase flash) - Fri Oct 23 10:31:25 CST 2020
Checking MCU info...
Scanning for targets...
Executing flash action...
SEGGER J-Link Commander V6.86 (Compiled Sep 24 2020 17:33:12)
DLL version V6.86, compiled Sep 24 2020 17:31:31
J-Link Command File read successfully.
Processing script file...
J-Link Commander will now exit on Error
J-Link connection not established yet but required for command.
Connecting to J-Link via USB...O.K.
Firmware: J-Link V9 compiled Dec 13 2019 11:14:50
Hardware version: V9.30
S/N: xxxxxxxxx
License(s): FlashBP, GDB
OEM: SEGGER-EDU
VTref=2.608V
Target connection not established yet but required for command.
Device "MCIMXRT1052" selected.
Connecting to target via JTAG
InitTarget() start
InitTarget()
Connect Under Reset
Connect Under Reset
InitTarget() end
InitTarget() start
InitTarget()
Connect Under Reset
Connect Under Reset
InitTarget() end
InitTarget() start
InitTarget()
Connect Under Reset
Connect Under Reset
InitTarget() end
InitTarget() start
InitTarget()
Connect Under Reset
Connect Under Reset
InitTarget() end
Cannot connect to target.
Script processing completed.
Unable to perform operation!
Command failed with exit code 1
已解决! 转到解答。
Hi felix1,
Please check your MIMXRT1052 board, your VDD is 2.52v, it should be about 3.3V.
This is my JLINK test result for MIMXRT1050-EVK board with the JLINK commander:
So, you need to check your VDD in the board.
BTW, you need to use the JLINK SWD, not JTAG, as the RT chip is using the SWD interface in default.
Please check it on your side.
Wish it helps you!
If you still have questions about it, please kindly let me know!
Best Regards,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-----------------------------------------------------------------------------
Hi felix1,
Please check your MIMXRT1052 board, your VDD is 2.52v, it should be about 3.3V.
This is my JLINK test result for MIMXRT1050-EVK board with the JLINK commander:
So, you need to check your VDD in the board.
BTW, you need to use the JLINK SWD, not JTAG, as the RT chip is using the SWD interface in default.
Please check it on your side.
Wish it helps you!
If you still have questions about it, please kindly let me know!
Best Regards,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-----------------------------------------------------------------------------