{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"cores","path":"cores","contentType":"directory"},{"name":"libraries","path":"libraries","contentType":"directory"},{"name":"variants","path":"variants","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".gitmodules","path":".gitmodules","contentType":"file"},{"name":".travis.yml","path":".travis.yml","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"_config.yml","path":"_config.yml","contentType":"file"},{"name":"boards.txt","path":"boards.txt","contentType":"file"},{"name":"nrf52_disable_read_protection.txt","path":"nrf52_disable_read_protection.txt","contentType":"file"},{"name":"platform.txt","path":"platform.txt","contentType":"file"},{"name":"release.sh","path":"release.sh","contentType":"file"},{"name":"softdevices.txt","path":"softdevices.txt","contentType":"file"}],"totalCount":14}},"fileTreeProcessingTime":2.129808,"foldersToFetch":[],"repo":{"id":102441848,"defaultBranch":"master","name":"arduino-nRF5-smartwatches","ownerLogin":"micooke","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2017-09-05T06:17:35.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/3281459?v=4","public":true,"private":false,"isOrgOwned":false},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"master","listCacheKey":"v0:1548907381.0","canEdit":false,"refType":"branch","currentOid":"defb6758ab3467e0512b48fc099fe35d757f9886"},"path":"nrf52_disable_read_protection.txt","currentUser":null,"blob":{"rawLines":["To share my experience with the nRF52832.\r","I was unable to disable the read protection / flash lock with a BMP or ST-Link V2, but i was successful with a J-Link.\r","\r","When nRF52832 chip is read protected / locked, the first step is to try:\r","nrfjprog –recover -f nrf52\r","\r","This performs the same task as:\r",">Jlink -if swd -device nrf52\r","J-Link>SWDSelect\r","J-Link>SWDWriteDP 1, 0x50000000\r","J-Link>SWDWriteDP 2, 0x01000000\r","J-Link>SWDWriteAP 1, 0x00000001\r","\r","Wait until AP 2 is 0, and the operation is complete\r","J-Link>SWDReadAP 2\r","\r","If two successive reads from AP 3 produce 0, then 1 then protection is disabled\r","J-Link>SWDReadAP 3\r","J-Link>SWDReadAP 3\r","\r","Tested with JLink v6.20b"],"stylingDirectives":[[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]],"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/micooke/arduino-nRF5-smartwatches/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"nrf52_disable_read_protection.txt","displayUrl":"https://github.com/micooke/arduino-nRF5-smartwatches/blob/master/nrf52_disable_read_protection.txt?raw=true","headerInfo":{"blobSize":"675 Bytes","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"682e620","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fmicooke%2Farduino-nRF5-smartwatches%2Fblob%2Fmaster%2Fnrf52_disable_read_protection.txt","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"21","truncatedSloc":"16"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"Text","languageID":372,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/micooke/arduino-nRF5-smartwatches/blob/master/nrf52_disable_read_protection.txt","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/micooke/arduino-nRF5-smartwatches/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/micooke/arduino-nRF5-smartwatches/raw/master/nrf52_disable_read_protection.txt","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":true,"symbols":[]}},"copilotInfo":null,"copilotAccessAllowed":false,"csrf_tokens":{"/micooke/arduino-nRF5-smartwatches/branches":{"post":"pN1AEuVX3hVvEMuWRKksRzSGFwD_FNAEDLXi8inwnaj9-MIbS3_7Q1prgVj8M9peSrFCp8XV_hTL8vEuUkFihA"},"/repos/preferences":{"post":"83gSNkn9_OmIFYKicljT2OfG2M25tLcyyKMkgF1GnTj2O2747d_8seqn2Q3PShQB_VWSkB5nEhtYVjXYMIGRtQ"}}},"title":"arduino-nRF5-smartwatches/nrf52_disable_read_protection.txt at master · micooke/arduino-nRF5-smartwatches"}