How read dump logs type: panic.
How read dump logs type: panic.
Sorry for the obvious question for you. How to read dump panic'ed logs? Thanks.
Re: How read dump logs type: panic.
You can use a tool like rshell (or ampy or thonny) and cat the file.
Or you can write some code in python to read the file.
If pyboard.py works with your board, you could do something like this: and put that in a file on your local machine and then execute it on your board using pyboard,py
Or you can write some code in python to read the file.
If pyboard.py works with your board, you could do something like this:
Code: Select all
with open('/flash/panic.log', 'r') as logfile:
for line in logfile:
print(line)