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

Fix JLink SPI Dumping Tool #999

Merged
merged 1 commit into from
Jan 5, 2021
Merged

Fix JLink SPI Dumping Tool #999

merged 1 commit into from
Jan 5, 2021

Conversation

anwu
Copy link
Contributor

@anwu anwu commented Jan 5, 2021

Overview & Major Changes

This PR fixes the following issue: #998

The SPI flash dumping tool was unsuccessful on certain PODs that were in a particular bricked state. The PODs were less so "bricked", but in some sort of loop. This fix addresses that corner case by halting the POD before injecting the "flash forensics" firmware blob.

Testing

To test, run the command on a POD connected via JLink.
iotile hw --port 'jlink:device=nrf52' connect_direct 1 debug dump_memory --out_path spi_dump.bin --memory_region external --pause True
It may take a minute to download the entire flash.

@anwu anwu requested review from ekkizogloy and x24ling January 5, 2021 21:28
@anwu anwu self-assigned this Jan 5, 2021
@anwu anwu changed the title halt device before injecting blob Fix JLink SPI Dumping Tool Jan 5, 2021
@anwu anwu merged commit 0e07378 into master Jan 5, 2021
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

Successfully merging this pull request may close these issues.

2 participants