Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Zephyr for MIMXRT1160-EVK and MIMXRT1170-EVK boards #11

Open
alkavan opened this issue Jan 28, 2023 · 0 comments
Open

add Zephyr for MIMXRT1160-EVK and MIMXRT1170-EVK boards #11

alkavan opened this issue Jan 28, 2023 · 0 comments

Comments

@alkavan
Copy link

alkavan commented Jan 28, 2023

I see that Zephyr now support both boards:

NXP MIMXRT1166DVM6A MCU page.

... I'm trying with the mimxrt1060_evk but it does not work.

When upload the simple blink example for Zephyr
with debug_tool = jlink and upload_protocol = jlink (SWD):

Processing mimxrt1060_evk (platform: nxpimxrt; board: mimxrt1060_evk; framework: zephyr)

Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/nxpimxrt/mimxrt1060_evk.html
PLATFORM: NXP i.MX RT (5.2.0) > NXP i.MX RT1060 Evaluation Kit
HARDWARE: MIMXRT1062DVL6A 600MHz, 32MB RAM, 8MB Flash
DEBUG: Current (jlink) On-board (jlink) External (blackmagic)
PACKAGES: 
 - framework-zephyr @ 2.20701.220422 (2.7.1) 
 - tool-cmake @ 3.21.3 
 - tool-dtc @ 1.4.7 
 - tool-gperf @ 3.0.4 
 - tool-jlink @ 1.77001.0 (7.70.1) 
 - tool-ninja @ 1.7.1 
 - toolchain-gccarmnoneeabi @ 1.70201.0 (7.2.1)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 0 compatible libraries
Scanning dependencies...
No dependencies
Building in release mode
Checking size .pio/build/mimxrt1060_evk/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [          ]   0.0% (used 4018 bytes from 33554432 bytes)
Flash: [          ]   0.2% (used 13642 bytes from 8388608 bytes)
Configuring upload protocol...
AVAILABLE: blackmagic, jlink, mbed
CURRENT: upload_protocol = jlink
Uploading .pio/build/mimxrt1060_evk/firmware.bin
SEGGER J-Link Commander V7.70a (Compiled Aug 10 2022 16:32:44)
DLL version V7.70a, compiled Aug 10 2022 16:32:29


J-Link Command File read successfully.
Processing script file...
J-Link>h
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 2022 11:14:50
Hardware version: V9.20
J-Link uptime (since boot): N/A (Not supported by this model)
S/N: 25952344
License(s): RDI, GDB, FlashDL, FlashBP, JFlash
VTref=3.287V
Target connection not established yet but required for command.
Device "MIMXRT1062XXX6A" selected.


Connecting to target via SWD
InitTarget() start
InitTarget() end
Failed to attach to CPU. Trying connect under reset.
InitTarget() start
InitTarget() end
InitTarget() start
InitTarget() end
InitTarget() start
InitTarget() end
Cannot connect to target.
J-Link>loadbin .pio/build/mimxrt1060_evk/firmware.bin, 0x0
Target connection not established yet but required for command.
Device "MIMXRT1062XXX6A" selected.


Connecting to target via SWD
InitTarget() start
InitTarget() end
Failed to attach to CPU. Trying connect under reset.
InitTarget() start
InitTarget() end
InitTarget() start
InitTarget() end
InitTarget() start
InitTarget() end
Cannot connect to target.
J-Link>r
Target connection not established yet but required for command.
Device "MIMXRT1062XXX6A" selected.


Connecting to target via SWD
InitTarget() start
InitTarget() end
Failed to attach to CPU. Trying connect under reset.
InitTarget() start
InitTarget() end
InitTarget() start
InitTarget() end
InitTarget() start
InitTarget() end
Cannot connect to target.
J-Link>q

Script processing completed.

 [SUCCESS] Took 5.44 seconds 

Process finished with exit code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant