<?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 Dear Sir/Madam, I meet one problem. in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Dear-Sir-Madam-I-meet-one-problem/m-p/767813#M46709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;When I use pyocd flashtool to burn mcuboot.bin into flash of frdm_k64f board, there has one fatal error,lists as follow:&lt;/P&gt;&lt;P&gt;&amp;nbsp;[root@localhost zephyr]# pyocd-flashtool -t k64f -ce -a 0x0 mcuboot.bin &amp;nbsp;INFO:root:DAP SWD MODE initialised INFO:root:K64F not in secure state Traceback (most recent call last): &amp;nbsp; File "/usr/bin/pyocd-flashtool", line 9, in &amp;lt;module&amp;gt; &amp;nbsp; &amp;nbsp; load_entry_point('pyOCD==0.8.1a1', 'console_scripts', 'pyocd-flashtool')() &amp;nbsp; File "/usr/lib/python3.4/site-packages/pyOCD/tools/flash_tool.py", line 152, in main &amp;nbsp; &amp;nbsp; frequency=args.frequency, blocking=False) &amp;nbsp; File "/usr/lib/python3.4/site-packages/pyOCD/board/mbed_board.py", line 265, in chooseBoard &amp;nbsp; &amp;nbsp; mbed.init() &amp;nbsp; File "/usr/lib/python3.4/site-packages/pyOCD/board/board.py", line 51, in init &amp;nbsp; &amp;nbsp; self.target.init() &amp;nbsp; File "/usr/lib/python3.4/site-packages/pyOCD/target/target_kinetis.py", line 123, in init &amp;nbsp; &amp;nbsp; self.aps[0].init(bus_accessible=True) &amp;nbsp; File "/usr/lib/python3.4/site-packages/pyOCD/coresight/ap.py", line 111, in init &amp;nbsp; &amp;nbsp; super(MEM_AP, self).init(bus_accessible) &amp;nbsp; File "/usr/lib/python3.4/site-packages/pyOCD/coresight/ap.py", line 87, in init &amp;nbsp; &amp;nbsp; self.init_rom_table() &amp;nbsp; File "/usr/lib/python3.4/site-packages/pyOCD/coresight/ap.py", line 92, in init_rom_table &amp;nbsp; &amp;nbsp; self.rom_table.init() &amp;nbsp; File "/usr/lib/python3.4/site-packages/pyOCD/coresight/rom_table.py", line 178, in init &amp;nbsp; &amp;nbsp; self.read_id_registers() &amp;nbsp; File "/usr/lib/python3.4/site-packages/pyOCD/coresight/rom_table.py", line 116, in read_id_registers &amp;nbsp; &amp;nbsp; regs = self.ap.readBlockMemoryAligned32(self.top_address + PIDR4, IDR_COUNT) &amp;nbsp; File "/usr/lib/python3.4/site-packages/pyOCD/coresight/ap.py", line 344, in readBlockMemoryAligned32 &amp;nbsp; &amp;nbsp; resp += self._readBlock32(addr, n/4) &amp;nbsp; File "/usr/lib/python3.4/site-packages/pyOCD/coresight/ap.py", line 205, in _readBlock32 &amp;nbsp; &amp;nbsp; resp = self.link.reg_read_repeat(size, reg) &amp;nbsp; File "/usr/lib/python3.4/site-packages/pyOCD/pyDAPAccess/dap_access_cmsis_dap.py", line 590, in reg_read_repeat &amp;nbsp; &amp;nbsp; assert isinstance(num_repeats, six.integer_types) AssertionError [root@localhost zephyr]# &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why this error happened and How to resolve it? thanks you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Mar 2018 07:02:19 GMT</pubDate>
    <dc:creator>duncan_chan</dc:creator>
    <dc:date>2018-03-19T07:02:19Z</dc:date>
    <item>
      <title>Dear Sir/Madam, I meet one problem.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Dear-Sir-Madam-I-meet-one-problem/m-p/767813#M46709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;When I use pyocd flashtool to burn mcuboot.bin into flash of frdm_k64f board, there has one fatal error,lists as follow:&lt;/P&gt;&lt;P&gt;&amp;nbsp;[root@localhost zephyr]# pyocd-flashtool -t k64f -ce -a 0x0 mcuboot.bin &amp;nbsp;INFO:root:DAP SWD MODE initialised INFO:root:K64F not in secure state Traceback (most recent call last): &amp;nbsp; File "/usr/bin/pyocd-flashtool", line 9, in &amp;lt;module&amp;gt; &amp;nbsp; &amp;nbsp; load_entry_point('pyOCD==0.8.1a1', 'console_scripts', 'pyocd-flashtool')() &amp;nbsp; File "/usr/lib/python3.4/site-packages/pyOCD/tools/flash_tool.py", line 152, in main &amp;nbsp; &amp;nbsp; frequency=args.frequency, blocking=False) &amp;nbsp; File "/usr/lib/python3.4/site-packages/pyOCD/board/mbed_board.py", line 265, in chooseBoard &amp;nbsp; &amp;nbsp; mbed.init() &amp;nbsp; File "/usr/lib/python3.4/site-packages/pyOCD/board/board.py", line 51, in init &amp;nbsp; &amp;nbsp; self.target.init() &amp;nbsp; File "/usr/lib/python3.4/site-packages/pyOCD/target/target_kinetis.py", line 123, in init &amp;nbsp; &amp;nbsp; self.aps[0].init(bus_accessible=True) &amp;nbsp; File "/usr/lib/python3.4/site-packages/pyOCD/coresight/ap.py", line 111, in init &amp;nbsp; &amp;nbsp; super(MEM_AP, self).init(bus_accessible) &amp;nbsp; File "/usr/lib/python3.4/site-packages/pyOCD/coresight/ap.py", line 87, in init &amp;nbsp; &amp;nbsp; self.init_rom_table() &amp;nbsp; File "/usr/lib/python3.4/site-packages/pyOCD/coresight/ap.py", line 92, in init_rom_table &amp;nbsp; &amp;nbsp; self.rom_table.init() &amp;nbsp; File "/usr/lib/python3.4/site-packages/pyOCD/coresight/rom_table.py", line 178, in init &amp;nbsp; &amp;nbsp; self.read_id_registers() &amp;nbsp; File "/usr/lib/python3.4/site-packages/pyOCD/coresight/rom_table.py", line 116, in read_id_registers &amp;nbsp; &amp;nbsp; regs = self.ap.readBlockMemoryAligned32(self.top_address + PIDR4, IDR_COUNT) &amp;nbsp; File "/usr/lib/python3.4/site-packages/pyOCD/coresight/ap.py", line 344, in readBlockMemoryAligned32 &amp;nbsp; &amp;nbsp; resp += self._readBlock32(addr, n/4) &amp;nbsp; File "/usr/lib/python3.4/site-packages/pyOCD/coresight/ap.py", line 205, in _readBlock32 &amp;nbsp; &amp;nbsp; resp = self.link.reg_read_repeat(size, reg) &amp;nbsp; File "/usr/lib/python3.4/site-packages/pyOCD/pyDAPAccess/dap_access_cmsis_dap.py", line 590, in reg_read_repeat &amp;nbsp; &amp;nbsp; assert isinstance(num_repeats, six.integer_types) AssertionError [root@localhost zephyr]# &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why this error happened and How to resolve it? thanks you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 07:02:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Dear-Sir-Madam-I-meet-one-problem/m-p/767813#M46709</guid>
      <dc:creator>duncan_chan</dc:creator>
      <dc:date>2018-03-19T07:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dear Sir/Madam, I meet one problem.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Dear-Sir-Madam-I-meet-one-problem/m-p/767814#M46710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There was a &lt;A href="https://github.com/zephyrproject-rtos/zephyr/issues/5699"&gt;recent issue&lt;/A&gt; with the Zephyr getting started guide that incorrectly instructed users to install pyOCD with pip3 instead of pip2. Can you please try installing pyOCD again with pip2?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 19:12:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Dear-Sir-Madam-I-meet-one-problem/m-p/767814#M46710</guid>
      <dc:creator>maureen</dc:creator>
      <dc:date>2018-03-27T19:12:20Z</dc:date>
    </item>
  </channel>
</rss>

