Giter VIP home page Giter VIP logo

Comments (8)

wavesoft avatar wavesoft commented on May 25, 2024

Hello @aguaviva,
I think that's a left-over from my tests with the BLE112/BLE113 modules. If you are not using this library with these modules, you are good to go, because the memory region containing this information should be empty (0xff).

from cclib.

aguaviva avatar aguaviva commented on May 25, 2024

Excellent, please let me know how can I help. If you have any ideas/links I'll be happy to investigate myself too.

Thanks for the excellent lib!! :)

from cclib.

aguaviva avatar aguaviva commented on May 25, 2024

Hi again, do you have any pointers/resources I could look into for fixing this bug myself? (Unless you were planning on looking into it yourself anytime soon)

from cclib.

wavesoft avatar wavesoft commented on May 25, 2024

Hello @aguaviva , I think I am wrong on my statement above. I forgot that I actually moved the license code to ble_info.py. Keep in mind that the ble_xxx.py utilities are useful only for the BlueGiga BLEXXX modules that are also using the CC2540 chip. Otherwise, the output looks reasonable.

Shall I assume that you tried the cc_read_flash.py and it's output is also everything 0xff ?

from cclib.

aguaviva avatar aguaviva commented on May 25, 2024

Hi Ioanis,

Yes I tried cc_read_flash.py and that returned all 0xff's as well.

I saw you removed the bug label, is this not a bug?

from cclib.

wavesoft avatar wavesoft commented on May 25, 2024

Hello @aguaviva , I thought the bug was about the extraneous "Firmware information" message. If they were present in the cc_info.py, this was a bug. (This actually was a case in the previous version -- I forgot that I actually separated that part in the ble_info.py).

Regarding the 0xff that doesn't sound like a library issue. This can be caused by a few things:

  • Your flash is erased and ready to be programmed
  • Wrong voltage divider resistors (or wiring) in the DD pin, causing it to be permanently on HIGH state.
  • Damaged chip.

If you are not just trying to download a firmware, you can try a flash/read cycle in order to confirm that it works as expected.

from cclib.

wavesoft avatar wavesoft commented on May 25, 2024

Hey @aguaviva , what's the status with this issue? Did you manage to address your problem, or it was still getting 0xff every time? Otherwise I will close this issue.

from cclib.

aguaviva avatar aguaviva commented on May 25, 2024

Hi Ioannis! thanks for following up!

The python script seems to successfully detect the chip ID and the chip status, so it doesnt seem to be any of the 3 issues you mentioned. I still need to try a flash/read cycle, although I'd really like to download the firmware though.

from cclib.

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.