Skip to content

A few errors when running commands #104

Answered by jgilbertfpv
jgilbertfpv asked this question in Q&A
Discussion options

You must be logged in to vote

Ok so, I ran make flash_mbr, (after I ran make by itself) I moved both hex files to a new folder and ran mergehex -m nrf52840_xxaa.hex odiin_bootloader-0.3.2-158-g23e6539.hex -o odiin.hex then I ran pyocd flash -t nrf52840 odiin.hex and voilà!!

The first time I didn't have to run pyocd cmd -t nrf52840 --command write32 0xFF000 0x00000001 --command reset but after doing some testing and trying to repeat the process, I did have to put that command after I flashed.

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by nitz
Comment options

You must be logged in to vote
1 reply
@jgilbertfpv
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants