I'd hardly describe myself as "coming from Arduino" :-) I come from punched cards and bare-metal embedded systems, and if Arduino has a place in my affections it's simply that it's a useful abstraction that a lot of people have agreed on.
MarkMLl
I'd hardly describe myself as "coming from Arduino" :-) I come from punched cards and bare-metal embedded systems, and if Arduino has a place in my affections it's simply that it's a useful abstraction that a lot of people have agreed on.
MarkMLl
@ajb2k3 OK, so hook the keyboard to be updated onto a Bus Pirate or whatever rather than expecting the core module to provide a bridge.
The core unit appears as a USB serial device allowing interaction with MicroPython using a terminal emulator, hence things like Rshell appear to be in the spirit of e.g. rsh/rcp i.e. the user (or user's desktop computer) tells the core to e.g. output a file, rather than there being a filesystem API.
Apropos documentation, I'm afraid I've been left with very definite ideas as to how things should be done after a student on a course I was supporting wrote an extremely methodical dissertation on how to interact with the university's mainframe operating system. For each command she covered, she summarised
The operating system was called Multics, I doubt anybody there has heard of it :-)
Best wishes, MarkMLl
I'm still here :-)
Thanks both for the comments. I've been working through a backlog of stuff, and one of the jobs was going through a number of Arduino-type development boards. One of these had an ESP32 on it, and after I loaded https://dl.espressif.com/dl/package_esp32_index.json into the Arduino IDE I could see m5stack support... didn't go beyond that pending working out the Python side of things.
Noted your comment about boot.py etc., and the Python scripts for accessing Flash. I presume that that means that it can't be persuaded to look like a filesystem to an attached computer (FUSE on Linux or whatever). Presumably it;s a custom boot.py which would allow it to select scripts from an SD-Card.
I presume from what you said that the keyboards need to be connected directly to an Arduino or suitable device programmer for programming, rather than via bridge software running on the core module itself.
I still think it's a particularly nicely-executed unit, so please don't feel you have to apologise for anything. Even if it is a bit small for a custom APL keyboard ;-)
I'll continue tinkering but I've got rather a lot on my plate at the moment.
Best wishes, MarkMLl
Greeting everybody, new user here. A couple of days ago I received a "Faces" kit", and before anything else I'd like to say that from a hardware point of view I'm extremely impressed: it appears to be a good design well-implemented.
Having said that, I immediately ran up against some problems and found myself writing an intro card which could potentially be shipped in the box or which I could hand out to colleagues etc. Unfortunately I still found problems caused by documentation and libraries being spread around all over the place, so thought that the best thing to do might be to post the text I've done already in the hope that somebody else can "fill in the gaps": I have limited time and I'm afraid that at the moment this isn't at the top of my stack.
-----8<-----
The unit is shipped loaded with MicroPython, and can be expected to report something like this when powered up:
OSError: [Errno 2] ENOENT
MicroPython v1.9.2-453-g4c14d0d6-dirty on 2017-12-23; ESP32 module with ESP32
Type "help()" for more information.
If you've got this far then you might have already discovered that pressing the red button on the left powers it on. While MicroPython is running pressing the button twice in rapid succession will turn it off (this might change if you load a custom application program).
Will a Python program on an SD-card be automatically executed? Where is the name etc. of this documented?
For somebody programming locally (i.e. with a USB connection) then these points are relevant:
What exactly is preloaded in Flash, and are there any status etc. commands useful to somebody connected via a terminal?
How is a python program put into Flash etc.?
Where can the variant of MicroPython that's loaded on the unit as shipped be found? What else is needed to /exactly/ recreate its shipped state?
Does the unit as shipped have a standard Arduino loader on it, so that it can be programmed directly from the Arduino IDE with the ESP32 extensions?
Sources for the Atmel microcontrollers on the "Faces" keyboards may be found at https://github.com/m5stack/FACES-Firmware But what is needed to compile them, and what has to be running on the ESP32 to load the binary onto the keyboard (or does this need AVR programmer hardware)?
Description of setting up Wi-Fi and any other prerequisites here.
URLs of cloud development tools here.
I'd really appreciate having the above information to hand so that when I come back to this (or when I have the odd five minutes to spare) I can see better how everything hangs together.
MarkMLl
p.s. That lanyard's a bit of a swine to fit :-)
pps Can somebody confirm that the charging base is power-only, i.e. a unit's not visible to an attached computer if connected via the base.