Search found 62 matches

by markxr
Mon Jul 11, 2016 10:46 pm
Forum: ESP8266 boards
Topic: FAT filesystem appears to be corrupted
Replies: 13
Views: 11983

Re: FAT filesystem appears to be corrupted

The fs on Micropython on the esp8266 is a FAT filesystem, it's not flash-friendly, in particular, it often overwrites the blocks which contain the directory entries and FATs, which is very bad for flash. Having said that, provide you don't abuse it too much, it should be ok. I have bricked (so far) ...
by markxr
Sun Jul 10, 2016 8:22 pm
Forum: ESP8266 boards
Topic: FAT filesystem appears to be corrupted
Replies: 13
Views: 11983

Re: FAT filesystem appears to be corrupted

There should be some code to detect the flash size, which should not try to put a filesystem on the device if there isn't enough space. I'm pretty sure I've seen this code, browsing the source. If it's creating this error, than that presumably means it's not working, and you should raise a bug. I do...
by markxr
Mon Jul 04, 2016 9:45 am
Forum: General Discussion and Questions
Topic: Using MicroPython in Place of Python?
Replies: 7
Views: 6527

Re: Using MicroPython in Place of Python?

I wouldn't recommend using Micropython instead of Cpython if you can run Cpython. There are plenty of opportunities to reduce the memory and disc footprint of CPython at compile-time, by disabling unused features. Even with almost everything disabled, it will still be much bigger than Micropython, b...
by markxr
Thu Jun 30, 2016 12:36 pm
Forum: ESP8266 boards
Topic: So you want to use the UART...
Replies: 29
Views: 40834

Re: So you want to use the UART...

Is it possible to use the 2nd UART (UART1) ? Or does that send garbage at startup too?

Mark
by markxr
Sat Jun 18, 2016 10:53 am
Forum: ESP8266 boards
Topic: micropython frequency measuring
Replies: 22
Views: 21676

Re: micropython frequency measuring

If you're happy to do busy-waiting, you can just sit in a loop and count pulses. This is not ideal though, as you might miss pulses if they're too fast or the CPU needs to do something else. As you're presumably aware, the esp8266 has other tasks to do on its cpu including handling wifi interrupts. ...
by markxr
Fri Jun 17, 2016 3:03 pm
Forum: ESP8266 boards
Topic: Have I bricked my board?
Replies: 5
Views: 7315

Re: Have I bricked my board?

I'm opportunistically trying to connect to open access-points to send telemetry back to my server through DNS tunnelling. It sounds strange, but it works.

I'm working on a modified version of connect() which does not save to flash (calling wifi_station_set_config_current in the API)
by markxr
Wed Jun 15, 2016 1:44 pm
Forum: WiPy and CC3200 boards
Topic: Choice of board
Replies: 7
Views: 9077

Re: Choice of board

Raspberry Pi is not a microcontroller. While the RaspberryPi is great, it is not a microcontroller, this means it is a self-hosting system - you can compile, build etc, stuff on the Pi itself without another machine. This is not true of the other boards, even if it's technically possible to edit the...
by markxr
Mon Jun 13, 2016 9:52 pm
Forum: ESP8266 boards
Topic: access via SSH?
Replies: 28
Views: 47217

Re: access via SSH?

Telnet is probably do-able with the current infrastructure in Micropython. The existing remote shell is not too different from telnet.
by markxr
Mon Jun 13, 2016 9:52 am
Forum: ESP8266 boards
Topic: Have I bricked my board?
Replies: 5
Views: 7315

Re: Have I bricked my board?

It is looking increasingly like I've managed to wear out the flash at address 0x3c0000. This is far beyond where the Micropython or any other firmware image exists, actually it's close to the end of the flash. I suspect it's the area where the firmware stores the wifi configuration /accesspoint data...
by markxr
Mon Jun 13, 2016 9:15 am
Forum: ESP8266 boards
Topic: Have I bricked my board?
Replies: 5
Views: 7315

Re: Have I bricked my board?

Ok, this is what happens: * I have a NodeMCU type development board, similar to this one https://www.gitbook.com/book/smartarduino/user-manual-for-esp-12e-devkit/details * I have previously flashed with Micropython - lots of times - and I've had software running on it which uses the filesystem. (it ...