Search found 7 matches

by michaelhauser
Sun Jul 08, 2018 6:17 am
Forum: Programs, Libraries and Tools
Topic: rshell can't mkdir or cd into directory on ESP8266
Replies: 11
Views: 8229

Re: rshell can't mkdir or cd into directory on ESP8266

Success with MicroPython on a Heltec WiFi Kit 8 (ESP8266) with DS18b20 talking MQTT! This is a temperature sensor node for a basement ventilation system. Thanks Pythoncoder and Roberthh!
by michaelhauser
Fri Jul 06, 2018 9:07 am
Forum: Programs, Libraries and Tools
Topic: rshell can't mkdir or cd into directory on ESP8266
Replies: 11
Views: 8229

Re: rshell can't mkdir or cd into directory on ESP8266

Did you by change copy a module like os.py from micropython_lib onto your device? That is not needed. uos and it's alias os is a built-in module. An "os" directory with an __init.py__ file was apparently created in the modules directory by one of the pip install commands I ran to install the module...
by michaelhauser
Fri Jul 06, 2018 7:23 am
Forum: Programs, Libraries and Tools
Topic: rshell can't mkdir or cd into directory on ESP8266
Replies: 11
Views: 8229

Re: rshell can't mkdir or cd into directory on ESP8266

Here's my rshell session. Maybe one clue is that from MicroPython os.mkdir fails but uos.mkdir works. Michaels-iMac:~ michael$ rshell -p /dev/cu.SLAB_USBtoUART --buffer-size 30 Connecting to /dev/cu.SLAB_USBtoUART ... Welcome to rshell. Use Control-D to exit. ls /pyboard boot.py /Users/michael> mkdi...
by michaelhauser
Thu Jul 05, 2018 6:29 pm
Forum: Programs, Libraries and Tools
Topic: rshell can't mkdir or cd into directory on ESP8266
Replies: 11
Views: 8229

Re: rshell can't mkdir or cd into directory on ESP8266

My firmware overflowed a segment size of 0xa7000 so I changed it to 0xb7000 and the firmware built successfully. Then I erased and flashed the board. I get the same problem behavior as before (e.g., unable to create subdirectory of /pyboard).
by michaelhauser
Wed Jul 04, 2018 7:30 am
Forum: Programs, Libraries and Tools
Topic: rshell can't mkdir or cd into directory on ESP8266
Replies: 11
Views: 8229

Re: rshell can't mkdir or cd into directory on ESP8266

I just flashed with the prebuilt bin from the website and it seems to fix the problem. It seems like increasing irom0_0_seg in esp8266.ld may have caused the problem behavior. I guess I also need to change something in modesp.c and/or flashbdev.py. I see your post at https://github.com/micropython/m...
by michaelhauser
Wed Jul 04, 2018 6:57 am
Forum: Programs, Libraries and Tools
Topic: rshell can't mkdir or cd into directory on ESP8266
Replies: 11
Views: 8229

Re: rshell can't mkdir or cd into directory on ESP8266

Thanks for the reply pythoncoder. I realized that this board is actually 4MB, so I reflashed using `esptool.py --port /dev/cu.SLAB_USBtoUART --baud 460800 write_flash -fm dio --flash_size=detect 0 firmware-combined.bin` but the behavior is as before. Next I'll try with just the stock Micropython dis...
by michaelhauser
Tue Jul 03, 2018 6:39 am
Forum: Programs, Libraries and Tools
Topic: rshell can't mkdir or cd into directory on ESP8266
Replies: 11
Views: 8229

rshell can't mkdir or cd into directory on ESP8266

I'm just starting to use Micropython on ESP8266 and really enjoying it. I've been using rshell to copy files and run the REPL over USB. I successfully connect rshell running on Mac to a D1 Mini Pro (ESP8266 by RobotDyn) using `rshell -p /dev/cu.SLAB_USBtoUART --buffer-size 30` I can list files using...