Search found 55 matches

by Christian Walther
Sun Sep 15, 2019 9:19 am
Forum: General Discussion and Questions
Topic: displaying byte data with REPL
Replies: 3
Views: 95

Re: displaying byte data with REPL

Code: Select all

>>> import ubinascii
>>> ubinascii.hexlify(b'9\x9f', ' ')
b'39 9f'
by Christian Walther
Sat Sep 14, 2019 8:12 am
Forum: General Discussion and Questions
Topic: Asking for Advice: Using SciPy Libraries and a MicroPython Board to create a Graphing Calculator
Replies: 3
Views: 101

Re: Asking for Advice: Using SciPy Libraries and a MicroPython Board to create a Graphing Calculator

Or a NumWorks , which even comes with source code for both firmware and hardware. Unfortunately I don’t know the answers to your questions because I stopped pursuing them myself after I got the NumWorks (which I haven’t done much with either). I suspect you are going to have some trouble adapting Sc...
by Christian Walther
Sun Sep 08, 2019 8:25 pm
Forum: ESP32 boards
Topic: How to use usb mass storage in ESP32?
Replies: 5
Views: 190

Re: How to use usb mass storage in ESP32?

So, you don’t want the ESP to act as a mass storage device, but you want it to use another mass storage device? Regardless, that won’t work either due to the missing USB. I’m not sure if any MicroPython platform has drivers for that, even those that do have USB. Assuming that your RS232 interface is...
by Christian Walther
Tue Aug 06, 2019 7:33 pm
Forum: ESP8266 boards
Topic: Micropython crashing and rebooting every 9seconds
Replies: 22
Views: 585

Re: Micropython crashing and rebooting every 9seconds

There is, if you want to rebuild the firmware (it’s done in ports/esp8266/modules/inisetup.py called from _boot.py), but I’m not sure you need to – you can just disable it on the REPL after flashing, and it will stay off.
by Christian Walther
Tue Aug 06, 2019 7:21 pm
Forum: General Discussion and Questions
Topic: ESP32: How to send files from internal flash to PC
Replies: 7
Views: 257

Re: ESP32: How to send files from internal flash to PC

Did you make more progress with https://github.com/micropython/micropython/pull/3034#issuecomment-492205467 This sounds like it would be really useful for the device-initiated case described here? Yes, you are right, if the PC can be online all the time that could be used too. No, I haven’t spent a...
by Christian Walther
Tue Aug 06, 2019 2:33 pm
Forum: General Discussion and Questions
Topic: ESP32: How to send files from internal flash to PC
Replies: 7
Views: 257

Re: ESP32: How to send files from internal flash to PC

If you can live with initiating the transfer from the PC side (it sounds like you want the opposite), the WebREPL is the easiest way to transfer files wirelessly from and to ESP boards, using either the HTML or command-line client. If you need to initiate the transfer from the microcontroller side, ...
by Christian Walther
Mon Aug 05, 2019 9:43 am
Forum: ESP32 boards
Topic: rshell Wireless port?
Replies: 2
Views: 190

Re: rshell Wireless port?

You would have to add WebREPL support. I’m not familiar with rshell internals, but I assume if it already supports two different transports, adding a third one shouldn’t be that hard. However, you may run into the problem that the current WebREPL protocol is not 8-bit clean, as I did here . If you h...
by Christian Walther
Tue Jul 30, 2019 10:58 am
Forum: ESP8266 boards
Topic: How to encrypt a file?
Replies: 9
Views: 395

Re: How to encrypt a file?

As far as I have read another reason is that it wears out the flash because it always writes to the same sector.
by Christian Walther
Fri Jul 05, 2019 6:39 pm
Forum: General Discussion and Questions
Topic: reconfigure UART on the ESP8266
Replies: 5
Views: 240

Re: reconfigure UART on the ESP8266

Good point (and that was also the reason why I still haven’t tested it). I was specifically referring to the OP’s ESP-01 module, which does not include a USB-to-serial converter.
by Christian Walther
Fri Jul 05, 2019 5:13 pm
Forum: General Discussion and Questions
Topic: reconfigure UART on the ESP8266
Replies: 5
Views: 240

Re: reconfigure UART on the ESP8266

I probably misunderstood what you meant by “reconfigure”. What I’m saying is that you cannot use other pins than 1 and 3 for UART 0. However, you should indeed be able to use pins 1 and 3 for other purposes than UART 0. (If there is anything else to discuss, let’s continue in the other topic you ope...