<?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>i.MX ProcessorsのトピックRe: Unable to program HyperFLASH with custom RT1062xxx6B controller</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-program-HyperFLASH-with-custom-RT1062xxx6B-controller/m-p/1494915#M192978</link>
    <description>&lt;P&gt;Hi Kerry&lt;/P&gt;&lt;P&gt;I don't have a IMXRT1062 EVK board, we are unable to find any available on the market to purchase.&amp;nbsp; All I have to work from is a IMXRT1050-EVKB and our custom H/W.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I updated my SDK to 2.12 as suggested, modified the MCU to my target RT1062.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tbiberdorf_0-1658760208151.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/187726iE7DBE7E150857C9F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tbiberdorf_0-1658760208151.png" alt="tbiberdorf_0-1658760208151.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I then compiled and loaded the application to RAM to test.&lt;/P&gt;&lt;P&gt;When running the test, I receive and error on the following API call:&lt;/P&gt;&lt;P&gt;static status_t flexspi_nor_hyperbus_read_cfi(FLEXSPI_Type *base, uint32_t addr, uint32_t *buffer, uint32_t bytes)&lt;BR /&gt;{&lt;BR /&gt;flexspi_transfer_t flashXfer;&lt;BR /&gt;status_t status;&lt;/P&gt;&lt;P&gt;flashXfer.deviceAddress = addr * 2;&lt;BR /&gt;flashXfer.port = kFLEXSPI_PortA1;&lt;BR /&gt;flashXfer.cmdType = kFLEXSPI_Read;&lt;BR /&gt;flashXfer.SeqNumber = 1;&lt;BR /&gt;flashXfer.seqIndex = HYPERFLASH_CMD_LUT_SEQ_IDX_READDATA;&lt;BR /&gt;flashXfer.data = buffer;&lt;BR /&gt;flashXfer.dataSize = bytes;&lt;BR /&gt;status = FLEXSPI_TransferBlocking(base, &amp;amp;flashXfer);&lt;/P&gt;&lt;P&gt;if (status != kStatus_Success)&lt;BR /&gt;{&lt;BR /&gt;return status;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;return status;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;with the status == 0x1B59&lt;/P&gt;&lt;P&gt;I stepping into the code to determine what/were the error is coming from.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jul 2022 15:13:26 GMT</pubDate>
    <dc:creator>tbiberdorf</dc:creator>
    <dc:date>2022-07-25T15:13:26Z</dc:date>
    <item>
      <title>Unable to program HyperFLASH with custom RT1062xxx6B controller</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-program-HyperFLASH-with-custom-RT1062xxx6B-controller/m-p/1494135#M192880</link>
      <description>&lt;P&gt;I'm not sure why I cannot access HyperFLASH on my custom RT1062 hardware.&lt;/P&gt;&lt;P&gt;The H/W has been constructed to match the IMXRT1062-EVKB development board.&lt;/P&gt;&lt;P&gt;It's using the HyperFLASH part: S26KS512SDPBHI020&lt;/P&gt;&lt;P&gt;I am running MCUXpresso version 11.5.1&lt;/P&gt;&lt;P&gt;SDK version 2.11.1&lt;/P&gt;&lt;P&gt;I modified the xxxx_flexspi_nor_config.c file as suggested by other forum postings and Application note files (please see attached)&lt;/P&gt;&lt;P&gt;I modified the MCUXpresso properties Driver setting as suggested by Forum suggestions:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tbiberdorf_0-1658505242042.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/187567i3E913BFA8BB5518D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tbiberdorf_0-1658505242042.png" alt="tbiberdorf_0-1658505242042.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I attempt to program a simple GPIO LED sample code using the GUI Flash Tool the console output is:&lt;/P&gt;&lt;P&gt;Executing flash operation 'Program' (Program executable into flash evkbmimxrt1060_igpio_led_output.axf) - Fri Jul 22 09:37:00 MDT 2022&lt;BR /&gt;Checking MCU info...&lt;BR /&gt;Scanning for targets...&lt;BR /&gt;Executing flash action...&lt;BR /&gt;SEGGER J-Link Commander V7.62c (Compiled Mar 23 2022 16:45:48)&lt;BR /&gt;DLL version V7.66c, compiled Jun 15 2022 16:51:27&lt;BR /&gt;J-Link Command File read successfully.&lt;BR /&gt;Processing script file...&lt;BR /&gt;J-Link&amp;gt;ExitOnError 1&lt;BR /&gt;J-Link Commander will now exit on Error&lt;BR /&gt;J-Link&amp;gt;r&lt;BR /&gt;J-Link connection not established yet but required for command.&lt;BR /&gt;Connecting to J-Link via USB...O.K.&lt;BR /&gt;Firmware: J-Link V11 compiled Jun 23 2022 16:24:09&lt;BR /&gt;Hardware version: V11.00&lt;BR /&gt;S/N: 851003797&lt;BR /&gt;License(s): RDI, FlashBP, FlashDL, JFlash, GDB&lt;BR /&gt;USB speed mode: High speed (480 MBit/s)&lt;BR /&gt;VTref=3.328V&lt;BR /&gt;Target connection not established yet but required for command.&lt;BR /&gt;Device "MIMXRT1062XXX6A" selected.&lt;BR /&gt;Connecting to target via SWD&lt;BR /&gt;InitTarget() start&lt;BR /&gt;InitTarget() end&lt;BR /&gt;Found SW-DP with ID 0x0BD11477&lt;BR /&gt;DPIDR: 0x0BD11477&lt;BR /&gt;CoreSight SoC-400 or earlier&lt;BR /&gt;Scanning AP map to find all available APs&lt;BR /&gt;AP[1]: Stopped AP scan as end of AP map has been reached&lt;BR /&gt;AP[0]: AHB-AP (IDR: 0x04770041)&lt;BR /&gt;Iterating through AP map to find AHB-AP to use&lt;BR /&gt;AP[0]: Core found&lt;BR /&gt;AP[0]: AHB-AP ROM base: 0xE00FD000&lt;BR /&gt;InitTarget() start&lt;BR /&gt;InitTarget() end&lt;BR /&gt;Found SW-DP with ID 0x0BD11477&lt;BR /&gt;DPIDR: 0x0BD11477&lt;BR /&gt;CoreSight SoC-400 or earlier&lt;BR /&gt;Scanning AP map to find all available APs&lt;BR /&gt;AP[1]: Stopped AP scan as end of AP map has been reached&lt;BR /&gt;AP[0]: AHB-AP (IDR: 0x04770041)&lt;BR /&gt;Iterating through AP map to find AHB-AP to use&lt;BR /&gt;AP[0]: Core found&lt;BR /&gt;AP[0]: AHB-AP ROM base: 0xE00FD000&lt;BR /&gt;CPUID register: 0x411FC271. Implementer code: 0x41 (ARM)&lt;BR /&gt;Found Cortex-M7 r1p1, Little endian.&lt;BR /&gt;FPUnit: 8 code (BP) slots and 0 literal slots&lt;BR /&gt;CoreSight components:&lt;BR /&gt;ROMTbl[0] @ E00FD000&lt;BR /&gt;[0][0]: E00FE000 CID B105100D PID 000BB4C8 ROM Table&lt;BR /&gt;ROMTbl[1] @ E00FE000&lt;BR /&gt;[1][0]: E00FF000 CID B105100D PID 000BB4C7 ROM Table&lt;BR /&gt;ROMTbl[2] @ E00FF000&lt;BR /&gt;[2][0]: E000E000 CID B105E00D PID 000BB00C SCS-M7&lt;BR /&gt;[2][1]: E0001000 CID B105E00D PID 000BB002 DWT&lt;BR /&gt;[2][2]: E0002000 CID B105E00D PID 000BB00E FPB-M7&lt;BR /&gt;[2][3]: E0000000 CID B105E00D PID 000BB001 ITM&lt;BR /&gt;[1][1]: E0041000 CID B105900D PID 001BB975 ETM-M7&lt;BR /&gt;[1][2]: E0042000 CID B105900D PID 004BB906 CTI&lt;BR /&gt;[0][1]: E0040000 CID B105900D PID 000BB9A9 TPIU-M7&lt;BR /&gt;[0][2]: E0043000 CID B105F00D PID 001BB101 TSG&lt;BR /&gt;Cache: Separate I- and D-cache.&lt;BR /&gt;I-Cache L1: 32 KB, 512 Sets, 32 Bytes/Line, 2-Way&lt;BR /&gt;D-Cache L1: 32 KB, 256 Sets, 32 Bytes/Line, 4-Way&lt;BR /&gt;****** Error: DAP error while reading AIRCR.&lt;BR /&gt;Cortex-M7 identified.&lt;BR /&gt;Reset delay: 0 ms&lt;BR /&gt;Reset type NORMAL: Resets core &amp;amp; peripherals via SYSRESETREQ &amp;amp; VECTRESET bit.&lt;BR /&gt;ResetTarget() start&lt;BR /&gt;Core did not halt on flash image verification. Assuming faulty flash settings.&lt;BR /&gt;Halting target manually.&lt;BR /&gt;ResetTarget() end&lt;BR /&gt;AfterResetTarget() start&lt;BR /&gt;AfterResetTarget() end&lt;BR /&gt;J-Link&amp;gt;h&lt;BR /&gt;PC = 002020B4, CycleCnt = 00000000&lt;BR /&gt;R0 = 60000000, R1 = 402A8210, R2 = 5AF05AF0, R3 = 00000004&lt;BR /&gt;R4 = 00000000, R5 = 0021B368, R6 = 00000002, R7 = 401F46E0&lt;BR /&gt;R8 = 00000000, R9 = 00000000, R10= 7F7FA5BE, R11= 400F8000&lt;BR /&gt;R12= 00000003&lt;BR /&gt;SP(R13)= 20200CF0, MSP= 20200CF0, PSP= 00000000, R14(LR) = FFFFFFF9&lt;BR /&gt;XPSR = 41000003: APSR = nZcvq, EPSR = 01000000, IPSR = 003 (HardFault)&lt;BR /&gt;CFBP = 00000000, CONTROL = 00, FAULTMASK = 00, BASEPRI = 00, PRIMASK = 00&lt;BR /&gt;FPS0 = 00000000, FPS1 = 00000000, FPS2 = 00000000, FPS3 = 00000000&lt;BR /&gt;FPS4 = 00000000, FPS5 = 00000000, FPS6 = 00000000, FPS7 = 00000000&lt;BR /&gt;FPS8 = 00000000, FPS9 = 00000000, FPS10= 00000000, FPS11= 00000000&lt;BR /&gt;FPS12= 00000000, FPS13= 00000000, FPS14= 00000000, FPS15= FFFFFFFF&lt;BR /&gt;FPS16= 00000000, FPS17= 00000000, FPS18= 00000000, FPS19= 00000000&lt;BR /&gt;FPS20= 00000000, FPS21= 00000000, FPS22= 00000000, FPS23= 00000000&lt;BR /&gt;FPS24= 00000000, FPS25= 00000000, FPS26= 00000000, FPS27= 00000000&lt;BR /&gt;FPS28= 00000000, FPS29= 00000000, FPS30= 00000000, FPS31= FFFFFFFF&lt;BR /&gt;FPSCR= 00000000&lt;BR /&gt;J-Link&amp;gt;loadfile "D:\projectsXpresso11.5.1\evkbmimxrt1060_igpio_led_output\Debug\evkbmimxrt1060_igpio_led_output.hex"&lt;BR /&gt;Downloading file [D:\projectsXpresso11.5.1\evkbmimxrt1060_igpio_led_output\Debug\evkbmimxrt1060_igpio_led_output.hex]...&lt;BR /&gt;****** Error: Failed to prepare RAMCode using RAM&lt;BR /&gt;Error while determining flash info (Bank @ 0x60000000)&lt;BR /&gt;Unspecified error -1&lt;BR /&gt;Script processing completed.&lt;BR /&gt;Unable to perform operation!&lt;BR /&gt;Command failed with exit code 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have any further suggestions to try?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 15:57:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-program-HyperFLASH-with-custom-RT1062xxx6B-controller/m-p/1494135#M192880</guid>
      <dc:creator>tbiberdorf</dc:creator>
      <dc:date>2022-07-22T15:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to program HyperFLASH with custom RT1062xxx6B controller</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-program-HyperFLASH-with-custom-RT1062xxx6B-controller/m-p/1494554#M192942</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/47334"&gt;@tbiberdorf&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;If you are testing the MIMXRT1060-EVK on board hyperflash, please follow me to test it:&lt;/P&gt;
&lt;P&gt;1. HW modification&lt;/P&gt;
&lt;P&gt;OPTION1: USE Hyperflash( DNP R153~R158, Mount R356,R361~R366)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. hyperflash testing&lt;/P&gt;
&lt;P&gt;Run this code in the internal RAM, and check the printf information, make sure the hyperflash erase, read, write all works.&lt;/P&gt;
&lt;P&gt;\SDK_2_12_0_EVKB-IMXRT1050\boards\evkbimxrt1050\driver_examples\flexspi\hyper_flash\polling_transfer&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. then you can test the simple led_blinky project, about the .cfx, you can use this one, if you are using the on board CMSIS DAP debugger:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1658731521653.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/187647i8D451E8FFB3AEA04/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1658731521653.png" alt="kerryzhou_0-1658731521653.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wish it helps you!&lt;/P&gt;
&lt;P&gt;Any updated information, kindly let me know.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 06:45:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-program-HyperFLASH-with-custom-RT1062xxx6B-controller/m-p/1494554#M192942</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2022-07-25T06:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to program HyperFLASH with custom RT1062xxx6B controller</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-program-HyperFLASH-with-custom-RT1062xxx6B-controller/m-p/1494915#M192978</link>
      <description>&lt;P&gt;Hi Kerry&lt;/P&gt;&lt;P&gt;I don't have a IMXRT1062 EVK board, we are unable to find any available on the market to purchase.&amp;nbsp; All I have to work from is a IMXRT1050-EVKB and our custom H/W.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I updated my SDK to 2.12 as suggested, modified the MCU to my target RT1062.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tbiberdorf_0-1658760208151.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/187726iE7DBE7E150857C9F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tbiberdorf_0-1658760208151.png" alt="tbiberdorf_0-1658760208151.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I then compiled and loaded the application to RAM to test.&lt;/P&gt;&lt;P&gt;When running the test, I receive and error on the following API call:&lt;/P&gt;&lt;P&gt;static status_t flexspi_nor_hyperbus_read_cfi(FLEXSPI_Type *base, uint32_t addr, uint32_t *buffer, uint32_t bytes)&lt;BR /&gt;{&lt;BR /&gt;flexspi_transfer_t flashXfer;&lt;BR /&gt;status_t status;&lt;/P&gt;&lt;P&gt;flashXfer.deviceAddress = addr * 2;&lt;BR /&gt;flashXfer.port = kFLEXSPI_PortA1;&lt;BR /&gt;flashXfer.cmdType = kFLEXSPI_Read;&lt;BR /&gt;flashXfer.SeqNumber = 1;&lt;BR /&gt;flashXfer.seqIndex = HYPERFLASH_CMD_LUT_SEQ_IDX_READDATA;&lt;BR /&gt;flashXfer.data = buffer;&lt;BR /&gt;flashXfer.dataSize = bytes;&lt;BR /&gt;status = FLEXSPI_TransferBlocking(base, &amp;amp;flashXfer);&lt;/P&gt;&lt;P&gt;if (status != kStatus_Success)&lt;BR /&gt;{&lt;BR /&gt;return status;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;return status;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;with the status == 0x1B59&lt;/P&gt;&lt;P&gt;I stepping into the code to determine what/were the error is coming from.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 15:13:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-program-HyperFLASH-with-custom-RT1062xxx6B-controller/m-p/1494915#M192978</guid>
      <dc:creator>tbiberdorf</dc:creator>
      <dc:date>2022-07-25T15:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to program HyperFLASH with custom RT1062xxx6B controller</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-program-HyperFLASH-with-custom-RT1062xxx6B-controller/m-p/1494921#M192979</link>
      <description>&lt;P&gt;Hi Kerry&lt;/P&gt;&lt;P&gt;I've stepped into the code and got the following, not sure if you can explain.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tbiberdorf_0-1658762381251.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/187732i979F0B39AAC83BE9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tbiberdorf_0-1658762381251.png" alt="tbiberdorf_0-1658762381251.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 15:19:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-program-HyperFLASH-with-custom-RT1062xxx6B-controller/m-p/1494921#M192979</guid>
      <dc:creator>tbiberdorf</dc:creator>
      <dc:date>2022-07-25T15:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to program HyperFLASH with custom RT1062xxx6B controller</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-program-HyperFLASH-with-custom-RT1062xxx6B-controller/m-p/1495100#M193003</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/47334"&gt;@tbiberdorf&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;RT1062 EVK board is:&lt;/P&gt;
&lt;P&gt;1. MIMXRT1060-EVK&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/part/MIMXRT1060-EVK#/" target="_blank"&gt;https://www.nxp.com/part/MIMXRT1060-EVK#/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2. MIMXRT1060-EVKB&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/part/MIMXRT1060-EVKB#/" target="_blank"&gt;https://www.nxp.com/part/MIMXRT1060-EVKB#/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You need to check your customer RT1060 hardware, whether you are using the same pins and chip like the MIMXRT1060 EVK board or EVKB board, as the SDK code is used for the NXP official board.&lt;/P&gt;
&lt;P&gt;If the SDK for rt1060 hyperflash:&lt;/P&gt;
&lt;P&gt;SDK_2_11_1_EVK-MIMXRT1060\boards\evkmimxrt1060\driver_examples\flexspi\hyper_flash\polling_transfer&lt;/P&gt;
&lt;P&gt;This can't work on your customer board, it means your hardware still have issues, please check the solder and connection.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;kerry&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 01:02:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-program-HyperFLASH-with-custom-RT1062xxx6B-controller/m-p/1495100#M193003</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2022-07-26T01:02:43Z</dc:date>
    </item>
  </channel>
</rss>

