<?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>topic Re: i.MX28 On-Board Diagnostics Suite (OBDS) in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314350#M41312</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The test order in i.MX28 OBDS depends on the linking order of these tests in the ".test_launch" section. To boost a test to run in front of the others, use "RUN_TEST_EARLY" instead of "RUN_TEST" to define the test. If you need to customize the test order to a particular sequence, please modify the main.c.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Aug 2014 09:55:54 GMT</pubDate>
    <dc:creator>PeterChan</dc:creator>
    <dc:date>2014-08-18T09:55:54Z</dc:date>
    <item>
      <title>i.MX28 On-Board Diagnostics Suite (OBDS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314336#M41298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/Qiang_FSL"&gt;Qiang_FSL&lt;/A&gt; , &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/raymondwang"&gt;raymondwang&lt;/A&gt;, &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/igorpadykov"&gt;igorpadykov&lt;/A&gt; &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/YuriMuhin_ng"&gt;YuriMuhin_ng&lt;/A&gt; &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/YixingKong"&gt;YixingKong&lt;/A&gt; &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/fernandolopes"&gt;fernandolopes&lt;/A&gt; &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/lategoodbye"&gt;lategoodbye&lt;/A&gt; &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/GraceH"&gt;GraceH&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;i.MX28 On-Board Diagnostics Suite (OBDS)&lt;/SPAN&gt; to test memory,uart,can,usb etc of my MCIMX28EVK board.&lt;/P&gt;&lt;P&gt;I have followed the commands specified in the pdf available with imx28 OBDS Source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I am using linux , I followed this step &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;./tools/linux/build_obds.sh&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The above command created diag-obds-mx28evk.bin, diag-obds-mx28evk.elf, mx28-obds.sb, ipl files in output/mx28/bin folder.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I have used the steps specified in the pdf&amp;nbsp; to program .sb file to sd card&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;./tools/windows/cfimager.exe \-f ./output/mx28/bin/mx28-obds.sb \-d g -a&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But the command failed.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run-detectors: unable to find an interpreter for ./tools/windows/cfimager.exe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to load this boot stream image to sd card? &lt;/P&gt;&lt;P&gt;Does the obds test need rootfs image?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 11:02:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314336#M41298</guid>
      <dc:creator>pt</dc:creator>
      <dc:date>2014-07-01T11:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 On-Board Diagnostics Suite (OBDS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314337#M41299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is Windows utility, not Linux.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;chip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 11:27:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314337#M41299</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2014-07-01T11:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 On-Board Diagnostics Suite (OBDS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314338#M41300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/pt"&gt;pt&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The OBDS has nothing related to a rootfs or even linux. It is just a simple code that is loaded and runs directly from ram.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to load a .sb image to an sd card on a linux environment, you probably want to use the linux cfimager instead of the windows .exe version!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Fernando.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 11:27:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314338#M41300</guid>
      <dc:creator>fernandolopes</dc:creator>
      <dc:date>2014-07-01T11:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 On-Board Diagnostics Suite (OBDS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314339#M41301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/fernandolopes"&gt;fernandolopes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The&amp;nbsp; linux cfimager is missing in imx_28_obds_release_v1_0 . I have searched for it ,but only windows cfimager is available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 11:34:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314339#M41301</guid>
      <dc:creator>pt</dc:creator>
      <dc:date>2014-07-01T11:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Re: i.MX28 On-Board Diagnostics Suite (OBDS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314340#M41302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Indeed there is no linux cfimager with the obds package.&lt;/P&gt;&lt;P&gt;To be used on linux there is a script named mk_mx28_sd.&lt;/P&gt;&lt;P&gt;My copy is attached. I got it from the i.MX28 SDK (L2.6.35_10.12.01_SDK) on the folder L2.6.35_10.12.01_SDK_scripts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Fernando.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 11:44:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314340#M41302</guid>
      <dc:creator>fernandolopes</dc:creator>
      <dc:date>2014-07-01T11:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 On-Board Diagnostics Suite (OBDS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314341#M41303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/fernandolopes"&gt;fernandolopes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried mk_mx28 script but its asking for rootfs..I modified the script and flashed stream files to memory card ...but after that when i power on i just get a big hex number..i think its not booting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then i tried the windows cfimager.exe then i got an error like this how to solve it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cfimager.exe -f ..\..\output\mx28\bin\mx28-obds.sb -d g -a&lt;/P&gt;&lt;P&gt;Failed to unlock drive, closing anyway!&lt;/P&gt;&lt;P&gt;Error: error -24&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 12:31:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314341#M41303</guid>
      <dc:creator>pt</dc:creator>
      <dc:date>2014-07-01T12:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Re: i.MX28 On-Board Diagnostics Suite (OBDS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314342#M41304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the HEX number you get on DUART? The attached list may help you translate the error code to english. It is for i.MX23, but the ROM code on i.MX28 is almost the same (or it is the same, I dont't know, maybe some of the freescale folks can confirm tell you).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have never used the windows cfimager, so I do not know what this error mean. I remember I got the cfimager sources once, but I couldn't find them here. I am sure they are available somewhere. You can dig into the code to know what caused that error message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 12:46:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314342#M41304</guid>
      <dc:creator>fernandolopes</dc:creator>
      <dc:date>2014-07-01T12:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 On-Board Diagnostics Suite (OBDS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314343#M41305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are two common pitfalls with cfimager.exe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Please don't use the outdated cfimager version from the ODBS. Take it from the MfgTool.&lt;/P&gt;&lt;P&gt;2) cfimager requires admin privileges. So run the tool always in a admin console.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 14:34:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314343#M41305</guid>
      <dc:creator>lategoodbye</dc:creator>
      <dc:date>2014-07-01T14:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 On-Board Diagnostics Suite (OBDS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314344#M41306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/fernandolopes"&gt;fernandolopes&lt;/A&gt;. The hex number from DUART is &lt;STRONG&gt;0x8020A01D.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#define ERROR_DDI_SD_MBR_NOT_FOUND (ERROR_DDI_GROUP | ERROR_DDI_SD_DRIVER_GROUP | 0x1D)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;0x8020A01D ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 05:02:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314344#M41306</guid>
      <dc:creator>pt</dc:creator>
      <dc:date>2014-07-02T05:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 On-Board Diagnostics Suite (OBDS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314345#M41307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/lategoodbye"&gt;lategoodbye&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Successfully programmed sb file to sd card.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;cfimager.exe -f mx28-obds.sb -d &amp;lt;drive to which card reader connected&amp;gt; -a&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;for example,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;it card reader is connected to drive E then&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;&lt;STRONG&gt;cfimager.exe -f mx28-obds.sb -d&amp;nbsp; g&amp;nbsp; -a&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;&lt;STRONG&gt;(if you are programming sd for the first time then use -a at the end.)Other wise&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;&lt;STRONG&gt;cfimager.exe -f mx28-obds.sb -d&amp;nbsp; g&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 07:21:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314345#M41307</guid>
      <dc:creator>pt</dc:creator>
      <dc:date>2014-07-02T07:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Re: i.MX28 On-Board Diagnostics Suite (OBDS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314346#M41308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/Qiang_FSL"&gt;Qiang_FSL&lt;/A&gt; &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/raymondwang"&gt;raymondwang&lt;/A&gt; &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/fernandolopes"&gt;fernandolopes&lt;/A&gt; &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/lategoodbye"&gt;lategoodbye&lt;/A&gt; &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/igorpadykov"&gt;igorpadykov&lt;/A&gt; &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/YixingKong"&gt;YixingKong&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have spi test code for imx28?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 09:14:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314346#M41308</guid>
      <dc:creator>pt</dc:creator>
      <dc:date>2014-07-02T09:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 On-Board Diagnostics Suite (OBDS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314347#M41309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can take the spi test in the imx-test package for reference. (to extract the source code , you can type this LTIB command ./ltib -p imx-test -m prep)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 06:52:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314347#M41309</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2014-07-07T06:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 On-Board Diagnostics Suite (OBDS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314348#M41310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jimmychan"&gt;jimmychan&lt;/A&gt;.I will try it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 15:51:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314348#M41310</guid>
      <dc:creator>pt</dc:creator>
      <dc:date>2014-07-14T15:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 On-Board Diagnostics Suite (OBDS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314349#M41311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/Qiang_FSL"&gt;Qiang_FSL&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to&amp;nbsp; change the order of test functions in OBDS tool suite. How could I do that? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 07:01:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314349#M41311</guid>
      <dc:creator>pt</dc:creator>
      <dc:date>2014-08-18T07:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 On-Board Diagnostics Suite (OBDS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314350#M41312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The test order in i.MX28 OBDS depends on the linking order of these tests in the ".test_launch" section. To boost a test to run in front of the others, use "RUN_TEST_EARLY" instead of "RUN_TEST" to define the test. If you need to customize the test order to a particular sequence, please modify the main.c.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 09:55:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314350#M41312</guid>
      <dc:creator>PeterChan</dc:creator>
      <dc:date>2014-08-18T09:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 On-Board Diagnostics Suite (OBDS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314351#M41313</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 . "RUN_TEST_EARLY" will make that test to run at first. I understood that.&lt;/P&gt;&lt;P&gt;But I do not know how to change the order. Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 10:33:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314351#M41313</guid>
      <dc:creator>pt</dc:creator>
      <dc:date>2014-08-18T10:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 On-Board Diagnostics Suite (OBDS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314352#M41314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please modify main.c to run each test in the order you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 10:51:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314352#M41314</guid>
      <dc:creator>PeterChan</dc:creator>
      <dc:date>2014-08-18T10:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 On-Board Diagnostics Suite (OBDS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314353#M41315</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 tried to study the code. I didn't understand the flow of the code completely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The run_tests() function calls these test functions. I have seen that there is three for loop to call&amp;nbsp; test functions.&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Also I know that its related to linker script. And the RUN_TEST_EARLY function will execute at first. But I didn't understand how to change the order in main.c file. Should I have to define different array for each test ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Pt &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 05:12:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314353#M41315</guid>
      <dc:creator>pt</dc:creator>
      <dc:date>2014-08-19T05:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Re: i.MX28 On-Board Diagnostics Suite (OBDS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314354#M41316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please refer to the definition of RUN_TEST macro. It simply declares a static function "obds_##func" and then create a pointer in the ".test_launch" section pointing to this function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;#define RUN_TEST_COMMON(name, func)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; static int obds_##func (void)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; obds_test_t test_func = (obds_test_t) func;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; record_test_result(name, test_func());&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;#define RUN_TEST(name, func)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RUN_TEST_COMMON(name, func)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; \&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; static obds_test_t __obds_test_##func __attribute__ ((used)) __attribute__ ((section(".test_launch"))) = obds_##func;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In run test, every pointer in ".test_launch" section&amp;nbsp; will go though and execute its pointed test function "obds_##func".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To customize the tests in any order, please remove the "static" declaration in RUN_TEST_COMMON() and then call each "obds_##func()" in the order you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 02:07:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314354#M41316</guid>
      <dc:creator>PeterChan</dc:creator>
      <dc:date>2014-08-20T02:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 On-Board Diagnostics Suite (OBDS)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314355#M41317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/PeterChan"&gt;PeterChan&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.I understand how to change the order.&lt;/P&gt;&lt;P&gt;I have a doubt on the flow of the code. In the run_tests() function, using for loop we call the functions. The function address is stored in an array.&lt;/P&gt;&lt;P&gt;In the code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;__test_launch_start[], __test_launch_end[] are arrays related to of RUN_TEST function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static obds_test_t __obds_test_##func __attribute__ ((used)) __attribute__ ((section(".test_launch"))) = obds_##func;&lt;/P&gt;&lt;P&gt;This will allow us to use a special section test_launch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how the address is stored in the array? Is that done by linker script? Can you clarify my doubt?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 07:29:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-On-Board-Diagnostics-Suite-OBDS/m-p/314355#M41317</guid>
      <dc:creator>pt</dc:creator>
      <dc:date>2014-08-20T07:29:23Z</dc:date>
    </item>
  </channel>
</rss>

