Giter Club home page Giter Club logo

Comments (5)

elyorkhakimov avatar elyorkhakimov commented on May 21, 2024

I might have found the reason why I had messages about "Not available for pin 28" -> this is a default setting. Once I changed to different pins I can now see a clean output. I have yet to connect the pins to the actual board itself.

root@odroid:~/flash_cc2531# ./cc_chipid -c 21 -d 22 - r 24
  ID = 0000.

The question about those compile time warnings remain, and plus I have a new question:

  • on RPI3 the "V" column in gpio readall command yields "0" value for lots of pins. The default pins in flash_cc2531 binaries use those pins with "0" values. I see that on Odroid-C2 many of pins have "1" value. Is this a problem for flashing the firmware ?

from flash_cc2531.

jmichault avatar jmichault commented on May 21, 2024

Hello,
i have corrected code to suppress this warnings.
My code has never been tested on 64 bits architecture, and on other hardware than raspberry, you are the first to test it.

"1" value should not be a problem, state of pins is forced at beginning.

You should try the "-m" option with different values. Higher values usually give slowest speed but better stability.

from flash_cc2531.

elyorkhakimov avatar elyorkhakimov commented on May 21, 2024

thanks for quick fix! I will test it out and report back shortly

from flash_cc2531.

elyorkhakimov avatar elyorkhakimov commented on May 21, 2024

Success!
I pulled from master, re-built binaries, and then did the flash.

root@odroid:~/flash_cc2531# ./cc_erase -c 23 -d 22 -r 24
  ID = b524.
  erase result = 00a2.
root@odroid:~/flash_cc2531# ./cc_write -c 23 -d 22 -r 24 CC2531ZNP-Prod.hex
  ID = b524.
  reading line 15490.
  file loaded (15497 lines read).
writing page 128/128.
verifying page 128/128.
 flash OK.
root@odroid:~/flash_cc2531#

from flash_cc2531.

jmichault avatar jmichault commented on May 21, 2024

Great. 👍

from flash_cc2531.

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.