Giter Club home page Giter Club logo

Comments (6)

gl-sergei avatar gl-sergei commented on June 13, 2024 1

Hi @Sklv ,

I've checked your binary and it doesn't work for me either. Are you by chance using Ubuntu 18.04 LTS? Apparently, there is a bug in newlib which causing any binary using newlib to crash. Here is the bug report https://bugs.launchpad.net/ubuntu/+source/gcc-arm-none-eabi/+bug/1767223 and one possible workaround is to install newer package bbcmicrobit/micropython#514 (comment)

from u2f-token.

assasinfil avatar assasinfil commented on June 13, 2024

Please write the command from which you are programming the device.
Most likely this is a bug of the program that loads the firmware. Try to repeat these commands several times, maybe the device has not been erased completely or protection has not disappeared, try switching the loader jumper and again these commands.

reset halt
stm32f1x unlock 0
reset halt

from u2f-token.

assasinfil avatar assasinfil commented on June 13, 2024

Use kali linux, its best os)))

from u2f-token.

 avatar commented on June 13, 2024

I tried with the unlock commands enabled, and all configurations of the bootloader pins to get the same results as before.
I'm using gentoo with a toolchain built with crossdev -s4 -S --ex-gdb -t arm-none-eabi which i have been led to believe in the openocd irc, might be the cause of my issues.
I will try to non-self-built toolchain and see if it makes a difference.

from u2f-token.

gl-sergei avatar gl-sergei commented on June 13, 2024

I've seen this thread with similar issues on Gentoo caused by incorrect build flags.

from u2f-token.

 avatar commented on June 13, 2024

I've verified that my toolchain is the issue, as I compiled with the toolchain from arm.com and everything is working. Thanks all for the prompt replies, advice and firmware :)

from u2f-token.

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.