Updated Debug (markdown)

Mark Thompson 2023-07-06 08:38:54 -05:00
parent 37b5c5a9cb
commit 0c08dffb94

@ -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. 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) ![SCR_0013](https://github.com/eried/portapack-mayhem/assets/125336/1415257f-e322-428c-801d-71977603640e)
### Pmem ### P. Memory
Displays the contents of the persitent memory area. (256 bytes) 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. 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) 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. 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.