• Translation ... No data validation on source code uploading.

    Wrong.

    When you send a data stream to another device is has to be checked for data integrity

    Yes, but that's what USB does. Like with TCP/IP you can be confident that you have a non-corrupt stream of data, because lower layers sort it out at the packet level.

    As I said, the problem is not that there is no validation - it is that the flow control that I'm getting with USB isn't good enough right now (it can only delay data, not stop it completely). The data is accurate and is coming to Espruino, but it is just coming too fast in a few cases.

    You can come up with particularly nasty bits of code that will always fail to upload without this flow control. What's needed isn't a sticking plaster over that, it's a fix for the underlying problem.

    I had to reload the firmware "again" because the "process.memory()" command did not work.

    And everything else worked fine? If so, it's unlikely to be due to a bad firmware update. I'd be interested to hear how it failed though.

About

Avatar for Gordon @Gordon started