1. 01 Oct, 2019 1 commit
  2. 20 Aug, 2019 1 commit
  3. 18 Aug, 2019 1 commit
    • Rahix's avatar
      fix(api): Reset FPU before loading a new payload · e924ecee
      Rahix authored
      Without resetting the FPU we get spurious failures in Pycardium.  These
      manifest in many different forms, ranging from HardFaults and triggered
      assertions to "syntax errors" in loaded scripts while said script does
      not contain any.
      These failures stem from the FPU still containing state from the last
      loaded payload and thus sometimes corrupting stack locations where the
      previous payload had floating point state.
      Closes #72.
      Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
  4. 16 Aug, 2019 1 commit
  5. 15 Aug, 2019 1 commit
    • Rahix's avatar
      feat(epicardium): Implement basic core 1 lifecycle · 3b9393fe
      Rahix authored
      This commit introduces a way to control core 1.  This is archieved by a
      predefined API-Interrupt:  The reset interrupt.  When triggered, it will
      bring the core back into its default state and wait for a new vector
      address from Epicardium.  Once this vector address is transferred, it
      will start the new payload.
      This method only works as long as core 1 is responsive to the API
      interrupts.  Cases where this might not be the case:
        - During times where core 1 has interrupts disabled
        - When in a higher priority exception handler
        - When core 1 has corrupted its IVT
      Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>