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

Write code to flash firmware onto the nRF51822 #17

Open
dhylands opened this issue Nov 2, 2016 · 0 comments
Open

Write code to flash firmware onto the nRF51822 #17

dhylands opened this issue Nov 2, 2016 · 0 comments

Comments

@dhylands
Copy link
Member

dhylands commented Nov 2, 2016

We'll need to be able to update the firmware on the nRF51822.

The best way is to actually have the cc3200 act as a programmer and use the SWDIO/RESET and SWDCLK signals.

I found some code which implements the protocol needed for flashing here:
https://github.com/cbiffle/swddude

Unfortunately, it seems to be in C++, but at least the algorithms should be there. It also supports way more stuff than what we need (i.e. programming via FTDI etc).

I'd recommend that we reimplement in rust or C and we'll just wind up bit-banging GPIO signals.

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

1 participant