<?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: Why JN516x binary file has no _hwdbg? in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/Why-JN516x-binary-file-has-no-hwdbg/m-p/1161441#M10220</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please look at the next application note that could help you to enter into debug mode. You will need a&amp;nbsp;Beyond Debug Key.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/JN-AN-1203.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/JN-AN-1203.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;What is the reason that you want to enter into debug mode? Could you please explain with more details your specific issue.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mario&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 16:33:39 GMT</pubDate>
    <dc:creator>mario_castaneda</dc:creator>
    <dc:date>2020-09-30T16:33:39Z</dc:date>
    <item>
      <title>Why JN516x binary file has no _hwdbg?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Why-JN516x-binary-file-has-no-hwdbg/m-p/1160984#M10217</link>
      <description>&lt;P&gt;When I am working with&amp;nbsp;JN-AN-1189-ZigBee-HA-Demo, I enabled the DEBUG=HW, but the bin file's name will not add -hwdbg.&lt;/P&gt;&lt;P&gt;Is the project unable to enable hardware debug with JTAG???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I fould these in the SDK config_ba2.mk:&lt;/P&gt;&lt;P&gt;# Debug Support&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ifeq ($(DEBUG), HW)&lt;/STRONG&gt;&lt;BR /&gt;DISABLE_LTO ?= 1&lt;BR /&gt;CFLAGS += -g -DGDB&lt;BR /&gt;LDFLAGS += -g&lt;BR /&gt;# Optimise at level 0 instead of size&lt;BR /&gt;CFLAGS := $(subst -Os,-O0,$(CFLAGS))&lt;BR /&gt;LDFLAGS := $(subst -Os,-O0,$(LDFLAGS))&lt;BR /&gt;HARDWARE_DEBUG_ENABLED=1&lt;BR /&gt;endif&lt;/P&gt;&lt;P&gt;ifeq ($(DEBUG), HW_SIZEOPT)&lt;BR /&gt;DISABLE_LTO ?= 1&lt;BR /&gt;CFLAGS += -g -DGDB&lt;BR /&gt;LDFLAGS += -g&lt;BR /&gt;HARDWARE_DEBUG_ENABLED=1&lt;BR /&gt;$(info No optimisation enabled with HW debug ...)&lt;BR /&gt;endif&lt;/P&gt;&lt;P&gt;ifeq ($(HARDWARE_DEBUG_ENABLED), 1)&lt;BR /&gt;# Set DEBUG_PORT to UART0 or UART1 dependant on connection to serial port on board&lt;BR /&gt;CFLAGS += -D$(DEBUG_PORT)_DEBUG&lt;BR /&gt;CFLAGS += -DHWDEBUG&lt;BR /&gt;&lt;STRONG&gt;BIN_SUFFIX ?= _hwdbg&lt;/STRONG&gt;&lt;BR /&gt;$(info Building HW debug version ...)&lt;BR /&gt;endif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So this is the root cause?&lt;/P&gt;&lt;P&gt;BIN_SUFFIX should be +=, not ?=&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JN-AN-1180-802-15-4-Home-Sensor-Demo is ok, I think&amp;nbsp;BIN_SUFFIX is empty here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I correct?&lt;/P&gt;&lt;P&gt;Tks!!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:14:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Why-JN516x-binary-file-has-no-hwdbg/m-p/1160984#M10217</guid>
      <dc:creator>wangyilong</dc:creator>
      <dc:date>2020-09-30T02:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Why JN516x binary file has no _hwdbg?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Why-JN516x-binary-file-has-no-hwdbg/m-p/1161441#M10220</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please look at the next application note that could help you to enter into debug mode. You will need a&amp;nbsp;Beyond Debug Key.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/JN-AN-1203.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/JN-AN-1203.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;What is the reason that you want to enter into debug mode? Could you please explain with more details your specific issue.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mario&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 16:33:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Why-JN516x-binary-file-has-no-hwdbg/m-p/1161441#M10220</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2020-09-30T16:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why JN516x binary file has no _hwdbg?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Why-JN516x-binary-file-has-no-hwdbg/m-p/1165716#M10250</link>
      <description>&lt;P&gt;Hi,Mario&lt;/P&gt;&lt;P&gt;I am planning to develop a project about motor control of IoT, like a&amp;nbsp;electric curtain, but I added a gsensor hardware via the UART hardware. So I have to debug how the JN5169 parse the gsensor data.&lt;/P&gt;&lt;P&gt;Also we have&amp;nbsp;&lt;SPAN&gt;Beyond Debug Key, and I have succeeded with&amp;nbsp;AN1180_154_HomeSensorEndD_JN5168_hwdbg.elf according to&amp;nbsp;JN-AN-1203.pdf, but failed with other demo projects. So I think the unsupported demo project is lack of makefile config. But I'm not sure.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BTW, what if there is no current cluster supporting my application? What should I do? I didn't find corresponding guide. Could you help provide any clues?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Tks so much!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best wishes!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 02:24:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Why-JN516x-binary-file-has-no-hwdbg/m-p/1165716#M10250</guid>
      <dc:creator>wangyilong</dc:creator>
      <dc:date>2020-10-12T02:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why JN516x binary file has no _hwdbg?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Why-JN516x-binary-file-has-no-hwdbg/m-p/1170270#M10288</link>
      <description>&lt;P&gt;Dear Mario,&lt;/P&gt;&lt;P&gt;I can stop the code by clicking the pause button, but I can not add breakpoint. Do you know this reason?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wangyilong_0-1603187934764.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/127837i1AA5EF971584D2C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wangyilong_0-1603187934764.png" alt="wangyilong_0-1603187934764.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;wangyilong_0-1603187934764.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tks so much!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 10:01:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Why-JN516x-binary-file-has-no-hwdbg/m-p/1170270#M10288</guid>
      <dc:creator>wangyilong</dc:creator>
      <dc:date>2020-10-20T10:01:17Z</dc:date>
    </item>
  </channel>
</rss>

