Code Monkey home page Code Monkey logo

Comments (12)

jeromecoutant avatar jeromecoutant commented on July 18, 2024 1

@MarceloSalazar
This issue takes long time to understand to every one (including me...)
@ARMmbed/mbed-os-tools

from mbed-cli.

jeromecoutant avatar jeromecoutant commented on July 18, 2024 1

Correction is on going: ARMmbed/mbed-os#13584

from mbed-cli.

ciarmcom avatar ciarmcom commented on July 18, 2024

Thank you for raising this detailed GitHub issue. I am now notifying our internal issue triagers.
Internal Jira reference: https://jira.arm.com/browse/IOTBTOOL-869

from mbed-cli.

lefebvresam avatar lefebvresam commented on July 18, 2024

See also my comments on:
ARMmbed/mbed-os#13011

My suggestion is to have a cli option to flash bin or hex for compatibility reasons between different boards.

from mbed-cli.

jeromecoutant avatar jeromecoutant commented on July 18, 2024

Hi

Note that with the latest ST Link FW version available in https://www.st.com/en/development-tools/stsw-link007.html
Hexadecimal drag and drop feature is now supported!

Regards,

from mbed-cli.

ianhattendorf avatar ianhattendorf commented on July 18, 2024

I ran into this issue as well and wasted a good chunk of time figuring out why none of my changes were doing anything after updating from 6.1 on a Nucleo L432KC.

I've updated to the latest STLink FW and everything is fine now, however it would be nice if this was fixed to avoid wasting other peoples time going forward.

from mbed-cli.

ianhattendorf avatar ianhattendorf commented on July 18, 2024

Actually it's still an issue for me. The latest firmware I can find for my device (from https://www.st.com/en/development-tools/stsw-link007.html) is V2.J36.M26 and .hex support was added in V2.J37.M26.

Thanks for taking a look at this.

from mbed-cli.

jeromecoutant avatar jeromecoutant commented on July 18, 2024

Actually it's still an issue for me. The latest firmware I can find for my device (from https://www.st.com/en/development-tools/stsw-link007.html) is V2.J36.M26 and .hex support was added in V2.J37.M26.

ST web page is maybe misleading...
If you select "Get Software" pink button, you will get the 2.37.26 version
Versions you can select are "previous" versions...

@schstm

from mbed-cli.

ianhattendorf avatar ianhattendorf commented on July 18, 2024

🤦

I should pay more attention, thank you.

from mbed-cli.

teetak01 avatar teetak01 commented on July 18, 2024

Maybe --flash should use the OUTPUT_EXT parameter for deciding which image to flash? Afaik the generation of both .bin and .hex images was added some time ago, but the --flash feature probably has some simpler logic for choosing the image.

Just commenting, did not check the code where the parsing is done.

from mbed-cli.

lefebvresam avatar lefebvresam commented on July 18, 2024

I temporary solved this issue by doing this change:

Change line 789 of mbed-os\tools\toolchains\mbed_toolchain.py
...
                # self.binary(r, elf, "{}.{}".format(stem, 'hex'))
...

By not generating the hex, the bin is used as the second choice for flashing.

from mbed-cli.

0xc0170 avatar 0xc0170 commented on July 18, 2024

PR merged, so should work in the next release. I'll close this one

from mbed-cli.

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.