Skip to content

Commit

Permalink
Merge pull request #355 from jpbland1/imx-target
Browse files Browse the repository at this point in the history
update docs for the imx-rt1060 config
  • Loading branch information
dgarske authored Aug 23, 2023
2 parents ee628f1 + 92b5c1d commit b8fc5da
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/Targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -1062,22 +1062,44 @@ Use MCUXSDK=1 with this option, since the pack paths are different.

### Testing Update

First make the update partition, pre-triggered for update

```sh
tools/scripts/prepare_update.sh
```

Then connect to the board with JLinkExe, for the rt1050 do:

```sh
# HyperFlash
JLinkExe -if swd -speed 5000 -Device "MIMXRT1052XXX6A"
# QSPI
JLinkExe -if swd -speed 5000 -Device "MIMXRT1052XXX6A?BankAddr=0x60000000&Loader=QSPI"
```

For the rt-1060:

```sh
# HyperFlash
JLinkExe -if swd -speed 5000 -Device "MIMXRT1062XXX6B"
# QSPI
JLinkExe -if swd -speed 5000 -Device "MIMXRT1062XXX6B?BankAddr=0x60000000&Loader=QSPI"
```

Now flash the board:

```sh
loadbin factory.bin 0x60000000
loadbin update.bin 0x60030000
```

### NXP iMX-RT Debugging JTAG / JLINK

```sh
# rt-1050
JLinkGDBServer -Device MIMXRT1052xxx6A -speed 5000 -if swd -port 3333
# rt-1060
JLinkGDBServer -Device MIMXRT1062xxx6B -speed 5000 -if swd -port 3333
arm-none-eabi-gdb
add-symbol-file test-app/image.elf 0x60010100
mon reset init
Expand Down

0 comments on commit b8fc5da

Please sign in to comment.