Ampy -p COM1 reset /not restarting board
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- BoKKeR
- Posts: 2
- Joined: Mon Jan 15, 2018 9:47 am
Ampy -p COM1 reset /not restarting board
Hey, I am using ampy to manage my files on both esp32 and 8266. Everything works except the reset that just stops the script instead of restarting the board. did anyone get it to work? any workarounds? I am asking because I am working on an ampyGUI and this would help with the automatization.
- jerryn
- Posts: 1869
- Joined: Sat Sep 14, 2013 9:05 am
Re: Ampy -p COM1 reset /not restarting board
I tried ampy -p /dev/ttyUSB0 reset on an esp8266 and it appears to execute a "soft" reset. Looking at the ampy code https://github.com/adafruit/ampy, it just enters/exits the Raw REPL to induce the RESET.
I also tried:
ampy -- /dev/ttyUSB0 ls
and it also resulted in a soft reset of the board after providing the file listing.
I also tried:
ampy -- /dev/ttyUSB0 ls
and it also resulted in a soft reset of the board after providing the file listing.
- BoKKeR
- Posts: 2
- Joined: Mon Jan 15, 2018 9:47 am
Re: Ampy -p COM1 reset /not restarting board
Looking at the source I see that its true. I made a dirty hack and submited a Issue on github
https://github.com/adafruit/ampy/issues/38
https://github.com/adafruit/ampy/issues/38
Please be positive and constructive with your questions and comments.