<?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 SDP [EVK-MIMXRT1060]: &amp;quot;WRITE_FILE&amp;quot; error when using packets &amp;gt; 256Byte in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/SDP-EVK-MIMXRT1060-quot-WRITE-FILE-quot-error-when-using-packets/m-p/1188095#M165420</link>
    <description>&lt;P&gt;SDP [EVK-MIMXRT1060]: "WRITE_FILE" error on when using packets &amp;gt; 256Byte&lt;/P&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I using the imx_usb_loader application to write the image via the SDP "WRITE_FILE" API.&lt;/P&gt;&lt;P&gt;The image size is&amp;nbsp;0x1ff00 and the load address is 0x100.&lt;BR /&gt;I have configured the board to boot from USB and using the default flexRAM configuration:&lt;BR /&gt;(128KB ITC: 0x0-&amp;gt;0x20000).&lt;/P&gt;&lt;P&gt;in "imx_usb_loader" we can control the size of the SDP REPORT2 packet size we transmit (In the SPEC the size is limited to 1024Byte).&lt;/P&gt;&lt;P&gt;when i try to use the maximum size of 1024Byte, the bootrom is crashing on the last chunk (0x1fc00 -&amp;gt; 0x1ff00), i can see that the USB bootrom device is enumerated and assigned with new address on my local laptop (which is connected to the EVK).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;is there a limitation (known bug) that using packet size greater than 256Byte when writing a file of&amp;nbsp;0x1ff00 size?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;### logs (with 1024 packet size - FAILURE)&lt;BR /&gt;my configuration file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;imxrt1060_usb
#hid/bulk,[old_header,]max packet size, dcd_addr
hid,1024,0x0
#load
test.bin:jump header&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;report=2, cnt=400&lt;BR /&gt;load_file:foffset=1f800, cnt=400, remaining=700&lt;BR /&gt;0001f900: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001f920: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001f940: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001f960: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001f980: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001f9a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001f9c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001f9e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fa00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fa20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fa40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fa60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fa80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001faa0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fac0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fae0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fb00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fb20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fb40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fb60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fb80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fba0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fbc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fbe0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fc00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fc20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fc40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fc60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fc80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fca0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fcc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fce0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;report=2, cnt=400&lt;BR /&gt;load_file:foffset=1fc00, cnt=300, remaining=300&lt;BR /&gt;0001fd00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fd20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fd40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fd60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fd80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fda0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fdc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fde0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fe00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fe20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fe40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fe60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fe80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fea0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ff00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ff20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ff40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ff60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ff80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ffa0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ffe0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;report=2, cnt=300&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt;&amp;lt;130816, 130816 bytes&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;report=3, cnt=40&lt;BR /&gt;libusb_interrupt_transfer, err=-1, trans=0&lt;BR /&gt;report 3 in err=-1, last_trans=0 00 00 00 00&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;### logs with 256 packet size (SUCCESS)&lt;BR /&gt;my configuration file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;imxrt1060_usb
#hid/bulk,[old_header,]max packet size, dcd_addr
hid,256,0x0
#load
test.bin:jump header&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;report=2, cnt=100&lt;BR /&gt;load_file:foffset=1fc00, cnt=100, remaining=300&lt;BR /&gt;0001fd00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fd20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fd40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fd60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fd80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fda0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fdc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fde0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;report=2, cnt=100&lt;BR /&gt;load_file:foffset=1fd00, cnt=100, remaining=200&lt;BR /&gt;0001fe00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fe20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fe40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fe60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fe80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fea0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;report=2, cnt=100&lt;BR /&gt;load_file:foffset=1fe00, cnt=100, remaining=100&lt;BR /&gt;0001ff00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ff20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ff40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ff60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ff80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ffa0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ffe0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;report=2, cnt=100&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt;&amp;lt;130816, 130816 bytes&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;report=3, cnt=40&lt;BR /&gt;libusb_interrupt_transfer, err=0, trans=5&lt;BR /&gt;report 3 in err=0, last_trans=4 56 78 78 56&lt;BR /&gt;report=4, cnt=40&lt;BR /&gt;libusb_interrupt_transfer, err=0, trans=65&lt;BR /&gt;report 4 in err=0, last_trans=64 88 88 88 88&lt;BR /&gt;succeeded (security 0x56787856, status 0x88888888)&lt;BR /&gt;load file took 690709 us, rate 189393 Bps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Nov 2020 10:29:06 GMT</pubDate>
    <dc:creator>vaerov</dc:creator>
    <dc:date>2020-11-24T10:29:06Z</dc:date>
    <item>
      <title>SDP [EVK-MIMXRT1060]: "WRITE_FILE" error when using packets &gt; 256Byte</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SDP-EVK-MIMXRT1060-quot-WRITE-FILE-quot-error-when-using-packets/m-p/1188095#M165420</link>
      <description>&lt;P&gt;SDP [EVK-MIMXRT1060]: "WRITE_FILE" error on when using packets &amp;gt; 256Byte&lt;/P&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I using the imx_usb_loader application to write the image via the SDP "WRITE_FILE" API.&lt;/P&gt;&lt;P&gt;The image size is&amp;nbsp;0x1ff00 and the load address is 0x100.&lt;BR /&gt;I have configured the board to boot from USB and using the default flexRAM configuration:&lt;BR /&gt;(128KB ITC: 0x0-&amp;gt;0x20000).&lt;/P&gt;&lt;P&gt;in "imx_usb_loader" we can control the size of the SDP REPORT2 packet size we transmit (In the SPEC the size is limited to 1024Byte).&lt;/P&gt;&lt;P&gt;when i try to use the maximum size of 1024Byte, the bootrom is crashing on the last chunk (0x1fc00 -&amp;gt; 0x1ff00), i can see that the USB bootrom device is enumerated and assigned with new address on my local laptop (which is connected to the EVK).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;is there a limitation (known bug) that using packet size greater than 256Byte when writing a file of&amp;nbsp;0x1ff00 size?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;### logs (with 1024 packet size - FAILURE)&lt;BR /&gt;my configuration file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;imxrt1060_usb
#hid/bulk,[old_header,]max packet size, dcd_addr
hid,1024,0x0
#load
test.bin:jump header&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;report=2, cnt=400&lt;BR /&gt;load_file:foffset=1f800, cnt=400, remaining=700&lt;BR /&gt;0001f900: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001f920: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001f940: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001f960: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001f980: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001f9a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001f9c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001f9e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fa00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fa20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fa40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fa60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fa80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001faa0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fac0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fae0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fb00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fb20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fb40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fb60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fb80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fba0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fbc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fbe0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fc00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fc20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fc40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fc60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fc80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fca0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fcc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fce0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;report=2, cnt=400&lt;BR /&gt;load_file:foffset=1fc00, cnt=300, remaining=300&lt;BR /&gt;0001fd00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fd20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fd40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fd60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fd80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fda0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fdc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fde0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fe00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fe20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fe40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fe60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fe80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fea0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ff00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ff20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ff40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ff60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ff80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ffa0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ffe0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;report=2, cnt=300&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt;&amp;lt;130816, 130816 bytes&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;report=3, cnt=40&lt;BR /&gt;libusb_interrupt_transfer, err=-1, trans=0&lt;BR /&gt;report 3 in err=-1, last_trans=0 00 00 00 00&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;### logs with 256 packet size (SUCCESS)&lt;BR /&gt;my configuration file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;imxrt1060_usb
#hid/bulk,[old_header,]max packet size, dcd_addr
hid,256,0x0
#load
test.bin:jump header&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;report=2, cnt=100&lt;BR /&gt;load_file:foffset=1fc00, cnt=100, remaining=300&lt;BR /&gt;0001fd00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fd20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fd40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fd60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fd80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fda0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fdc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fde0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;report=2, cnt=100&lt;BR /&gt;load_file:foffset=1fd00, cnt=100, remaining=200&lt;BR /&gt;0001fe00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fe20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fe40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fe60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fe80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fea0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001fee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;report=2, cnt=100&lt;BR /&gt;load_file:foffset=1fe00, cnt=100, remaining=100&lt;BR /&gt;0001ff00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ff20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ff40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ff60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ff80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ffa0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;0001ffe0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;report=2, cnt=100&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt;&amp;lt;130816, 130816 bytes&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;report=3, cnt=40&lt;BR /&gt;libusb_interrupt_transfer, err=0, trans=5&lt;BR /&gt;report 3 in err=0, last_trans=4 56 78 78 56&lt;BR /&gt;report=4, cnt=40&lt;BR /&gt;libusb_interrupt_transfer, err=0, trans=65&lt;BR /&gt;report 4 in err=0, last_trans=64 88 88 88 88&lt;BR /&gt;succeeded (security 0x56787856, status 0x88888888)&lt;BR /&gt;load file took 690709 us, rate 189393 Bps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 10:29:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SDP-EVK-MIMXRT1060-quot-WRITE-FILE-quot-error-when-using-packets/m-p/1188095#M165420</guid>
      <dc:creator>vaerov</dc:creator>
      <dc:date>2020-11-24T10:29:06Z</dc:date>
    </item>
  </channel>
</rss>

