Teletype 3.0

Thanks for getting this and for the info about the last thing TT was doing before it happened, and sorry about your scripts! My thought was that the scene data structure is large enough that, if the out-of-bounds hypothesis above were correct, we would still have most of a scene written to an area of flash that should never be written to from the same write that trashed the “fresh” field. If this were the case, I thought it might even be possible to recover the scripts saved to that scene, since they’re in the last part of the scene data.

…But it doesn’t seem like this happened. After the calibration defaults, everything else in flash is 0xFF - flash bits are typically set to 1 when erased. So it doesn’t seem like a bulk write did it, at least not off the end like that. If there was some other off-by-one condition I thought maybe the padding bytes used to align struct members could also wind up getting set, but those are 0xFF in this firmware image too.

So, sad to say after reading flash.c a half dozen more times, I got nothing. If it’s useful to anybody the ‘repl’ tool here is the program I used for sifting through the firmware image.

1 Like

thanks for checking, and thanks for the idea of doing boundary check on preset_no - i’ve added it in the latest beta!

i’ve also posted the latest beta in Teletype 3.+ feature requests and discussion thread to avoid confusion (as that’s currently the main thread for latest teletype betas).

I found a bug with… whichever flavor of 3.0 I’m running here (says 25E14EE on startup).

INIT.SCENE (and probably other INIT commands) resets the value of M but not the actual metronome tick rate.


M 150

(result: 1000)

Set the M script to TR.P 1 and you’ll see it fire every 150ms.

Does INIT.DATA work?

Same thing, the value of M resets but the metronome keeps ticking at the old rate.

the issue is logged:
and fixed, the latest beta posted here: Teletype 3.+ feature requests and discussion

the bug was also in INIT and INIT.DATA, fixed those as well.


Ah, I missed that. Thanks :slight_smile:

1 Like

posted new files - no change, just to update the commit version number.

My Teletype just blanked itself too. It was running fine last night and when I powered up this morning everything was gone. Guess I should get better at backing up.

I’m running 3.0 and the TT has an I2C backpack and is connected to a TXo and JF.

sorry to hear that, hopefully you didn’t lose too much…

everybody still running 3.0 firmware - i would strongly advise to do a backup and then update to the beta 3.+ version posted in this thread: Teletype 3.+ feature requests and discussion as it has additional protections against this bug.


I needed a fresh start, anyway – ha ha! But seriously, I’ll definitely be updating to the new beta tonight. Thanks!

Hey folks, the dreaded scene wipe got me yesterday / today as well. I had backed up recently, so not that big of a deal.

Just to provide some data about what I was doing:

  • I’d really only been working on a single scene.
  • Last night, I transitioned to a new scene.
  • I didn’t actually add anything to the new scene, but I’d run some commands from the Live view.
  • I powered down without saving the new scene.

That’s all I can think of as far as actual actions taken, sadly. Today I powered up and there were no scenes on the device.

I’ve already updated to the latest beta, so hopefully all save now.

1 Like

thanks for the info, and sorry you lost your scenes, glad you had a recent backup.
do you remember the scene numbers by any chance?

1 Like

The one that I had been operating on & the one that I switched to? It was 9 & 10, respectively.

(If that’s what you mean :sweat_smile:)

yep, that was my question, thanks!

1 Like

Either PN.RND is funny or I’m missing something.

Pattern 3: 0, 2, 3, 5, 10 (rightmost column in tracker)

PN.RND 3 returns 0 95% of the time, occationally some of the other values of the pattern…

PN.RND will randomly select values within the PN.START and PN.END range. check what your start and end are set to.

That’s it thanks alot, end was 63!

Sorry for the noise…

2 posts were merged into an existing topic: Teletype 3.+ feature requests and discussion

I finally have a little time to get back into TT programming. And I have some idea :wink: Last time I looked the ‘everything is gone’ bug was still worrying. So I didn’t update… Is this fixed in the latest beta?