<?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: Flashing u-boot.bin file on imx6ull nand flash using jlink in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Flashing-u-boot-bin-file-on-imx6ull-nand-flash-using-jlink/m-p/755733#M117555</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your quick answer. As mentioned, i downloaded the mfgtools and tried to use the mfgtoolcli binary on linux to program uboot in nand flash. I don't have enough information about that tool and the help is really poor so i still stuck on this point. I can't figure out how to use this tool to program the nand flash. Do you confirm that JTAG can't be used to program the flash memory? The only way to do this is to use the OTG port of the board? I also try to use the given executable (Mfgtoolexe) for windows and i was not able to program the flash... Maybe i've done something wrong but i don't know what is it. That tool uses the configurations files cfg.ini and ucl2.xml to know how to proceed and look for resources in the "firmware" folder. I modify the cfg.ini and use "Nand Flash" for list name and "MX6ULL" for the board to select the "MX6ULL" device in the xml file but it doesn't work. Can you please provide an example of how to use the mfgtoolcli on linux to program the nand flash for the imx6ull? Is the mfgtoolexe has been test on windows 10? I'm working on linux and really need an example of how to do this on linux. I use buildroot to generate a custom uboot, rootfs and dtb files for my board. I already use linux "dd" command to write my image on an sd card and its works. But now i want to use to same genarated files and write everything to nand flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Jean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Nov 2017 15:59:18 GMT</pubDate>
    <dc:creator>jeangardyvalent</dc:creator>
    <dc:date>2017-11-08T15:59:18Z</dc:date>
    <item>
      <title>Flashing u-boot.bin file on imx6ull nand flash using jlink</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flashing-u-boot-bin-file-on-imx6ull-nand-flash-using-jlink/m-p/755731#M117553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys, i'm using a custom board designed as an imx6ull and i want to flash uboot in the nand flash memory by using a segger jlink. First of all to connect to target, i use the device MCIMX6Y1 defined in jlink. i try to load u-boot.bin binary in the flash memory but i always have write issue. I'm not sure of how to do this... I try to write the binary at this address 0x87800000 but it doesn't work. How can i access to nand flash memory? what is the start address of this memory? has anyone already burned uboot in nand flash memory using JTAG? Can somebody explain me the steps to have an uboot loading on nand flash? &lt;/P&gt;&lt;P&gt;I set the dip switches to serial downloader and NAND boot device.&lt;/P&gt;&lt;P&gt;I also tried to use and imx6ullevk board and was not able to connect to the target using the JTAG... I read on segger wiki (&lt;A class="link-titled" href="https://wiki.segger.com/IMX6ULL-EVK" title="https://wiki.segger.com/IMX6ULL-EVK"&gt;IMX6ULL-EVK - SEGGER - Support Wiki&lt;/A&gt;&amp;nbsp;) that we have to disolder some resistors to be able to use the JTAG but it depends on the board revision. So i checked mine and i have those values : 700-28616 REV A1 and SCH-28616 REV C2. The only difference is that i have SCH-28616 REV C2 and on the wiki they said SCH-28616 REV C1... So i guess for my board, i don't have to do this. So why i can't connect to the reference board? Do i have to disolder those resistors?&lt;/P&gt;&lt;P&gt;Thank you for your support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 10:32:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flashing-u-boot-bin-file-on-imx6ull-nand-flash-using-jlink/m-p/755731#M117553</guid>
      <dc:creator>jeangardyvalent</dc:creator>
      <dc:date>2017-11-07T10:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing u-boot.bin file on imx6ull nand flash using jlink</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flashing-u-boot-bin-file-on-imx6ull-nand-flash-using-jlink/m-p/755732#M117554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jean&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for programming uboot in nand flash memory recommended to use mfg tools from&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW" title="http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW"&gt;i.MX 6 / i.MX 7 Series Software and Development Tool|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as it correctly writes fcb to nand, I am afraid it is not possible with jtag.&lt;/P&gt;&lt;P&gt;For using j-link one can look at AN5229 ARM DS-5 Development Studio Debug&lt;/P&gt;&lt;P&gt;i.MX6UL-EVK sect.7. J-LINK Debug&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN5229.pdf" rel="nofollow" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN5229.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 23:08:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flashing-u-boot-bin-file-on-imx6ull-nand-flash-using-jlink/m-p/755732#M117554</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-11-07T23:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing u-boot.bin file on imx6ull nand flash using jlink</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flashing-u-boot-bin-file-on-imx6ull-nand-flash-using-jlink/m-p/755733#M117555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your quick answer. As mentioned, i downloaded the mfgtools and tried to use the mfgtoolcli binary on linux to program uboot in nand flash. I don't have enough information about that tool and the help is really poor so i still stuck on this point. I can't figure out how to use this tool to program the nand flash. Do you confirm that JTAG can't be used to program the flash memory? The only way to do this is to use the OTG port of the board? I also try to use the given executable (Mfgtoolexe) for windows and i was not able to program the flash... Maybe i've done something wrong but i don't know what is it. That tool uses the configurations files cfg.ini and ucl2.xml to know how to proceed and look for resources in the "firmware" folder. I modify the cfg.ini and use "Nand Flash" for list name and "MX6ULL" for the board to select the "MX6ULL" device in the xml file but it doesn't work. Can you please provide an example of how to use the mfgtoolcli on linux to program the nand flash for the imx6ull? Is the mfgtoolexe has been test on windows 10? I'm working on linux and really need an example of how to do this on linux. I use buildroot to generate a custom uboot, rootfs and dtb files for my board. I already use linux "dd" command to write my image on an sd card and its works. But now i want to use to same genarated files and write everything to nand flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Jean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 15:59:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flashing-u-boot-bin-file-on-imx6ull-nand-flash-using-jlink/m-p/755733#M117555</guid>
      <dc:creator>jeangardyvalent</dc:creator>
      <dc:date>2017-11-08T15:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing u-boot.bin file on imx6ull nand flash using jlink</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flashing-u-boot-bin-file-on-imx6ull-nand-flash-using-jlink/m-p/755734#M117556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jean&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no need to change the cfg.ini, general steps is to run appropriate *.vbs file:&lt;/P&gt;&lt;P&gt;for example mfgtool2-yocto-mx-evk-nand.vbs (it has "6uluboot=14x14evk"), ucl2.xml&lt;/P&gt;&lt;P&gt;uses these parameter when executing commands. For nand it is necessary to use kobs-ng&lt;/P&gt;&lt;P&gt;and for its usage one can look at ucl2: &amp;nbsp; &amp;lt;LIST name="NAND Flash" desc="Choose NAND as media"&amp;gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 23:21:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flashing-u-boot-bin-file-on-imx6ull-nand-flash-using-jlink/m-p/755734#M117556</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-11-08T23:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing u-boot.bin file on imx6ull nand flash using jlink</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flashing-u-boot-bin-file-on-imx6ull-nand-flash-using-jlink/m-p/755735#M117557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;I used the linux-cvbs.sh script to create the appropriate script for my board. After that i execute this script (mfgtool2-yocto-mx-evk-nand.vbs.sh) and i have an error that i don't understand the meaning. This my error logs :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;./mfgtool2-yocto-mx-evk-nand.vbs.sh&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;BR /&gt;Your Options:&lt;BR /&gt;sxuboot: sabreauto&lt;BR /&gt;sxdtb: sabreauto&lt;BR /&gt;6uluboot: 14x14evk&lt;BR /&gt;6uldtb: 14x14-evk&lt;BR /&gt;board: sabreauto&lt;BR /&gt;nand: nand&lt;BR /&gt;nanddtb: gpmi-weim&lt;BR /&gt;part_uboot: 0&lt;BR /&gt;part_kernel: 1&lt;BR /&gt;part_dtb: 2&lt;BR /&gt;part_rootfs: 4&lt;BR /&gt;Ready to flash.&lt;BR /&gt;init op Failed code# 24&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that means something to you? i used the micro usb OTG to connect the board to my computer, "lsub" command detects the board and display the following result :&lt;/P&gt;&lt;P&gt;&amp;nbsp; Bus 001 Device 016: ID 15a2:0080 Freescale Semiconductor, Inc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do i have to use other port than usb to program the flash? Can i only do this by using the usb?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's a log file generated after launching the above script. This file content is :&lt;/P&gt;&lt;P&gt;DLL version: 2.3.4&lt;BR /&gt;Thu Nov&amp;nbsp; 9 17:02:18 2017&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Start new logging&lt;BR /&gt;ModuleID[2] LevelID[1]: Error: Invalid device name: MX6SLL&lt;BR /&gt;ModuleID[2] LevelID[1]: Parse ucl script failed, error code: 24&lt;BR /&gt;DLL version: 2.3.4&lt;BR /&gt;Thu Nov&amp;nbsp; 9 17:08:37 2017&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Start new logging&lt;BR /&gt;ModuleID[2] LevelID[1]: Error: Invalid device name: MX6SLL&lt;BR /&gt;ModuleID[2] LevelID[1]: Parse ucl script failed, error code: 24&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of choosing MX6ULL as device, the script choose MX6SLL and i don't know why... Do you have an explanation for that error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Jean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 16:26:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flashing-u-boot-bin-file-on-imx6ull-nand-flash-using-jlink/m-p/755735#M117557</guid>
      <dc:creator>jeangardyvalent</dc:creator>
      <dc:date>2017-11-09T16:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing u-boot.bin file on imx6ull nand flash using jlink</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flashing-u-boot-bin-file-on-imx6ull-nand-flash-using-jlink/m-p/755736#M117558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jean,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You and I have the exact same IMX6ULL revisions. I was unable to get my Segger JLink Plus JTAG to connect to the EVK until I removed the resistors that are shared&amp;nbsp;between JTAG and U1401 (the CODEC). Segger JLink is able to connect now and Segger JFlash is able to load code into the QSPI Flash (U303 on the EVK) without issue. Attached is a picture of the resistors that need to be removed from the Carrier Module (shown just to the left of U1401).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="IMX6ULL_EVK_remove_Codec_Resistors.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28990i0CAC16AD0B53344A/image-size/large?v=v2&amp;amp;px=999" role="button" title="IMX6ULL_EVK_remove_Codec_Resistors.JPG" alt="IMX6ULL_EVK_remove_Codec_Resistors.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Igor's point on the use of NAND flash and the need to manage the bad block tables makes sense. If we can get the Mfg-tool&amp;nbsp;to work correctly on the MX6ULL -&amp;gt; then it could be the best way to go for flashing efforts.&amp;nbsp;I am new to Mfg-tool too. And, have some active unanswered questions too for different issues I am having with this tool (BTW... I am attempting to use&amp;nbsp;L4.1.15_2.0.0-ga_mfg-tools, now). What version of Mfg Tools are you using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 23:08:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flashing-u-boot-bin-file-on-imx6ull-nand-flash-using-jlink/m-p/755736#M117558</guid>
      <dc:creator>djregan</dc:creator>
      <dc:date>2017-11-09T23:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing u-boot.bin file on imx6ull nand flash using jlink</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flashing-u-boot-bin-file-on-imx6ull-nand-flash-using-jlink/m-p/755737#M117559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jean&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for some reason it detects device as MX6SLL,&lt;/P&gt;&lt;P&gt;in ucl2.xml it should detect correct device using:&lt;/P&gt;&lt;P&gt;&amp;lt;STATE name="BootStrap" dev="MX6ULL" vid="15A2" pid="0080"/&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 23:43:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flashing-u-boot-bin-file-on-imx6ull-nand-flash-using-jlink/m-p/755737#M117559</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-11-09T23:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing u-boot.bin file on imx6ull nand flash using jlink</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flashing-u-boot-bin-file-on-imx6ull-nand-flash-using-jlink/m-p/755738#M117560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Regan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer about the board revision. I'm not using the same mfgtools version as you, mine is L4.9.11_1.0.0-ga_mfg-tools.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best resgards&lt;/P&gt;&lt;P&gt;Jean&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2017 10:43:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flashing-u-boot-bin-file-on-imx6ull-nand-flash-using-jlink/m-p/755738#M117560</guid>
      <dc:creator>jeangardyvalent</dc:creator>
      <dc:date>2017-11-14T10:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing u-boot.bin file on imx6ull nand flash using jlink</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flashing-u-boot-bin-file-on-imx6ull-nand-flash-using-jlink/m-p/755739#M117561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Jean,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Even am using L4.9.11_1.0.0-ga_mfg-tools , if you have successfully flashed&amp;nbsp; onto NAND flash using L4.9.11_1.0.0-ga_mfg-tools, could you please provide guidance on the same?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/473497"&gt;L4.9.11_1.0.0-ga_mfg-tools tools issue for flashing on Nand flash onto I.mX6ULL EVK board&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As am stuck with this from past 3 days&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 12:56:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flashing-u-boot-bin-file-on-imx6ull-nand-flash-using-jlink/m-p/755739#M117561</guid>
      <dc:creator>srishan</dc:creator>
      <dc:date>2018-04-09T12:56:40Z</dc:date>
    </item>
  </channel>
</rss>

