Author Topic: FlashMagicCortex.Reset usage question  (Read 2324 times)

matterama

  • Jr. Member
  • **
  • Posts: 10
    • View Profile
FlashMagicCortex.Reset usage question
« on: December 28, 2018, 10:23:31 am »
Hello,
We have been using the API successfully to program and verify a LPC1317 device.  We have been manually cycling power on it after programming to continue with our application code.  However, it seems like this command:  FlashMagicCortex.Reset should allow us to reset the chip.  We have tried:

FlashMagicCortex.Reset(ResetTypes.EXECUTE, 0, ResetOptions.THUMB, 500)

and

FlashMagicCortex.Reset(ResetTypes.RESET, 0, ResetOptions.THUMB, 500)

unsuccessfully.

Is this the correct API command to do what we are attempting?  If so, can you give more guidance on this function?

Thank you!