Giter Site home page Giter Site logo

Comments (8)

brianrho avatar brianrho commented on August 17, 2024

Yeah, I'll be pushing changes today since I recently noticed some template sizes aren't multiples of the packet length. Is your template size 640 or 768?

The 64 byte buffer of your SoftwareSerial should be enough, the actual problem is the enabled debug messages, they waste time when flushing especially, which makes the SoftwareSerial RX buffer overflow. Will add debug levels maybe so one can view errors without having to enable everything.

from fpm.

vvvait avatar vvvait commented on August 17, 2024

Template size 640 bytes.
Indeed, without a debug log, 64 bytes is enough

from fpm.

brianrho avatar brianrho commented on August 17, 2024

I've made the changes, try running the example again and see if it works. Disable debug and un-comment FPM_R551_MODULE

from fpm.

vvvait avatar vvvait commented on August 17, 2024

Buffer loading does not work. The documentation is missing a description of the DownChar process. In response to the uploadModel does not receive a confirmation, but an echo of the command

Enter the template's new ID...

[+]Got header
[+]Address: 0xFFFFFFFF
[+]PID: 0x1
[+]Length: 2
9 1
[+]Read complete
Unknown error -2

Attempts to ignore the error and start the download result in an error

[+]Got header
[+]Address: 0xFFFFFFFF
[+]PID: 0x7
[+]Length: 1
1
[+]Read complete
Comms error

from fpm.

brianrho avatar brianrho commented on August 17, 2024

Yes, that's what #16 was about, was closed just yesterday. The R551 seems to not support DOWNCHAR even if the final table in the datasheet does mention it. You'll have to get a different sensor if you want that function.

from fpm.

brianrho avatar brianrho commented on August 17, 2024

If reading templates now works, I'll be closing this. I've added a warning to the readme regarding the R551 and its problems. Could still be that the command is supported but with a different code but you'll have to contact the manufacturer for that or experiment yourself.

from fpm.

vvvait avatar vvvait commented on August 17, 2024

ok, i found few commands with answer
1A -> success
47 -> looks like verison PPMPDG62S200V100
53 -> error x55
68 -> x00 x01

from fpm.

brianrho avatar brianrho commented on August 17, 2024

Great. If you get more info about the DOWNCHAR, let me know

from fpm.

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.