-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Flashing is not working on SAMR21 any more #2470
Comments
@thomaseichinger, the full output with
|
to resume the discussion from #2408: i removed the
without
@thomaseichinger testsed for the samr21 - does openOcd maybe behave different between Linux and OSX? |
Does it hurt to shutdown twice? |
Can't we pass arguments/additional commands nowadays? |
It's does not really that I know of, but its not clean either... By the way, this is the output when flashing the samr21-xpro without the
So it seems it has something to do with different OpenOCD versions? My version is |
just updated openOCD -> now I have the same behavior as @OlegHahm. Also flashing the stm32f4discovery seems to be broken: |
and via versa: reverted to OpenOCD version 0.9.0-dev-00186-g30203b3 and it works like charm again. |
🍌 software ;) |
ok, my fault. Seems like OpenOCD changed something. I guess #2471 should fix it for everyone? |
@LudwigOrtmann
Only extra initialization since the OPENOCD_EXTRA_INIT argument is put before all of the commands on the command line. |
and the forget about the error for the stm board stated above, that was because I forgot to add the backslash after the |
@LudwigOrtmann @haukepetersen How about we add argument handling to the script? |
+1 for argument handling |
@PeterKietzmann I don't have a SAMR21 board to test with. |
I do have one but didn't want to go into detail here. AFAIK just flashing works, will verify soon. What should I especially have a look at/test? |
Ok, good that these PRs are referenced now so we may not forget to close the issue after merging |
As stated in #2408 (comment)
make flash
(using the unified OpenOCD script from #2408) is currently not working for the SAMR21 - at least on ArchLinux. (Neither with the AUR version of OpenOCD nor with a fresh compiled from current git HEAD.) Putting anexit
at the end of theprogram
command or adding ashutdown
command at the end helps, but leads to1
as an exit code indicating an error - but I don't know why, because flashing seems to work correctly.The text was updated successfully, but these errors were encountered: