-
Notifications
You must be signed in to change notification settings - Fork 483
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
nrf5340 support #1656
base: main
Are you sure you want to change the base?
nrf5340 support #1656
Conversation
|
||
def __init__(self, session): | ||
super(NRF53XX, self).__init__(session, self.MEMORY_MAP) | ||
self._svd_location = SVDFile.from_builtin("nrf5340_application.svd") # TODO |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ideally, I would load both SVD for the specific cores. But how to do this? (seems not that important though)
Still got a problem to solve here: Flashing works after a mass-erase. If there is already a program on the chip, it fails on the network core with a hard fault or something similar: |
@flit Could you take a look? I'll try to understand the flash algo code (they are from the pack), maybe I can find something. |
Hi @maxd-nordic
Seems like flashing UICR fails with decimal value of 104 in register r0. Any idea what causes this result code? |
Hi @mrenner42! Cool, that you're interested in this! Unfortunately, I've run into similar issues and couldn't figure out how to fix them yet. Maybe, I'll try building a simpler flash algo and see if that does the trick. IIRC, I had one version that only worked on a freshly erase chip and another that only worked on an already programmed one. |
Signed-off-by: Maximilian Deubel <[email protected]>
Signed-off-by: Maximilian Deubel <[email protected]>
@mrenner42 Would you like to try the latest version? It seems promising to me! |
@maxd-nordic Very cool, thanks a lot. I'll give it a go this week and report back! |
Adds support for the nrf5340