My target device is MK10DX128xxx5 over SWD. On trying to load code, I only get this far:
Load "C:\\work\\freescale\\Bluetopia_K10\\Samples\\Swatch1B\\projects\\uv4\\Objects\\Swatch1B.axf" Set JLink Project File to "C:\work\freescale\Bluetopia_K10\Samples\Swatch1B\projects\uv4\JLinkSettings.ini" * JLink Info: Device "MK10DX128XXX5" selected (160 KB flash, 16 KB RAM). JLink info: ------------ DLL: V4.74a, compiled Jul 23 2013 08:47:58 Firmware: J-Link V9 compiled Jan 10 2014 19:51:25 Hardware: V9.00 S/N : [REDACTED] Feature(s) : GDB * JLink Info: Found SWD-DP with ID 0x2BA01477 * JLink Info: Found SWD-DP with ID 0x2BA01477 * JLink Info: TPIU fitted. * JLink Info: ETM fitted. * JLink Info: ETB present. * JLink Info: CSTF present. * JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots * JLink Info: Found Cortex-M4 r0p1, Little endian. Found SWD-DP with ID 0x2BA01477 Unlocking device... ROMTableAddr = 0xE00FF003
... Followed by an "Unknown Error" popup and "Error: Flash download failed".
The last few lines of JLinkLog.txt suggest it's failing to read memory:
T1754 000:476 JLINK_GetDeviceFamily() returns 14 (0000ms, 0243ms total) T1754 000:478 JLINK_ReadMem (0xE00FFFF0, 0x0010 Bytes, ...) -- CPU is running -- CPU_ReadMem(16 bytes @ 0xE00FFFF0) -- Data: AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA returns 0x01 (0003ms, 0246ms total) T1754 000:481 JLINK_ReadMem (0xE00FFFD0, 0x0020 Bytes, ...) -- CPU is running -- CPU_ReadMem(32 bytes @ 0xE00FFFD0) -- Data: AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA ... returns 0x01 (0002ms, 0248ms total) T1754 022:172 JLINK_Close() >0x42 TIF> >0x28 TIF> >0x0D TIF> >0x21 TIF> (0019ms, 0267ms total) T1754 022:192 JLINK_Close() (0000ms, 0267ms total) T1754 022:193 JLINK_Close() (0000ms, 0267ms total)
... in the past this has worked when I set the target type to Generic Cortex-M4, but that type is no longer available after my most recent license renewal. Does this sound familiar to anyone?