Search found 1368 matches

by Roberthh
Wed May 24, 2017 2:34 pm
Forum: ESP8266 boards
Topic: Weemos Mini Lite works well but hard resets when entering REPL
Replies: 15
Views: 3257

Re: Weemos Mini Pro works well but hard resets when entering REPL

That could be a problem of DTR etc flow control. Have you set your terminal emulator for flow control = None?
by Roberthh
Sun May 21, 2017 4:10 pm
Forum: Programs, Libraries and Tools
Topic: Development Environment and Workflow for MicroPython
Replies: 15
Views: 6466

Re: Development Environment and Workflow for MicroPython

The top level directory on the ESP8266 can with rshell also be accessed as /pyboard, even if that directory does not exist on your device. So a command:
ls /pyboard
will list the tld of your device.
by Roberthh
Sat May 20, 2017 1:38 pm
Forum: Programs, Libraries and Tools
Topic: Development Environment and Workflow for MicroPython
Replies: 15
Views: 6466

Re: Development Environment and Workflow for MicroPython

I just tried LoPy with rshell, just to confirm Peter's statement. Lopy worked with the USB connection, calling it up with: rshell -p /dev/ttyUSB0 --buffer-size 30 That allows you to see and access the board on the file on the directory /flash. The buffer-size option is important. On the pycom device...
by Roberthh
Tue May 16, 2017 5:40 am
Forum: Programs, Libraries and Tools
Topic: rshell - Remote Shell
Replies: 53
Views: 24264

Re: rshell - Remote Shell

@pythoncode: In rshell, just issue the boards command. I get the following: Welcome to rshell. Use Control-D to exit. /home/robert> boards pyboard @ /dev/ttyUSB0 connected Dirs: /boot.py /main.py /ftp.py /name_bug.py /sh1106_t.py /ticks_bug.py /disp_f.py /pyboard/boot.py /pyboard/main.py /pyboard/ft...
by Roberthh
Mon May 15, 2017 7:27 pm
Forum: Programs, Libraries and Tools
Topic: rshell - Remote Shell
Replies: 53
Views: 24264

Re: rshell - Remote Shell

I just tried again rshell and ESP866 (Wemos D1 Mini), and it worked like you told, Dave rshell --buffer-size 32 -p /dev/ttyUSB0 The files on the ESP8266 are available under /pyboard/xxxx. I can copy in & out files, edit them, and start repl and leave it. Only the boards command responds a little bit...
by Roberthh
Sun May 14, 2017 3:19 pm
Forum: ESP8266 boards
Topic: Building Micropython for ESP8266
Replies: 11
Views: 3518

Re: Building Micropython for ESP8266

Was this other ESP8266 the same model or a different one? I could be interesting if certain models have issues. From what I read, the esp-14 has an additional STM8S003F3P6, which controls the link to the ESP8266. That might be a source of trouble.
by Roberthh
Sat May 13, 2017 8:07 pm
Forum: ESP8266 boards
Topic: Building Micropython for ESP8266
Replies: 11
Views: 3518

Re: Building Micropython for ESP8266

My image file size is 596 kByte, but it has a lot frozen bytecode included. The esptool.py I use here for esp8266 is V1.3 And you're right. erase_flash does not support additional options. So erase should just be: esptool.py --port=/dev/ttyUSB0 --baud 460800 erase_flash The command which is finally ...
by Roberthh
Sat May 13, 2017 3:07 pm
Forum: ESP8266 boards
Topic: Building Micropython for ESP8266
Replies: 11
Views: 3518

Re: Building Micropython for ESP8266

To adjust to 1Mbyte flash, you have to specify -fs=8m or -fs=detect instead of -fsd=32m in the esptool.py command, which loads the image. in order to erase the flash, you can issue the command: esptool.py --port=/dev/ttyUSB0 --baud 460800 erase_flash -fm=dio -fs=4m The file system will be built at t...
by Roberthh
Sat May 13, 2017 12:36 pm
Forum: ESP8266 boards
Topic: Building Micropython for ESP8266
Replies: 11
Views: 3518

Re: Building Micropython for ESP8266

I used the instructions in micropython/esp8266/README.me, which are basically the same. The are some simplifications: to load the firmware, just issue the command: make PORT=/dev/ttyUSB0 deploy after make. You may also before loading the firmware erase the flash. That is possible with: make PORT=/de...