xflash_dump.h 466 B

1234567891011121314
  1. // XFLASH dumper
  2. #pragma once
  3. #include "xflash_layout.h"
  4. #ifdef XFLASH_DUMP
  5. void xfdump_reset(); // reset XFLASH dump state
  6. bool xfdump_check_state(); // return true if a dump is present
  7. bool xfdump_check_crash(); // return true if a dump is present and is a crash dump
  8. void xfdump_dump(); // create a new SRAM memory dump
  9. // create a new dump containing registers and SRAM, then reset
  10. void xfdump_full_dump_and_reset(bool crash = false);
  11. #endif