JoshuaThompsonSS / todo

Testing
0 stars 0 forks source link

CSR - use signature in development environment Inbox x #32

Closed JoshuaThompsonSS closed 7 years ago

JoshuaThompsonSS commented 7 years ago

the easiest/quickest way to use the signature, should be to use the same signature the dfu files already have.

So for that, and the RIGHT shoe, you need to:

  1. You copied a folder to your desktop: RIGHTshoe_ota_files, copy this folder to your C:\ maybe the location makes a difference
  2. Erase the flash completely
  3. Use BlueFlash to download RIGHTshoe_ota_files\initial\merge.xpv (or xdv) only one of those files will show on your Blueflash window.
  4. Use PsTool to merge RIGHTshoe_ota_files\initial\pskeys_with_key.psr

-- The above makes the board be running code, with the loader and stack signed.

  1. On XIDE, go to Project Properties-Firmware and type the location to stack_signed : C:\your location\RIGHTshoe_ota_files\adk_fw.signed\stack_signed do NOT include the file extension. Click OK

  2. Do Clean build 7.Rebuild the project 8.Run -- the above will make the project use the stack signed with the same signature and same stack that is running on the board.

  3. use combo 5.bin to transfer, this file was built with the same stack and it signed with the same signature.

JoshuaThompsonSS commented 7 years ago

works