Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make a hex (boot+app) #5441

Open
DanielCao0 opened this issue Nov 25, 2024 · 5 comments
Open

How to make a hex (boot+app) #5441

DanielCao0 opened this issue Nov 25, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@DanielCao0
Copy link
Contributor

Platform

NRF52

Description

At present, platform only app hex , how to make a hex (app+boot), can be used for a large number of production JLINK download

@DanielCao0 DanielCao0 added the enhancement New feature or request label Nov 25, 2024
@fifieldt
Copy link
Contributor

Something like?

bin/mergehex -m bin/s140_nrf52_7.3.0_softdevice.hex wio-sdk-wm1110/firmware.hex -o firmware.hex

@DanielCao0
Copy link
Contributor Author

DanielCao0 commented Nov 25, 2024

s140_nrf52_7.3.0_softdevice

PS F:\Meshtap\firmware\bin> mergehex.exe -m s140_nrf52_7.3.0_softdevice.hex ...pio\build\rak_wismeshtap\firmware.hex -o factory.hex
Parsing input files.
Merging file "s140_nrf52_7.3.0_softdevice.hex" into output.
Merging file "firmware.hex" into output.
Overlapping segments detected at address 155648.ERROR: The hex files cannot be merged since there are conflicts.
PS F:\Meshtap\firmware\bin>

Could you please check this issue? Thank you!

@markbirss
Copy link
Contributor

bin/mergehex -m bin/s140_nrf52_7.3.0_softdevice.hex $SRCHEX -o .pio/build/$1/$basename.hex

@DanielCao0
Copy link
Contributor Author

I want a full hex, including ( dfu boot+ app + s140 ), via jlink to a empty chip

@thebentern
Copy link
Contributor

Meshtastic doesn't add bootloaders to the firmware hex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants