Git Product home page Git Product logo

Comments (8)

svenKautlenbach avatar svenKautlenbach commented on May 22, 2024

Ok, I think I managed to get it correct. Maybe it is the fault of python 2.7?
mdebug(5, " 0x%x: 0x%02x%02x%02x%02x" % (conf['address']+(i*4), rdata[3], rdata[2], rdata[1], rdata[0]), '\r')
file(args[0], 'ab').write(''.join(str(reversed(rdata))))

from cc2538-bsl.

JelmerT avatar JelmerT commented on May 22, 2024

Interesting bug, thanks for reporting it.

Are you getting back the correct data after making your proposed fix? It sounds to me that cmdMemRead is returning something that it shouldn't into rdata

from cc2538-bsl.

svenKautlenbach avatar svenKautlenbach commented on May 22, 2024

Hi!

Sorry for slow response.
Actually this fix did not work, it just enabled to run the script with no problems, but inside the memory file was still incorrect data. And I have lost the file now, but there was text something about the iterator or object at 0x######. Can you assert which python version you are specifically running.

from cc2538-bsl.

JelmerT avatar JelmerT commented on May 22, 2024

The script should work with both 2.7 and 3.4.
Are you maybe willing to share the firmware file with me, so I can try to reproduce the error? If you still have it.

from cc2538-bsl.

svenKautlenbach avatar svenKautlenbach commented on May 22, 2024

It is Contiki build, I simply am not allowed to share the specific binaries :(

from cc2538-bsl.

JelmerT avatar JelmerT commented on May 22, 2024

I understand, can you share the command you used to try to read the memory? Could have something to do with the length and location.

from cc2538-bsl.

svenKautlenbach avatar svenKautlenbach commented on May 22, 2024

Sorry all gone by now. I will try to reproduce it when I have time, I will just try out and experiment with the script. Could you please hold on for now?

from cc2538-bsl.

JelmerT avatar JelmerT commented on May 22, 2024

No problem, I'll close this for now, feel free to comment when you come across the problem again.

from cc2538-bsl.

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.