Giter Club home page Giter Club logo

Comments (12)

rct avatar rct commented on August 19, 2024

I figured out the organization of the MD-380 .test file. I should be able to through together a chirp bitwise structure for it when I get a chance. While the .test file is 8 KB, only the first 512 bytes has data in it. the rest is 0xFF padding. If they follow the same pattern that is probably the way the bits are organized on the flash.

Conveniently the data seems to be organized in 16 byte rows even those most of the calibration rows are only using 9 values.

The 9 columns seem to correspond to a set of 9 frequencies for calibration 401,411,421,...,479.99 mhz

In the meantime, I wrote the details of the .test file down here while I was figuring it out http://rctnotes.blogspot.com/2016/02/structure-of-tytera-md-380-test-radio.html

from md380tools.

travisgoodspeed avatar travisgoodspeed commented on August 19, 2024

Thanks! That should be sufficient to read out the calibration data.

In the firmware, I see a lot of strange DFU commands interacting with the OTP Flash. Perhaps that's where it's stored? In any case, packet sniffing will tell.

from md380tools.

rct avatar rct commented on August 19, 2024

The window software lets you write the changed "test" settings back to the radio, so I'm guessing not OTP...

screenshot

from md380tools.

aeickho avatar aeickho commented on August 19, 2024

pcap file from read calib. data:

https://flauschfunk.de/read_calib.pcapng

from md380tools.

aeickho avatar aeickho commented on August 19, 2024

working hypothesis: radio's calibration data are stored in 3X256-Bytes Security Registers on spi flash

from md380tools.

travisgoodspeed avatar travisgoodspeed commented on August 19, 2024

I'll add support for reading that over USB with md380-tool.

from md380tools.

travisgoodspeed avatar travisgoodspeed commented on August 19, 2024

Removing my assignment. With a little luck, @ea will have a pull request for us soon.

from md380tools.

aeickho avatar aeickho commented on August 19, 2024

added with: b0c0166

from md380tools.

narspt avatar narspt commented on August 19, 2024

Sorry for the off-topic but anyone knows what's the difference for CPS having testmode=0 or testmode=1?
I know that all pages over internet say to change it to access test mode but apparently I can access the test mode window (and it seems fully working) even with testmode=0, any one knows what that setting does exactly?

from md380tools.

UB1AAM avatar UB1AAM commented on August 19, 2024

Ctrl+T

from md380tools.

narspt avatar narspt commented on August 19, 2024

Yes... but Ctrl+T works even with testmode=0... even on older 1.30 CPS... then I'm curious why anybody suggests changing it... what the change does exactly...

from md380tools.

travisgoodspeed avatar travisgoodspeed commented on August 19, 2024

This is an issue tracker, not a forum. Please move the discussion to IRC or the mailing list.

from md380tools.

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.