Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/camera-webrtc-provider' into cam…
Browse files Browse the repository at this point in the history
…era-webrtc-provider
  • Loading branch information
gmarcosb committed Sep 25, 2024
2 parents c04a7ad + 31f3a3d commit 3757f4e
Showing 1 changed file with 11 additions and 30 deletions.
41 changes: 11 additions & 30 deletions docs/guides/nxp/nxp_manufacturing_flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,34 +137,14 @@ Here is the interpretation of the **optional** parameters:

## 3. Write provisioning data

For the **K32W0x1** variants, the binary needs to be written in the internal
flash at location **0x9D600** using `DK6Programmer.exe`:

```shell
DK6Programmer.exe -Y -V2 -s <COM_PORT> -P 1000000 -Y -p FLASH@0x9D600="factory_data.bin"
```

For **K32W1** platform, the binary needs to be written in the internal flash at
location given by **0xFE080**, using `JLink`:

```
loadfile factory_data.bin 0xFE080
```

For **RW61X** platform, the binary needs to be written in the internal flash at
location given by `__MATTER_FACTORY_DATA_START`, using `JLink`:

```
loadfile factory_data.bin 0xBFFF000
```

where `0xBFFF000` is the value of `__FACTORY_DATA_START` in the corresponding
.map file (can be different if using a custom linker script).

For the **RT1060** and **RT1170** platform, the binary needs to be written using
`MCUXpresso Flash Tool GUI` at the address value corresponding to
`__FACTORY_DATA_START` (the map file of the application should be checked to get
the exact value).
| platform | tool | command | details |
| --------- | -------------------------------- | ------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------- |
| `k32w0x1` | `DK6Programmer.exe` or `dk6prog` | `DK6Programmer.exe -Y -V2 -s <COM_PORT> -P 1000000 -Y -p FLASH@0x9D600="factory_data.bin"` | NA |
| `k32w1` | `JLink` | `loadfile factory_data.bin 0xFE080` | NA |
| `mcxw71` | `JLink` | `loadfile factory_data.bin 0xFE080` | NA |
| `rw61x` | `JLink` | `loadfile factory_data.bin 0xBFFF000` | Here, `0xBFFF000` is the value of symbol `__FACTORY_DATA_START` from the corresponding `.map` file |
| `rt1060` | `MCUXpresso Flash Tool GUI` | NA | The address is given by the `__FACTORY_DATA_START` symbol in the `.map` file |
| `rt1170` | `MCUXpresso Flash Tool GUI` | NA | The address is given by the `__FACTORY_DATA_START` symbol in the `.map` file |

## 4. Build app and usage

Expand Down Expand Up @@ -202,11 +182,12 @@ Also, demo **DAC**, **PAI** and **PAA** certificates needed in case

## 6. Increased security for DAC private key

### 6.1 K32W1
### 6.1 SSS-based platforms

Supported platforms:

- K32W1 - `src/plaftorm/nxp/k32w1/FactoryDataProviderImpl.h`
- `k32w1`
- `mcxw71`

For platforms that have a secure subsystem (`SSS`), the DAC private key can be
converted to an encrypted blob. This blob will overwrite the DAC private key in
Expand Down

0 comments on commit 3757f4e

Please sign in to comment.