Different debugging behavior running codes
Posted: Wed Feb 12, 2020 7:13 am
I have to esp32 boards:
- board 1 with espressif esp32-WROOM 32 chip
- board 2 with espressif ESP32-WROVER B chip
On both the same firmware is uploaded.
On both the same code is running with a type error on line 4 (micropython1 instead of micropython).
import machine
import micropython
micropython1.mem_info()
Board 1 REPL output
Ready to download this file,please wait!
.
download ok
exec(open('mem.py').read(),globals())
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<string>", line 4, in <module>
NameError: name 'micropython1' isn't defined
Board 2 REPL output
Ready to download this file,please wait!
.
download ok
exec(open('mem.py').read(),globals())
T
Board 1 is making a debug, while board 2 is giving only an error in a form of T character.
How i can solve the problem? I need to have debugging on all esp boards.
Thanks
david
- board 1 with espressif esp32-WROOM 32 chip
- board 2 with espressif ESP32-WROVER B chip
On both the same firmware is uploaded.
On both the same code is running with a type error on line 4 (micropython1 instead of micropython).
import machine
import micropython
micropython1.mem_info()
Board 1 REPL output
Ready to download this file,please wait!
.
download ok
exec(open('mem.py').read(),globals())
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<string>", line 4, in <module>
NameError: name 'micropython1' isn't defined
Board 2 REPL output
Ready to download this file,please wait!
.
download ok
exec(open('mem.py').read(),globals())
T
Board 1 is making a debug, while board 2 is giving only an error in a form of T character.
How i can solve the problem? I need to have debugging on all esp boards.
Thanks
david