Comments (5)
It is not the bootloader that is locked: it is that the NVMCTRL "security bit" appears to be set. However, this is not true: the J-Link is having trouble talking to the chip, and the flash memory appears to locked.
I saw this myself a couple of weeks ago when attempting to use the J-Link with a SAMD51, and was surprised, since it worked well in the past. It might be a J-Link software problem due to a recent update. I will try this again and see if it happens again.
(The bootloader is protected against overwriting (BOOTPROT), but this is not a problem for J-Link access: we debug chips all the time with BOOTPROT enabled.)
from uf2-samdx1.
Ok, thank you for checking/helping.
from uf2-samdx1.
Were you ever able to check to see if you experience the same problem? Just to confirm, what are the minimum needed connections to the J-Link?
from uf2-samdx1.
Sorry, I was having trouble initially, and meant to revisit this, and then forgot.
I just tried connecting to a Metro M4 (SAMD51J19) and it's working fine now. Just today I installed the latest version of the J-Link software, version V7.54d. When I connected the J-Link, it asked to update the firmware on the J-Link, which I did, and it appears to be working fine.
You can download the latest software for J-Link from: https://www.segger.com/downloads/jlink/#J-LinkSoftwareAndDocumentationPack
from uf2-samdx1.
closing this as apparently fixed
from uf2-samdx1.
Related Issues (20)
- Problem Program SAMD51 from UART1 (SERCOM3) - Metro M4 AirLift HOT 2
- SAMD21 Clock Config HOT 5
- NeoKey Trinkey update files missing HOT 3
- SAME51 update for Adafruit Feather M4 CAN? HOT 2
- Compiling for the SAMDA1G16B HOT 5
- reset into bootloader from user code? HOT 4
- circuit playground express 3.14 macos Monterey HOT 4
- Having an issue with USB device disappearing if the programmer is not connected HOT 1
- Makefile issues HOT 4
- macOS 13.0 (Ventura) Finder gives error when uploading UF2 files HOT 4
- Linking issue HOT 1
- Custom pin mapping for ATSAMD21G18A HOT 1
- Problem building the project in VS code HOT 1
- Reading logs - how???? HOT 3
- MKR Vidor 4000 Arduino Sketch Upload halts at around 50% only when loaded via uf2 bootloader
- Building an "unlocked" (no flash write protection) bootloader? HOT 1
- Change the filesystem be changed to FAT or FAT32 ? HOT 1
- Double definition of WDT for SAMD51
- Adding a timeout to the bootloader HOT 12
- Add Wire Mux HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uf2-samdx1.