[SOLVED] J-Link: Write Program flash 0 IFR in MK64FN1M0VLL12

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] J-Link: Write Program flash 0 IFR in MK64FN1M0VLL12

    Hi everyone,
    We are currently working with NXP MK64FN1M0VLL12 MCU and we would like to write MAC address on Program Flash 0 IFR during production. Is there any way to do it? We are using a J-Link.
    Thanks a lot in advance.
  • Hi,


    I do not fully understand what you mean with the phrase "C[...]on Program Flash 0 IFR [...]"

    However, if you just need to update the flash contents of each unit with a unique MAC Address, this can be done via the "Serial number programming" feature of J-Flash.

    Please refer to UM08003 Chapter "Getting Started" Section "Serial number programming" and please do not hesitate to ask if there are any questions.


    Best regards,
    Niklas
    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.
  • Hi Niklas,

    Thanks a lot for your time. NXP defines IFR as 'nonvolatile information register found in each flash block, separate from the main memory array', whereas the program flash 0 IFR is a 1 Kbyte nonvolatile information memory that can be read freely, but the user has no erase and limited program capabilities.

    We are wondering if there is any way to write MAC address to this Flash Memory Module (FTFE) registers, as the they are addressed out of the Flash memory map and it is required to use 'Program Once' command via FTFE's FCCOB register.

    Best Regards,
  • Hi,



    SFRs can be written via the Init steps or Exit steps of the J-Flash project.
    For further information regarding Init/Exit steps, please refer to UM08003 sections "Creating a new init sequence" and "Init steps".

    Do you need this in Flasher standalone mode or PC mode (probe connected to a PC with J-Flash running)?

    Best regards,
    Niklas
    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.
  • Hi Niklas,
    Thank you so much for your support. :thumbsup: I've finally managed to write program once region in a successful way :thumbsup: .
    Our Production Department currently use PEMicro's Cyclone ACP, but I am exploring the alternatives. I think we should use a probe connected to a PC in order to change MAC address dynamically on the 'Init Steps'.
    Best Regards,

    The post was edited 1 time, last by david.zennio ().

  • Hi,


    thanks for the feedback and good to hear that it works for you.
    [...]in order to change MAC address dynamically on the 'Init Steps'

    Is the solution sufficient for you?

    Best regards,
    Niklas
    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.
  • Hi,


    thanks for the feedback and good to hear that everything is working for you now!


    Best regards,
    Niklas
    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.