<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>S32 Design StudioのトピックRe: Program DCF Record into 5748G</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/Program-DCF-Record-into-5748G/m-p/779474#M3036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;well - the only workaround which is working for me is use Lauterbach power debug interface. If it is suitable solution for you - here are steps how to program DCF via Lauterbach:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;prepare srec by the same way as for PE Micro (&amp;nbsp;&lt;A href="https://community.nxp.com/docs/DOC-334094"&gt;HOWTO: Program DCF record into UTEST flash in S32 Design Studio for Power&lt;/A&gt;&amp;nbsp;)&lt;/LI&gt;&lt;LI&gt;Start T32 for PPC&lt;/LI&gt;&lt;LI&gt;init flash for programming by&amp;nbsp;&lt;BR /&gt;&lt;SPAN style="color: #00ccff;"&gt;&lt;STRONG style="font-family: 'courier new', courier, monospace;"&gt;DO ~~/demo/powerpc/flash/mpc5xxx.cmm PREPAREONLY&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;lauterbach command&lt;/LI&gt;&lt;LI&gt;enable program OTP area:&lt;BR /&gt;&lt;SPAN style="color: #00ccff;"&gt;&lt;STRONG style="font-family: 'courier new', courier, monospace;"&gt;FLASH.Program 0x00400000--0x00403FFF /OTP&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Load your DCF srecord - choose srec file from file dialog:&lt;BR /&gt;&lt;SPAN style="color: #00ccff;"&gt;&lt;STRONG style="font-family: 'courier new', courier, monospace;"&gt;data.load.auto *&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Write srec to DCF:&lt;BR /&gt;&lt;SPAN style="font-size: 15px; color: #00ccff;"&gt;&lt;STRONG style="font-family: 'courier new', courier, monospace;"&gt;flash.program off&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 May 2018 10:30:03 GMT</pubDate>
    <dc:creator>jiri_kral</dc:creator>
    <dc:date>2018-05-04T10:30:03Z</dc:date>
    <item>
      <title>Program DCF Record into 5748G</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Program-DCF-Record-into-5748G/m-p/779471#M3033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to program a DCF record into the UTEST of my MPC5748G. I'm following the instructions found here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-334094"&gt;HOWTO: Program DCF record into UTEST flash in S32 Design Studio for Power&lt;/A&gt;&amp;nbsp;.&amp;nbsp; I am using this flash programming algorithm:&amp;nbsp;NXP_MPC5748G_1x32x4k_UTest.pcp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I click debug to program the flash, I get an error and the DCF record is not programmed into UTEST.&amp;nbsp; Has anyone encountered this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've copied my console output here, if it helps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Connection from "127.0.0.1" via 127.0.0.1&lt;BR /&gt;Copyright 2012 P&amp;amp;E Microcomputer Systems,Inc.&lt;BR /&gt;Command Line :C:\NXP\S32DS_Power_v1.2\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.6.9.201706282002\win32\pegdbserver_power_console -device=MPC5748G -startserver -singlesession -serverport=7224 -gdbmiport=6224 -interface=USBMULTILINK -speed=5000 -reseÐ&lt;BR /&gt; &lt;BR /&gt;CMD&amp;gt;RE&lt;BR /&gt; &lt;BR /&gt;Initializing.&lt;BR /&gt;MPC574xC Device detected. &lt;BR /&gt;Target has been RESET and is active.&lt;BR /&gt;CMD&amp;gt;CM C:\Users\User\Documents\Work\NXP\FlashAlgorithms_Internal_NXP_QORIVVAP\NXP_MPC5748G_1x32x4k_UTest.pcp&lt;BR /&gt; &lt;BR /&gt;Initializing.&lt;BR /&gt;MPC574xC Device detected. &lt;BR /&gt;Initialized.&lt;BR /&gt; &lt;BR /&gt;;version 1.06, 07/19/2017, Copyright P&amp;amp;E Microcomputer Systems, &lt;A href="https://community.nxp.com/www.pemicro.com" target="test_blank"&gt;www.pemicro.com&lt;/A&gt; [57xx_utest_16k]&lt;BR /&gt; &lt;BR /&gt;;device NXP, MPC5748G, 1x32x4k, desc=UTest&lt;BR /&gt; &lt;BR /&gt;;begin_cs device=$00400000, length=$00004000, ram=$40000000&lt;BR /&gt; &lt;BR /&gt;Loading programming algorithm ... &lt;BR /&gt;Done.&lt;BR /&gt;CMD&amp;gt;VC&lt;BR /&gt;Verifying object file CRC-16 to device ranges ... &lt;BR /&gt; block 00400380-00400387 ... &lt;BR /&gt;Calculated CRC-16 does not match block. (File = $11D4, Device = $6820) &lt;BR /&gt; &lt;BR /&gt;CMD&amp;gt;EM&lt;BR /&gt;Command is inactive for this .PCP file. &lt;BR /&gt;Error Erasing flash of device &lt;BR /&gt;Error occured during Flash programming. &lt;BR /&gt; &lt;BR /&gt;Starting reset script (C:\NXP\S32DS_Power_v1.2\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.6.9.201706282002\win32\gdi\P&amp;amp;E\s32e200_mpc574xg.mac) ... &lt;BR /&gt;REM This script is compatible with MPC574xG devices. &lt;BR /&gt;REM Clean GPRs to remove residual data after using algorithm &lt;BR /&gt;REM Initialize all of the Main SRAM - 768KB &lt;BR /&gt;Initializing RAM from $40000000 to $400BFFFF. &lt;BR /&gt;REM Core 0 I-MEM 16K &lt;BR /&gt;Initializing RAM from $50000000 to $50003FFF. &lt;BR /&gt;REM Core 0 D-MEM 64K &lt;BR /&gt;Initializing RAM from $50800000 to $5080FFFF. &lt;BR /&gt;REM Core 1 I-MEM 16K &lt;BR /&gt;Initializing RAM from $51000000 to $51003FFF. &lt;BR /&gt;REM Core 1 D-MEM 64K &lt;BR /&gt;Initializing RAM from $51800000 to $5180FFFF. &lt;BR /&gt;REM Core 2 I-MEM 16K &lt;BR /&gt;Initializing RAM from $52000000 to $52003FFF. &lt;BR /&gt;REM Core 2 D-MEM 32K &lt;BR /&gt;Initializing RAM from $52800000 to $52807FFF. &lt;BR /&gt;REM overlay memory 16K &lt;BR /&gt;Initializing RAM from $0D000000 to $0D003FFF. &lt;BR /&gt;REM Overlay SRAM Emulation device only &lt;BR /&gt;Initializing RAM from $0C000000 to $0C0FFFFF. &lt;BR /&gt; &lt;BR /&gt;Reset script (C:\NXP\S32DS_Power_v1.2\eclipse\plugins\com.pemicro.debug.gdbjtag.ppc_1.6.9.201706282002\win32\gdi\P&amp;amp;E\s32e200_mpc574xg.mac) completed. &lt;BR /&gt; &lt;BR /&gt;MPC574xG Device detected. &lt;BR /&gt;PE-ERROR: Error downloading to the device.&lt;BR /&gt;Disconnected from "127.0.0.1" via 127.0.0.1&lt;BR /&gt;Target Disconnected.&lt;BR /&gt;Target Disconnected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 13:53:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Program-DCF-Record-into-5748G/m-p/779471#M3033</guid>
      <dc:creator>bix010</dc:creator>
      <dc:date>2018-04-30T13:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Program DCF Record into 5748G</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Program-DCF-Record-into-5748G/m-p/779472#M3034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've looked at the console output a bit more. It seems like the programming sequence when writing to flash is always as follows:&lt;/P&gt;&lt;P&gt;"Programming sequency is : erase, blank check, program, and verify {default} "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the UTest .pcp file does not have a function for erase (which makes sense since the UTest is OTP).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And hence the error seems to be coming from here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;CMD&amp;gt;EM&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Command is inactive for this .PCP file.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Error Erasing flash of device&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Error occured during Flash programming.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;How do I change the programming sequence so the "erase" step is skipped?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 13:11:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Program-DCF-Record-into-5748G/m-p/779472#M3034</guid>
      <dc:creator>bix010</dc:creator>
      <dc:date>2018-05-01T13:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Program DCF Record into 5748G</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Program-DCF-Record-into-5748G/m-p/779473#M3035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for report. For some reason is PE micro plugin calling erase - which is not usable in DCF area. I'll rise JIRA ticket for this bug.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm going to find if there is workaround for that. I'll let you know.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2018 12:51:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Program-DCF-Record-into-5748G/m-p/779473#M3035</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2018-05-03T12:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Program DCF Record into 5748G</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Program-DCF-Record-into-5748G/m-p/779474#M3036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;well - the only workaround which is working for me is use Lauterbach power debug interface. If it is suitable solution for you - here are steps how to program DCF via Lauterbach:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;prepare srec by the same way as for PE Micro (&amp;nbsp;&lt;A href="https://community.nxp.com/docs/DOC-334094"&gt;HOWTO: Program DCF record into UTEST flash in S32 Design Studio for Power&lt;/A&gt;&amp;nbsp;)&lt;/LI&gt;&lt;LI&gt;Start T32 for PPC&lt;/LI&gt;&lt;LI&gt;init flash for programming by&amp;nbsp;&lt;BR /&gt;&lt;SPAN style="color: #00ccff;"&gt;&lt;STRONG style="font-family: 'courier new', courier, monospace;"&gt;DO ~~/demo/powerpc/flash/mpc5xxx.cmm PREPAREONLY&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;lauterbach command&lt;/LI&gt;&lt;LI&gt;enable program OTP area:&lt;BR /&gt;&lt;SPAN style="color: #00ccff;"&gt;&lt;STRONG style="font-family: 'courier new', courier, monospace;"&gt;FLASH.Program 0x00400000--0x00403FFF /OTP&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Load your DCF srecord - choose srec file from file dialog:&lt;BR /&gt;&lt;SPAN style="color: #00ccff;"&gt;&lt;STRONG style="font-family: 'courier new', courier, monospace;"&gt;data.load.auto *&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Write srec to DCF:&lt;BR /&gt;&lt;SPAN style="font-size: 15px; color: #00ccff;"&gt;&lt;STRONG style="font-family: 'courier new', courier, monospace;"&gt;flash.program off&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2018 10:30:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Program-DCF-Record-into-5748G/m-p/779474#M3036</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2018-05-04T10:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Program DCF Record into 5748G</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Program-DCF-Record-into-5748G/m-p/779475#M3037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I've checked with PE Micro and it seems like they removed the EM command from the UTEST PCP. This was to prevent confusion, since the EM command&amp;nbsp;doesn't actually do anything on the UTEST area which is OTP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, removing this command broke compaitibilty with the S32 IDE plugin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PE Micro is currently looking for a workaround. I don't currently have access to a lauterbach debugger, so I'll just wait for their updates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For consideration, for UTEST programming, may want to allow for another build configuration that does not require the EM command to be run.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2018 01:53:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Program-DCF-Record-into-5748G/m-p/779475#M3037</guid>
      <dc:creator>bix010</dc:creator>
      <dc:date>2018-05-07T01:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Program DCF Record into 5748G</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Program-DCF-Record-into-5748G/m-p/1381487#M8034</link>
      <description>&lt;P&gt;has this problem solved yet? I am also trying to use PEMicro OpenSDA to write Utest DCF with password onto my DEVKIT MPC5744P board, because now I do not have any other debugger except the embedded OpenSDA debugger on board.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Dec 2021 23:00:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Program-DCF-Record-into-5748G/m-p/1381487#M8034</guid>
      <dc:creator>bingwang312</dc:creator>
      <dc:date>2021-12-04T23:00:52Z</dc:date>
    </item>
  </channel>
</rss>

