I have acquired an IMX6 SoloX board (A9 + M4 cores) from Embedded Artists and am trying to get the GDBServer to connect via a JLink Pro. The board is booting in Linux, but my initial interest is simply to start downloading test code into RAM onthe A9 core from CodeSourcery CodeBench. I am using the JLink scripts from this website and the latest GDBServer. I have 2 green lights on the JTAG device. When I initiate the connection, the GDBServer disconnects and the Linux OS reboots.
My web searches failed to turn up any hits. I would appreciate any insights and suggestions.
The GDBServer log content is:
SEGGER J-Link GDB Server V5.10c LogFile
Logging started @ 2015-12-09 14:40
03-00000000-00-00000000-001F: SEGGER J-Link GDB Server V5.10c
03-00000000-00-00000000-000C: GUI Version
03-00000000-00-00000000-0037: JLinkARM.dll V5.10c (DLL compiled Dec 4 2015 17:25:20)
03-00000000-00-00000001-0023: -----GDB Server start settings-----
03-00000000-00-00000001-0023: GDBInit file: none
03-00000000-00-00000001-0023: GDB Server Listening port: 2331
03-00000000-00-00000001-0023: SWO raw output listening port: 2332
03-00000000-00-00000001-0023: Terminal I/O port: 2333
03-00000000-00-00000001-002D: Accept remote connection: localhost only
03-00000000-00-00000001-0021: Generate logfile: on
03-00000000-00-00000001-0022: Verify download: off
03-00000000-00-00000001-0021: Init regs on start: on
03-00000000-00-00000001-0022: Silent mode: off
03-00000000-00-00000001-0022: Single run mode: off
03-00000000-00-00000001-0026: Target connection timeout: 5000 ms
03-00000000-00-00000001-0023: ------J-Link related settings------
03-00000000-00-00000001-0022: J-Link Host interface: USB
03-00000000-00-00000001-0045: J-Link script: iMX6SoloX_Connect_CortexA9.JLinkScript
03-00000000-00-00000001-0023: J-Link settings file: none
03-00000000-00-00000001-0023: ------Target related settings------
03-00000000-00-00000001-0028: Target device: Cortex-A9
03-00000000-00-00000001-0023: Target interface: JTAG
03-00000000-00-00000001-0023: Target interface speed: auto
03-00000000-00-00000001-0025: Target endian: little
03-00000000-00-00000002-0017: Connecting to J-Link...
02-00000000-00-00000008-003B: Firmware: J-Link ARM-Pro V1.x compiled Dec 3 2013 14:20:30
02-00000000-00-00000008-000F: Hardware: V1.10
02-00000000-00-00000008-000E: S/N: 171100131
02-00000000-00-00000268-0053: Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB returns O.K. (0266ms, 0266ms total)
03-00000000-00-00000268-0014: J-Link is connected.
02-00000000-00-00000271-005F: T0E80 001:910 JLINK_ExecCommand("device = Cortex-A9", ...) returns 0x00 (0003ms, 0269ms total)
02-00000000-00-00000271-0068: T0E80 001:913 JLINK_ExecCommand("SetFlashRewriteBehavior = 1", ...) returns 0x00 (0000ms, 0269ms total)
02-00000000-00-00000273-0080: T0E80 001:914 JLINK_ExecCommand("ScriptFile = iMX6SoloX_Connect_CortexA9.JLinkScript", ...) returns 0x00 (0001ms, 0270ms total)
02-00000000-00-00000273-0041: T0E80 001:915 JLINK_GetFirmwareString(...) (0000ms, 0270ms total)
03-00000000-00-00000273-003B: Firmware: J-Link ARM-Pro V1.x compiled Dec 3 2013 14:20:30
02-00000000-00-00000273-004F: T0E80 001:915 JLINK_GetHardwareVersion() returns 0x2AF8 (0000ms, 0270ms total)
03-00000000-00-00000274-000F: Hardware: V1.10
03-00000000-00-00000274-000E: S/N: 171100131
03-00000000-00-00000274-002E: Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
02-00000000-00-00000274-0049: T0E80 001:916 JLINK_GetHWStatus(...) returns 0x00 (0000ms, 0271ms total)
02-00000000-00-00000275-003C: T0E80 001:917 JLINK_EnableSoftBPs(ON) (0000ms, 0272ms total)
03-00000000-00-00000275-001A: Checking target voltage...
03-00000000-00-00000275-0016: Target voltage: 3.10 V
03-00000000-00-00000275-001D: Listening on TCP/IP port 2331
03-00000000-00-00000275-0017: Connecting to target...
02-00000000-00-00000275-0035: T0E80 001:917 JLINK_ClrError() (0000ms, 0272ms total)
02-00000000-00-00000276-0049: T0E80 001:917 JLINK_GetHWStatus(...) returns 0x00 (0001ms, 0273ms total)
02-00000000-00-00000279-0056: T0E80 001:918 JLINK_TIF_Select(JLINKARM_TIF_JTAG) returns 0x00 (0003ms, 0276ms total)
03-00000000-00-00000288-0099: WARNING: Single device found in JTAG chain, but configuration has DRPost = 2, IRPost = 9. These values must be 0 for a single device and will be ignored.
02-00000000-00-00000288-01A1: T0E80 001:921 JLINK_SetSpeed(0)******************************************************J-Link script: iMX6 SoloX Cortex-A9 core J-Link script****************************************************** >0x48 JTAG> >0x2F8 JTAG>TotalIRLen = 5, IRPrint = 0x01 >0x30 JTAG> >0x210 JTAG>Single device found in JTAG chain, but configuration has DRPost = 2, IRPost = 9. These values must be 0 for a single device and will be ignored.
02-00000000-00-00000352-002E: ***** Error: CPU-TAP not found in JTAG chain
03-00000000-00-00000358-0099: WARNING: Single device found in JTAG chain, but configuration has DRPost = 2, IRPost = 9. These values must be 0 for a single device and will be ignored.
02-00000000-00-00000358-0182: ******************************************************J-Link script: iMX6 SoloX Cortex-A9 core J-Link script****************************************************** >0x48 JTAG> >0x2F8 JTAG>TotalIRLen = 5, IRPrint = 0x01 >0x30 JTAG> >0x210 JTAG>Single device found in JTAG chain, but configuration has DRPost = 2, IRPost = 9. These values must be 0 for a single device and will be ignored.
02-00000000-00-00000358-0045: ***** Error: CPU-TAP not found in JTAG chain (0079ms, 0355ms total)
03-00000000-00-00000358-0026: ERROR: CPU-TAP not found in JTAG chain
02-00000000-00-00000358-0044: T0E80 002:000 JLINK_GetSpeed() returns 0x3E8 (0000ms, 0355ms total)
02-00000000-00-00000358-0077: T0E80 002:000 JLINK_SetResetType(JLINKARM_RESET_TYPE_NORMAL) returns JLINKARM_RESET_TYPE_NORMAL (0000ms, 0355ms total)
02-00000000-00-00000358-003B: T0E80 002:000 JLINK_SetResetDelay(0) (0000ms, 0355ms total)
02-00000000-00-00000359-0055: T0E80 002:001 JLINK_SetEndian(ARM_ENDIAN_LITTLE) returns 0x00 (0000ms, 0356ms total)
03-00000000-00-00000368-0099: WARNING: Single device found in JTAG chain, but configuration has DRPost = 2, IRPost = 9. These values must be 0 for a single device and will be ignored.
02-00000000-00-00000368-019F: T0E80 002:001 JLINK_Connect()******************************************************J-Link script: iMX6 SoloX Cortex-A9 core J-Link script****************************************************** >0x48 JTAG> >0x2F8 JTAG>TotalIRLen = 5, IRPrint = 0x01 >0x30 JTAG> >0x210 JTAG>Single device found in JTAG chain, but configuration has DRPost = 2, IRPost = 9. These values must be 0 for a single device and will be ignored.
02-00000000-00-00000432-002E: ***** Error: CPU-TAP not found in JTAG chain
03-00000000-00-00000438-0099: WARNING: Single device found in JTAG chain, but configuration has DRPost = 2, IRPost = 9. These values must be 0 for a single device and will be ignored.
02-00000000-00-00000438-0182: ******************************************************J-Link script: iMX6 SoloX Cortex-A9 core J-Link script****************************************************** >0x48 JTAG> >0x2F8 JTAG>TotalIRLen = 5, IRPrint = 0x01 >0x30 JTAG> >0x210 JTAG>Single device found in JTAG chain, but configuration has DRPost = 2, IRPost = 9. These values must be 0 for a single device and will be ignored.
02-00000000-00-00000438-0059: ***** Error: CPU-TAP not found in JTAG chain returns 0xFFFFFEFB (0079ms, 0435ms total)
03-00000000-00-00000438-0026: ERROR: CPU-TAP not found in JTAG chain
03-00000000-00-00000438-0023: ERROR: Could not connect to target.
03-00000000-00-00000439-0035: Target connection failed. GDBServer will be closed...
02-00000000-00-00002402-0049: T10CC 004:044 JLINK_GetHWStatus(...) returns 0x00 (0000ms, 0435ms total)
03-00000000-00-00002449-0037: Restoring target state and closing J-Link connection...
02-00000000-00-00002449-0041: T0E80 004:091 JLINK_IsOpen() returns 0x01 (0000ms, 0435ms total)
02-00000000-00-00002449-0056: T0E80 004:091 JLINK_ExecCommand("ClrAllBPs", ...) returns 0x00 (0000ms, 0435ms total)
03-00000000-00-00002473-0010: Shutting down...
Thanks,
Brian
My web searches failed to turn up any hits. I would appreciate any insights and suggestions.
The GDBServer log content is:
SEGGER J-Link GDB Server V5.10c LogFile
Logging started @ 2015-12-09 14:40
03-00000000-00-00000000-001F: SEGGER J-Link GDB Server V5.10c
03-00000000-00-00000000-000C: GUI Version
03-00000000-00-00000000-0037: JLinkARM.dll V5.10c (DLL compiled Dec 4 2015 17:25:20)
03-00000000-00-00000001-0023: -----GDB Server start settings-----
03-00000000-00-00000001-0023: GDBInit file: none
03-00000000-00-00000001-0023: GDB Server Listening port: 2331
03-00000000-00-00000001-0023: SWO raw output listening port: 2332
03-00000000-00-00000001-0023: Terminal I/O port: 2333
03-00000000-00-00000001-002D: Accept remote connection: localhost only
03-00000000-00-00000001-0021: Generate logfile: on
03-00000000-00-00000001-0022: Verify download: off
03-00000000-00-00000001-0021: Init regs on start: on
03-00000000-00-00000001-0022: Silent mode: off
03-00000000-00-00000001-0022: Single run mode: off
03-00000000-00-00000001-0026: Target connection timeout: 5000 ms
03-00000000-00-00000001-0023: ------J-Link related settings------
03-00000000-00-00000001-0022: J-Link Host interface: USB
03-00000000-00-00000001-0045: J-Link script: iMX6SoloX_Connect_CortexA9.JLinkScript
03-00000000-00-00000001-0023: J-Link settings file: none
03-00000000-00-00000001-0023: ------Target related settings------
03-00000000-00-00000001-0028: Target device: Cortex-A9
03-00000000-00-00000001-0023: Target interface: JTAG
03-00000000-00-00000001-0023: Target interface speed: auto
03-00000000-00-00000001-0025: Target endian: little
03-00000000-00-00000002-0017: Connecting to J-Link...
02-00000000-00-00000008-003B: Firmware: J-Link ARM-Pro V1.x compiled Dec 3 2013 14:20:30
02-00000000-00-00000008-000F: Hardware: V1.10
02-00000000-00-00000008-000E: S/N: 171100131
02-00000000-00-00000268-0053: Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB returns O.K. (0266ms, 0266ms total)
03-00000000-00-00000268-0014: J-Link is connected.
02-00000000-00-00000271-005F: T0E80 001:910 JLINK_ExecCommand("device = Cortex-A9", ...) returns 0x00 (0003ms, 0269ms total)
02-00000000-00-00000271-0068: T0E80 001:913 JLINK_ExecCommand("SetFlashRewriteBehavior = 1", ...) returns 0x00 (0000ms, 0269ms total)
02-00000000-00-00000273-0080: T0E80 001:914 JLINK_ExecCommand("ScriptFile = iMX6SoloX_Connect_CortexA9.JLinkScript", ...) returns 0x00 (0001ms, 0270ms total)
02-00000000-00-00000273-0041: T0E80 001:915 JLINK_GetFirmwareString(...) (0000ms, 0270ms total)
03-00000000-00-00000273-003B: Firmware: J-Link ARM-Pro V1.x compiled Dec 3 2013 14:20:30
02-00000000-00-00000273-004F: T0E80 001:915 JLINK_GetHardwareVersion() returns 0x2AF8 (0000ms, 0270ms total)
03-00000000-00-00000274-000F: Hardware: V1.10
03-00000000-00-00000274-000E: S/N: 171100131
03-00000000-00-00000274-002E: Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
02-00000000-00-00000274-0049: T0E80 001:916 JLINK_GetHWStatus(...) returns 0x00 (0000ms, 0271ms total)
02-00000000-00-00000275-003C: T0E80 001:917 JLINK_EnableSoftBPs(ON) (0000ms, 0272ms total)
03-00000000-00-00000275-001A: Checking target voltage...
03-00000000-00-00000275-0016: Target voltage: 3.10 V
03-00000000-00-00000275-001D: Listening on TCP/IP port 2331
03-00000000-00-00000275-0017: Connecting to target...
02-00000000-00-00000275-0035: T0E80 001:917 JLINK_ClrError() (0000ms, 0272ms total)
02-00000000-00-00000276-0049: T0E80 001:917 JLINK_GetHWStatus(...) returns 0x00 (0001ms, 0273ms total)
02-00000000-00-00000279-0056: T0E80 001:918 JLINK_TIF_Select(JLINKARM_TIF_JTAG) returns 0x00 (0003ms, 0276ms total)
03-00000000-00-00000288-0099: WARNING: Single device found in JTAG chain, but configuration has DRPost = 2, IRPost = 9. These values must be 0 for a single device and will be ignored.
02-00000000-00-00000288-01A1: T0E80 001:921 JLINK_SetSpeed(0)******************************************************J-Link script: iMX6 SoloX Cortex-A9 core J-Link script****************************************************** >0x48 JTAG> >0x2F8 JTAG>TotalIRLen = 5, IRPrint = 0x01 >0x30 JTAG> >0x210 JTAG>Single device found in JTAG chain, but configuration has DRPost = 2, IRPost = 9. These values must be 0 for a single device and will be ignored.
02-00000000-00-00000352-002E: ***** Error: CPU-TAP not found in JTAG chain
03-00000000-00-00000358-0099: WARNING: Single device found in JTAG chain, but configuration has DRPost = 2, IRPost = 9. These values must be 0 for a single device and will be ignored.
02-00000000-00-00000358-0182: ******************************************************J-Link script: iMX6 SoloX Cortex-A9 core J-Link script****************************************************** >0x48 JTAG> >0x2F8 JTAG>TotalIRLen = 5, IRPrint = 0x01 >0x30 JTAG> >0x210 JTAG>Single device found in JTAG chain, but configuration has DRPost = 2, IRPost = 9. These values must be 0 for a single device and will be ignored.
02-00000000-00-00000358-0045: ***** Error: CPU-TAP not found in JTAG chain (0079ms, 0355ms total)
03-00000000-00-00000358-0026: ERROR: CPU-TAP not found in JTAG chain
02-00000000-00-00000358-0044: T0E80 002:000 JLINK_GetSpeed() returns 0x3E8 (0000ms, 0355ms total)
02-00000000-00-00000358-0077: T0E80 002:000 JLINK_SetResetType(JLINKARM_RESET_TYPE_NORMAL) returns JLINKARM_RESET_TYPE_NORMAL (0000ms, 0355ms total)
02-00000000-00-00000358-003B: T0E80 002:000 JLINK_SetResetDelay(0) (0000ms, 0355ms total)
02-00000000-00-00000359-0055: T0E80 002:001 JLINK_SetEndian(ARM_ENDIAN_LITTLE) returns 0x00 (0000ms, 0356ms total)
03-00000000-00-00000368-0099: WARNING: Single device found in JTAG chain, but configuration has DRPost = 2, IRPost = 9. These values must be 0 for a single device and will be ignored.
02-00000000-00-00000368-019F: T0E80 002:001 JLINK_Connect()******************************************************J-Link script: iMX6 SoloX Cortex-A9 core J-Link script****************************************************** >0x48 JTAG> >0x2F8 JTAG>TotalIRLen = 5, IRPrint = 0x01 >0x30 JTAG> >0x210 JTAG>Single device found in JTAG chain, but configuration has DRPost = 2, IRPost = 9. These values must be 0 for a single device and will be ignored.
02-00000000-00-00000432-002E: ***** Error: CPU-TAP not found in JTAG chain
03-00000000-00-00000438-0099: WARNING: Single device found in JTAG chain, but configuration has DRPost = 2, IRPost = 9. These values must be 0 for a single device and will be ignored.
02-00000000-00-00000438-0182: ******************************************************J-Link script: iMX6 SoloX Cortex-A9 core J-Link script****************************************************** >0x48 JTAG> >0x2F8 JTAG>TotalIRLen = 5, IRPrint = 0x01 >0x30 JTAG> >0x210 JTAG>Single device found in JTAG chain, but configuration has DRPost = 2, IRPost = 9. These values must be 0 for a single device and will be ignored.
02-00000000-00-00000438-0059: ***** Error: CPU-TAP not found in JTAG chain returns 0xFFFFFEFB (0079ms, 0435ms total)
03-00000000-00-00000438-0026: ERROR: CPU-TAP not found in JTAG chain
03-00000000-00-00000438-0023: ERROR: Could not connect to target.
03-00000000-00-00000439-0035: Target connection failed. GDBServer will be closed...
02-00000000-00-00002402-0049: T10CC 004:044 JLINK_GetHWStatus(...) returns 0x00 (0000ms, 0435ms total)
03-00000000-00-00002449-0037: Restoring target state and closing J-Link connection...
02-00000000-00-00002449-0041: T0E80 004:091 JLINK_IsOpen() returns 0x01 (0000ms, 0435ms total)
02-00000000-00-00002449-0056: T0E80 004:091 JLINK_ExecCommand("ClrAllBPs", ...) returns 0x00 (0000ms, 0435ms total)
03-00000000-00-00002473-0010: Shutting down...
Thanks,
Brian