From 0c08dffb94a7d98a8023125628266365bf9090a6 Mon Sep 17 00:00:00 2001 From: Mark Thompson <129641948+NotherNgineer@users.noreply.github.com> Date: Thu, 6 Jul 2023 08:38:54 -0500 Subject: [PATCH] Updated Debug (markdown) --- Debug.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Debug.md b/Debug.md index 5f0570e..971d6be 100644 --- a/Debug.md +++ b/Debug.md @@ -36,11 +36,14 @@ Data is provided by the MAX 2837 (or MAX 2839) on chip digital temperature sens This shows when either the buttons are pressed, the encode knob is turned or the screen is touched. It can also show if the encoder when turned is cleanly stepping the states as it is turned. Note on cheep portapack clones of the encode that is 24 step version can be over sensitive and miss steps. It can be changed with a better-quality version. ![SCR_0013](https://github.com/eried/portapack-mayhem/assets/125336/1415257f-e322-428c-801d-71977603640e) -### Pmem -Displays the contents of the persitent memory area. (256 bytes) +### P. Memory +Displays the contents of the persistent memory area. (256 bytes) It is split into three pages, pages can be changes with the encoder and the current offset from the start of p.mem area is displayed on the top: "XX+" Also on the last page theres some padding with FFs displayed after the p.mem area ends. At the bottom it displays also the current size of the data_t struct (this is what we persist into p.mem) and the currently stored checksum (it is calculated from the first 252 bytes of the p.mem area when changes are made to the settings and then written to the last 4 bytes of p.mem) -The version of the stored config isnt displayed separately but it can be seen as the first 4 bytes of the p.mem area. \ No newline at end of file +The version of the stored config isnt displayed separately but it can be seen as the first 4 bytes of the p.mem area. + +### Debug Dump +Writes a file containing debug information to the DEBUG folder. \ No newline at end of file