Giter Site home page Giter Site logo

Comments (6)

petertorelli avatar petertorelli commented on September 18, 2024

Data was dropped in the UART path. If you look at the code here you can see that a byte was dropped.

  } else {
    size_t numbytes;
    char test[3];
    long res;


    /* Two hexdigits per byte */
    numbytes = th_strnlen(p_next, EE_CMD_SIZE);


    if ((numbytes & 1) != 0) {
      th_printf("e-[Insufficent number of hex digits]\r\n");
      return EE_ARG_CLAIMED;
    }
    test[2] = 0;

This can be cause by too high a baud rate, or an error in the Rx code, or an issue with the Host<>UART hardware driver (e.g., the Prolific USB<>TTL, SiLabs USB<>TTL, and STM VCP driver could be the issue).

Peter

from tiny.

petertorelli avatar petertorelli commented on September 18, 2024

Also, the latest 3.0.6 version has a setting in the ini file called disable-mute. Set that to true to disable muting the bload messages. This can help you identify when/where it is failing.

from tiny.

shijay01 avatar shijay01 commented on September 18, 2024

Using baudrate of 115200 during compilation of the bin and for the runs solved the issue , though it is recommended in the reference submission's Readme that 921600 is the desirable baudrate.

from tiny.

cskiraly avatar cskiraly commented on September 18, 2024

Thanks @shijay01 . 921600 is recommended to speed up the accuracy test that downloads lots of data over serial. However, it seems the higher baud rate is not working on all systems. I'm glad 115200 solved it for you. I'm adding a note on this in the README #82

from tiny.

petertorelli avatar petertorelli commented on September 18, 2024

@shijay01 That is good news. Please close the issue if resolved. Cheers, Peter

from tiny.

shijay01 avatar shijay01 commented on September 18, 2024

Thankyou @cskiraly and @petertorelli . Closing the issue.

from tiny.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.