I see that fixing the teletype clock issue takes some time so I worked with es.reset some time now (it’s closer to the spirit of earthsea anyway) and noticed that even I use a way less busy frequency as for the clocking it skips events - meaning not every trigger going into teletype does reset and play a pattern on earthsea.

Or is this what everyone means by “buffering” that simply not every teletype command is being executed?

i’ll investigate clocking consistency when i refactor the ii buffering

https://github.com/monome/earthsea/issues/10

Great, Thanks! Remote is a little inconsistent to use as it is now. Firing off the slightly irregular Earthsea patterns on point would be so awesome! :grinning:

I don’t know if investigations have already lead to an yet unpublished improvement on this one - I just noticed that it is the very same with Meadowphysics: Every now and then a command is not executed. Didn’t notice that before since it is not as obvious as with ES.CLOCK or a ES.RESET

So this seems to be more of an issue with Teletype then with Earthsea?

that’s a good call, probably teletype.

have you tried the newest newest tt firmware? it has a new i2c handling system, so perhaps that either fixed or broke the issue at hand

https://github.com/monome/teletype/issues/55

Yes, I updated all modules when I was at it with Ansible (about 2 weeks ago).

Teletype says 1.2.

Not sure if it is possible to read the firmware version of the other modules somehow but the update procedure seemed to be successful. Shall I try again?

ok, so i’ve updated ES to buffer II data and then process it in the event loop.

i’m not necessarily expecting an improvement as i’m starting to suspect it’s a TT issue, dropping packets possibly.

here it is anyway, an intermediary update.

es-1.9-1.zip (45.6 KB)


it’s at line 543 now (probably the same line you pointed out):

if(x<0) x = 0;
else if(x>15) x=15;
if(y<0) y = 0;
else if(y>7) y=7;

i can’t see anything wrong with that. and i’ve had a very hard time replicating the failure with ES.TRANS. any tips on making it crash?

Yep, that’s an easy script

ii es.trans x
x add x 1

with a running loop started on earthsea - than just wait until x goes over the top row in earthsea and both are deep frozen.

clamping fixed. was an issue with trying to update a non-existent LED on the grid and hosing memory

here’s an intermediary release

es-1.9-2.zip (45.6 KB)

4 Likes

Yes, seems so - still drop outs from teletype using clock as well as reset plus I have had them on MP from too trying tt-remote.

Clamping does work good now though!

:slight_smile:

I just had a few freezing experiences on the new earthsea firmware either when hotplugging the grid while in tt clock mode (4 times, plugging in or out does not matter) or when typing es.mode 1 on tt with the grid plugged in (1 time) it also stutters when plugging the grid in while clocked from tt.

@tehn I just did a short test with the former firmware es-1 with the same effect: plugging/unplugging the grid when in clock remote mode leads to not recognizing the grid after a few trials. Sometimes, not always, it is still running and accepting commands from tt though.

…therefore I cannot break it anymore by transposing over the grid range - maybe it is not possible to downgrade? I might better leave it as I don’t understand those things.

I could not stop it and noticed that there is a pattern in a part of this behavior.

I clocked ES from tt and every 6 minutes apart from the occasional missing single shots the clocking totally breaks down for a short moment as in this snippet:

Just in case this helps somehow to figure it out.

@tehn

The actual eartsea firmware presented on the i2c debugging thread is called 1.9.0 and it does the clamping freeze again while the one above, that fixed it seems to be called 1.9-2.

Could it be that something went wrong here?

no, just bad version management. 1.9.2 etc were betas, hastily posted to this thread.

Ah, I understand - so there is a chance to get the clamping fix in the main firmware too?

clamping fix is in the newest firmware. it’s just a version mislabelling for these thread posts.

Hm, but it does not work…
:confused:

I wonder if there is any news on the left Esrthsea remote bugs (clamping/slow down)?