Securing chip when using JFlash as a stand alone programmer

  • Securing chip when using JFlash as a stand alone programmer

    We're using a JFlash as a stand alone programmer (meaning powered by a wall wort, and pushing the button to program a micro). We've noticed this does not secure the micro.

    Our work flow is Open up JFlash Arm program, Verify project settings (Options > Project Settings > Production) and verify 'Secure Chip' is checked. Then download to the programmer (File > Download to programmer).

    Disconnect the JFlash from the computer, and power it externally. Connect to micro, press button, wait for programming to complete. Connect JFlash back to computer, and go to Target > Read Back > Entire Chip. And this works fine.

    This is not acceptable, however in our application. Is there something we can do about it?

    Thanks.
  • Hi,

    What target device do you want to secure?
    The "Secure chip" option supports only some devices (e.g. STM32).

    In general J-Flash offers the opportunity to configure so called "Exit steps", which are performed immediately after the target has been successfully programmed.
    The exit steps can be used to do some special handling after programming, for example to set the security bits in order to secure the chip.
    You find the "Exit steps" in the "Project settings" -> "CPU" tab -> "Exit steps".


    Best regards
    Erik
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.