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

make flash - nrfjprog program command may need changing #2

Open
RShergold opened this issue Sep 25, 2016 · 2 comments
Open

make flash - nrfjprog program command may need changing #2

RShergold opened this issue Sep 25, 2016 · 2 comments

Comments

@RShergold
Copy link

Hey.
First, Thanks for this repo I found it really useful.

However I had to change the make file flash from

flash: nrf52832_xxaa
    @echo Flashing: $(OUTPUT_BINARY_DIRECTORY)/$<.hex
    nrfjprog program -c $(OUTPUT_BINARY_DIRECTORY)/$<.hex -d nrf52

to

flash: nrf52832_xxaa
    @echo Flashing: $(OUTPUT_BINARY_DIRECTORY)/$<.hex
    nrfjprog --program $(OUTPUT_BINARY_DIRECTORY)/$<.hex -f nrf52 --chiperase
    nrfjprog --reset -f nrf52

Perhaps our version of nrfjprog is different.
I have:

nrfjprog version: 8.3.0
JLinkARM.dll version: 6.00d

It may be a good idea to mention this in the readme if other people have this issue. Might save someone some time!

@anlif
Copy link
Owner

anlif commented Sep 26, 2016

Hi,

Thanks for the report. I'm sure someone else could have similar issues. Are you running Windows? I've only tried this on OSX/Linux, and building may be slightly different on Windows.

It sure looks like the nrfjprog interface is different on your end. My version is probably a bit old:
nrfjprog --version version: v1.0.10

@RShergold
Copy link
Author

Hey. Yep I'm on a mac. Not sure why or how JLinkARM.dll is used in my version of nrfjprog.

¯\_(ツ)_/¯

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

No branches or pull requests

2 participants