Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dnandha authored Jul 26, 2024
1 parent 8dcc686 commit ec1f3e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ Like this:
![image](swd_pinout.png)

### Dump flash
Using the Pack file downloaded before:
Using `pyocd` and the Pack file downloaded before:

`python -m pyocd cmd -c savemem 0 0x10000 mcu_fw.bin --pack Linko.LKS08x.1.1.4.pack --target lks32mc081c8t8`

### Modify bin
Copy `mcu_fw.bin` to `mcu_fw_modded.bin` and make changes. See [Change SN](#change-sn) for an example.

### Write bin back to flash
Using the Pack file downloaded before:
Using `pyocd` and the Pack file downloaded before:

`python -m pyocd load mcu_fw_mod.bin --pack Linko.LKS08x.1.1.4.pack --target lks32mc081c8t8`

Expand Down

0 comments on commit ec1f3e8

Please sign in to comment.