Skip to main content
Mannhof
Associate
March 11, 2021
Solved

How to modify UTEST DCF Client?

  • March 11, 2021
  • 5 replies
  • 2776 views

Hello! I've tried to modify UTEST DCF Client but some questions (below) appeared to me.

  1. In RM0349 on the page 260 I see the it's Reset value. How can I read it? UTEST Flash memory with the address 0x00400308 is empty.
  2. At the same table I see "offset" column. Which means this offset? Address in flash or only Address bits of current DCF record?
  3. How can I ensure that my values are successfully loaded in MCU? Which registers should I check? I'm coding via SPC5 Studio and debugging via UDE STK. My MCU is SPC570S40E1.
  4. How can I modify values in this memory? I need reflash new data with the same CSn at next free address UTEST DCF Client, right?

Sorry, I'm new here and maybe I've done something wrong. This is mine post below:

https://community.st.com/s/question/0D53W00000NBVl1SAH/enabling-lockstep-core-in-spc570s-mcu

Upd:

I've found AN4557. And now I really don't undestand anything in the DCF records. How to make CS field? etc...=(

Thank you,

Nikolay Mannhof

    This topic has been closed for replies.
    Best answer by Erwan YVIN

    Hello Manhof ,

    There is an interesting document in NXP side

    it is the same IP

    to modify a record , it is OTP.

    there is a possibility to overwrite it cf chap 3.5

    https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&ved=2ahUKEwjs6YHujPvwAhVE2-AKHfypCrgQFjACegQIBxAD&url=https%3A%2F%2Fcommunity.nxp.com%2Fpwmxy87654%2Fattachments%2Fpwmxy87654%2Fmpc5xxx%2540tkb%2F184%2F1%2FMPC57xx%2520-%2520DCF%2520records.pdf&usg=AOvVaw1nsj5mbOnt-UK6b3mSTqH4

    Best regards

    Erwan

    5 replies

    Mannhof
    MannhofAuthor
    Associate
    April 6, 2021

    Hello,

    I remind about this question.

    Thank you,

    Nikolay Mannhof

    MZhar.1
    Associate
    April 14, 2021

    Hi Nikolay

    I was able to read and write this area using the Multilink Universal + ICDPPCNEXUS eval version bundle.

    As in your case, the UTEST DCF records area is empty. Tell me, is your processor starting up? I do not get to main (), init process loops on some checks.

    Best regards,

    Zharov Maxim

    Mannhof
    MannhofAuthor
    Associate
    April 14, 2021

    Hi Maxim.

    Yes, MCU starting up. But only if it clocking from IRC. Try to disable in all RUN modes XOSC start.

    Clocking from XOSC isn't starting due to internal loading capacitors. Capacitors's value changeable via DCF UTEST Flash memory area.

    Thank you,

    Nikolay Mannhof

    MZhar.1
    Associate
    April 20, 2021

    Hi Nikolay

     My result - processor starts with quartz 8 & 16 Mhz without any change of UTEST DCF. Significant factors was 1) tracing of 1.2 V line (general polygon, 0.1 uF+2.2 uF at each pin), and 2) proper peripherial init in programm.

    Best regards,

    Zharov Maxim

    Erwan YVIN
    Erwan YVINBest answer
    ST Employee
    June 3, 2021