Menu

#9 Program Button Never Enabled

1.0
open
None
2015-08-06
2015-05-13
Jock Murphy
No

The Program Button is never enabled. Wipe and Both are enabled correctly, but Program never is.

What are the requirements for enabling this button, there are times when I might want to wipe and program separately.

Discussion

  • Roland King

    Roland King - 2015-05-15

    The requirements for only Program are

    1) You're just programming code, not a softdevice nor a bootloader
    2) The device already has a softdevice on it - ie the code you're programming doesn't start at 0x00000000

    If you have a softdevice on the chip already, indeed you don't want to wipe and rewrite the softdevice + code every time and replacing user code is a relatively safe operation, so the program-only option is available which just replaces the code.

    If the code you're uploading starts at 0x00 however, it's a safer operation to wipe the chip, remove all the stuff in the UICR, and restore to a clean state.

     

    Last edit: Roland King 2015-05-15
  • Jock Murphy

    Jock Murphy - 2015-06-30

    Now that you have answered this, you should probably close it. It would be nice if this were documented somewhere, but it is closed.

     
  • Jock Murphy

    Jock Murphy - 2015-08-06

    Please Close This Issue

     

Log in to post a comment.