That points pyOCD at these files (which are also in the folder) so that anytime I call a pyOCD script from this folder, it uses this config. Rad. I included that folder in this repo.
That points pyOCD at these files (which are also in the folder) so that anytime I call a pyOCD script from this folder, it uses this config. Rad. I included that folder in this repo.
Now I can do the magic:
Now I can do the magic:
- connect the cmsis-dap tool to the circuit
- connect the cmsis-dap tool to your circuit
- connect the cmsis-dap tool to my computer
- connect the cmsis-dap tool to your computer
- power on my board (the cmsis-dap tool *measures* voltage, it doesn't provide it)
- power on my board (the cmsis-dap tool *measures* voltage, it doesn't provide it)
- open a terminal / command prompt / etc in the pyOCD folder with your config and hex file in it
- open a terminal / command prompt / etc in the pyOCD folder with your config and hex file in it
- run `pyocd flash -t <your target> <your .hex or .bin>`
- run `pyocd flash -t <your target> <your .hex or .bin>`