<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Sending data over usb as a hid</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112913/sending-data-over-usb-as-a-hid</link><description>Hi, 
 I use nrf52833 running ncsv2.6.0, 
 I trans v2.6.0\nrf\samples\bluetooth\central_hids to \ncs_v2.6.0\v2.6.0\zephyr\samples\subsys\usb\hid and now plus usb to nrfUSB not J-link,my PC does recognize it as a hid device. 
 And now i wanna send data</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Jul 2024 12:20:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112913/sending-data-over-usb-as-a-hid" /><item><title>RE: Sending data over usb as a hid</title><link>https://devzone.nordicsemi.com/thread/493410?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 12:20:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f98b97e2-e246-46b5-b659-da1cbcb10015</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;Try to build with command &amp;quot;west build -p -b nrf52833dk/nrf52833 -- -DFILE_SUFFIX=keyboard&amp;quot; in NCS 2.7.0. Here is my log. Unfortunately, I do not have a nRF52833DK on hand to do test, but I build and test for nRF52840DK and it works as expected.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;C:\NCS\v2.7.0\nrf\applications\nrf_desktop&amp;gt; west build -p -b nrf52833dk/nrf52833 -- -DFILE_SUFFIX=keyboard
-- west build: making build dir C:\NCS\v2.7.0\nrf\applications\nrf_desktop\build pristine
-- west build: generating a build system
Loading Zephyr module(s) (Zephyr base): sysbuild_default
-- Found Python3: C:/NCS/toolchains/ce3b5ff664/opt/bin/python.exe (found suitable version &amp;quot;3.9.13&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter
-- Cache files will be written to: C:/NCS/v2.7.0/zephyr/.cache
-- Found west (found suitable version &amp;quot;1.2.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: nrf52833dk, qualifiers: nrf52833
Parsing C:/NCS/v2.7.0/zephyr/share/sysbuild/Kconfig
Loaded configuration &amp;#39;C:/NCS/v2.7.0/nrf/applications/nrf_desktop/build/_sysbuild/empty.conf&amp;#39;
Merged configuration &amp;#39;C:/NCS/v2.7.0/nrf/applications/nrf_desktop/sysbuild/../configuration/nrf52833dk_nrf52833/sysbuild.conf&amp;#39;
Configuration saved to &amp;#39;C:/NCS/v2.7.0/nrf/applications/nrf_desktop/build/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;C:/NCS/v2.7.0/nrf/applications/nrf_desktop/build/_sysbuild/autoconf.h&amp;#39;
-- 
   *****************************
   * Running CMake for mcuboot *
   *****************************

Loading Zephyr default modules (Zephyr base).
-- Application: C:/NCS/v2.7.0/bootloader/mcuboot/boot/zephyr
-- CMake version: 3.21.0
-- Using NCS Toolchain 2.6.20240605.885759407716 for building. (C:/NCS/toolchains/ce3b5ff664/cmake)
-- Found Python3: C:/NCS/toolchains/ce3b5ff664/opt/bin/python.exe (found suitable version &amp;quot;3.9.13&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter
-- Cache files will be written to: C:/NCS/v2.7.0/zephyr/.cache
-- Zephyr version: 3.6.99 (C:/NCS/v2.7.0/zephyr)
-- Found west (found suitable version &amp;quot;1.2.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: nrf52833dk, qualifiers: nrf52833
-- Found host-tools: zephyr 0.16.5 (C:/NCS/toolchains/ce3b5ff664/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.16.5 (C:/NCS/toolchains/ce3b5ff664/opt/zephyr-sdk)
-- Found Dtc: C:/NCS/toolchains/ce3b5ff664/opt/bin/dtc.exe (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;)
-- Found BOARD.dts: C:/NCS/v2.7.0/zephyr/boards/nordic/nrf52833dk/nrf52833dk_nrf52833.dts
-- Found devicetree overlay: C:/NCS/v2.7.0/nrf/applications/nrf_desktop/configuration/nrf52833dk_nrf52833/images/mcuboot/app.overlay
-- Generated zephyr.dts: C:/NCS/v2.7.0/nrf/applications/nrf_desktop/build/mcuboot/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/NCS/v2.7.0/nrf/applications/nrf_desktop/build/mcuboot/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: C:/NCS/v2.7.0/nrf/applications/nrf_desktop/build/mcuboot/zephyr/dts.cmake
Parsing C:/NCS/v2.7.0/bootloader/mcuboot/boot/zephyr/Kconfig
Loaded configuration &amp;#39;C:/NCS/v2.7.0/zephyr/boards/nordic/nrf52833dk/nrf52833dk_nrf52833_defconfig&amp;#39;
Merged configuration &amp;#39;C:/NCS/v2.7.0/nrf/applications/nrf_desktop/configuration/nrf52833dk_nrf52833/images/mcuboot/prj.conf&amp;#39;
Merged configuration &amp;#39;C:/NCS/v2.7.0/nrf/applications/nrf_desktop/build/mcuboot/zephyr/.config.sysbuild&amp;#39;
Configuration saved to &amp;#39;C:/NCS/v2.7.0/nrf/applications/nrf_desktop/build/mcuboot/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;C:/NCS/v2.7.0/nrf/applications/nrf_desktop/build/mcuboot/zephyr/include/generated/autoconf.h&amp;#39;
-- Found GnuLd: c:/ncs/toolchains/ce3b5ff664/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version &amp;quot;2.38&amp;quot;)
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/NCS/toolchains/ce3b5ff664/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
CMake Warning at C:/NCS/v2.7.0/nrf/lib/flash_patch/CMakeLists.txt:8 (message):


        ----------------------------------------------------------
        --- WARNING: To maintain the integrity of secure boot, ---
        --- enable CONFIG_DISABLE_FLASH_PATCH in production.   ---
        ----------------------------------------------------------


CMake Warning at C:/NCS/v2.7.0/zephyr/CMakeLists.txt:895 (message):
  No SOURCES given to Zephyr library: drivers__console

  Excluding target from build.


MCUBoot bootloader key file: C:/NCS/v2.7.0/nrf/applications/nrf_desktop/sysbuild/../configuration/nrf52833dk_nrf52833/images/mcuboot/mcuboot_private.pem
-- Configuring done
-- Generating done
-- Build files have been written to: C:/NCS/v2.7.0/nrf/applications/nrf_desktop/build/mcuboot
--
   *********************************
   * Running CMake for nrf_desktop *
   *********************************

Loading Zephyr default modules (Zephyr base).
-- Application: C:/NCS/v2.7.0/nrf/applications/nrf_desktop
-- CMake version: 3.21.0
-- Using NCS Toolchain 2.6.20240605.885759407716 for building. (C:/NCS/toolchains/ce3b5ff664/cmake)
-- Found Python3: C:/NCS/toolchains/ce3b5ff664/opt/bin/python.exe (found suitable version &amp;quot;3.9.13&amp;quot;, minimum required is &amp;quot;3.8&amp;quot;) found components: Interpreter
-- Cache files will be written to: C:/NCS/v2.7.0/zephyr/.cache
-- Zephyr version: 3.6.99 (C:/NCS/v2.7.0/zephyr)
-- Found west (found suitable version &amp;quot;1.2.0&amp;quot;, minimum required is &amp;quot;0.14.0&amp;quot;)
-- Board: nrf52833dk, qualifiers: nrf52833
-- Found host-tools: zephyr 0.16.5 (C:/NCS/toolchains/ce3b5ff664/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.16.5 (C:/NCS/toolchains/ce3b5ff664/opt/zephyr-sdk)
-- Found Dtc: C:/NCS/toolchains/ce3b5ff664/opt/bin/dtc.exe (found suitable version &amp;quot;1.4.7&amp;quot;, minimum required is &amp;quot;1.4.6&amp;quot;) 
-- Found BOARD.dts: C:/NCS/v2.7.0/zephyr/boards/nordic/nrf52833dk/nrf52833dk_nrf52833.dts
-- Found devicetree overlay: C:/NCS/v2.7.0/nrf/applications/nrf_desktop/sysbuild/../configuration/nrf52833dk_nrf52833/app.overlay
-- Generated zephyr.dts: C:/NCS/v2.7.0/nrf/applications/nrf_desktop/build/nrf_desktop/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/NCS/v2.7.0/nrf/applications/nrf_desktop/build/nrf_desktop/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: C:/NCS/v2.7.0/nrf/applications/nrf_desktop/build/nrf_desktop/zephyr/dts.cmake

warning: UPDATEABLE_IMAGE_NUMBER (defined at
C:/NCS/v2.7.0/nrf\samples\common\mcumgr_bt_ota_dfu/Kconfig:89, subsys/dfu/Kconfig:95) was assigned
the value &amp;#39;1&amp;#39; but got the value &amp;#39;&amp;#39;. Check these unsatisfied dependencies:
(((BOARD_THINGY53_NRF5340_CPUAPP || BOARD_THINGY53_NRF5340_CPUAPP_NS) &amp;amp;&amp;amp; SOC_SERIES_NRF53X &amp;amp;&amp;amp;     
NCS_SAMPLE_MCUMGR_BT_OTA_DFU) || (!MCUBOOT &amp;amp;&amp;amp; IMG_MANAGER)) (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_UPDATEABLE_IMAGE_NUMBER and/or look up   
UPDATEABLE_IMAGE_NUMBER in the menuconfig/guiconfig interface. The Application Development Primer,
Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be
helpful too.


warning: MCUBOOT_UPDATE_FOOTER_SIZE (defined at subsys/dfu/Kconfig:54) was assigned the value &amp;#39;0x0&amp;#39;
but got the value &amp;#39;&amp;#39;. Check these unsatisfied dependencies: MCUBOOT_IMG_MANAGER (=n), IMG_MANAGER
(=n). See http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MCUBOOT_UPDATE_FOOTER_SIZE and/or
look up MCUBOOT_UPDATE_FOOTER_SIZE in the menuconfig/guiconfig interface. The Application
Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of
the manual might be helpful too.

Parsing C:/NCS/v2.7.0/nrf/applications/nrf_desktop/Kconfig
Loaded configuration &amp;#39;C:/NCS/v2.7.0/zephyr/boards/nordic/nrf52833dk/nrf52833dk_nrf52833_defconfig&amp;#39;
Merged configuration &amp;#39;C:/NCS/v2.7.0/nrf/applications/nrf_desktop/sysbuild/../configuration/nrf52833dk_nrf52833/prj.conf&amp;#39;
Merged configuration &amp;#39;C:/NCS/v2.7.0/nrf/applications/nrf_desktop/build/nrf_desktop/zephyr/.config.sysbuild&amp;#39;
Configuration saved to &amp;#39;C:/NCS/v2.7.0/nrf/applications/nrf_desktop/build/nrf_desktop/zephyr/.config&amp;#39;
Kconfig header saved to &amp;#39;C:/NCS/v2.7.0/nrf/applications/nrf_desktop/build/nrf_desktop/zephyr/include/generated/autoconf.h&amp;#39;
-- Found GnuLd: c:/ncs/toolchains/ce3b5ff664/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd.exe (found version &amp;quot;2.38&amp;quot;) 
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/NCS/toolchains/ce3b5ff664/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
-- Including signing script: C:/NCS/v2.7.0/nrf/cmake/sysbuild/image_signing.cmake
CMake Warning at C:/NCS/v2.7.0/zephyr/CMakeLists.txt:2027 (message):
  __ASSERT() statements are globally ENABLED


-- Configuring done
-- Generating done
-- Build files have been written to: C:/NCS/v2.7.0/nrf/applications/nrf_desktop/build/nrf_desktop
-- Found partition manager static configuration : C:/NCS/v2.7.0/nrf/applications/nrf_desktop/sysbuild/../configuration/nrf52833dk_nrf52833/pm_static.yml
Partition &amp;#39;mcuboot&amp;#39; is not included in the dynamic resolving since it is statically defined.
Partition &amp;#39;mcuboot_pad&amp;#39; is not included in the dynamic resolving since it is statically defined.
Partition &amp;#39;mcuboot_primary&amp;#39; is not included in the dynamic resolving since it is statically defined.
Partition &amp;#39;mcuboot_primary_app&amp;#39; is not included in the dynamic resolving since it is statically defined.
Partition &amp;#39;settings_storage&amp;#39; is not included in the dynamic resolving since it is statically defined.
-- Configuring done
-- Generating done
-- Build files have been written to: C:/NCS/v2.7.0/nrf/applications/nrf_desktop/build
←[92m-- west build: building application
[9/20] Performing build step for &amp;#39;nrf_desktop&amp;#39;
[0/1] Re-running CMake...
Loading Zephyr default modules (Zephyr base (cached)).
-- Application: C:/NCS/v2.7.0/nrf/applications/nrf_desktop
-- CMake version: 3.21.0
-- Using NCS Toolchain 2.6.20240605.885759407716 for building. (C:/NCS/toolchains/ce3b5ff664/cmake)
-- Cache files will be written to: C:/NCS/v2.7.0/zephyr/.cache
-- Zephyr version: 3.6.99 (C:/NCS/v2.7.0/zephyr)
-- Board: nrf52833dk, qualifiers: nrf52833
-- Found host-tools: zephyr 0.16.5 (C:/NCS/toolchains/ce3b5ff664/opt/zephyr-sdk)
-- Found toolchain: zephyr 0.16.5 (C:/NCS/toolchains/ce3b5ff664/opt/zephyr-sdk)
-- Found BOARD.dts: C:/NCS/v2.7.0/zephyr/boards/nordic/nrf52833dk/nrf52833dk_nrf52833.dts
-- Found devicetree overlay: C:/NCS/v2.7.0/nrf/applications/nrf_desktop/sysbuild/../configuration/nrf52833dk_nrf52833/app.overlay
-- Generated zephyr.dts: C:/NCS/v2.7.0/nrf/applications/nrf_desktop/build/nrf_desktop/zephyr/zephyr.dts
-- Generated devicetree_generated.h: C:/NCS/v2.7.0/nrf/applications/nrf_desktop/build/nrf_desktop/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: C:/NCS/v2.7.0/nrf/applications/nrf_desktop/build/nrf_desktop/zephyr/dts.cmake
Parsing C:/NCS/v2.7.0/nrf/applications/nrf_desktop/Kconfig
Merged configuration &amp;#39;C:/NCS/v2.7.0/nrf/applications/nrf_desktop/build/nrf_desktop/zephyr/.config.sysbuild&amp;#39;
No change to configuration in &amp;#39;C:/NCS/v2.7.0/nrf/applications/nrf_desktop/build/nrf_desktop/zephyr/.config&amp;#39;
No change to Kconfig header in &amp;#39;C:/NCS/v2.7.0/nrf/applications/nrf_desktop/build/nrf_desktop/zephyr/include/generated/autoconf.h&amp;#39;
-- Including signing script: C:/NCS/v2.7.0/nrf/cmake/sysbuild/image_signing.cmake
CMake Warning at C:/NCS/v2.7.0/zephyr/CMakeLists.txt:2027 (message):
  __ASSERT() statements are globally ENABLED


-- Configuring done
-- Generating done
-- Build files have been written to: C:/NCS/v2.7.0/nrf/applications/nrf_desktop/build/nrf_desktop
[4/298] Generating include/generated/version.h
-- Zephyr version: 3.6.99 (C:/NCS/v2.7.0/zephyr), build: v3.6.99-ncs2
[298/298] Linking C executable zephyr\zephyr.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:      352916 B     450048 B     78.42%
             RAM:       48076 B       128 KB     36.68%
        IDT_LIST:          0 GB        32 KB      0.00%
Generating files from C:/NCS/v2.7.0/nrf/applications/nrf_desktop/build/nrf_desktop/zephyr/zephyr.elf for board: nrf52833dk
image.py: sign the payload
image.py: sign the payload
[11/20] Performing build step for &amp;#39;mcuboot&amp;#39;
[5/305] Generating include/generated/version.h
-- Zephyr version: 3.6.99 (C:/NCS/v2.7.0/zephyr), build: v3.6.99-ncs2
[305/305] Linking C executable zephyr\zephyr.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:       62036 B        64 KB     94.66%
             RAM:       32864 B       128 KB     25.07%
        IDT_LIST:          0 GB        32 KB      0.00%
Generating files from C:/NCS/v2.7.0/nrf/applications/nrf_desktop/build/mcuboot/zephyr/zephyr.elf for board: nrf52833dk
[20/20] Generating ../merged.hex&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending data over usb as a hid</title><link>https://devzone.nordicsemi.com/thread/493264?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2024 03:48:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cfe7197-db43-45b5-aafa-5443660ce178</guid><dc:creator>Martin Evans</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thanks for reply,&lt;/p&gt;
&lt;p&gt;But there are some error happened while building nrf Desktop prj.&lt;/p&gt;
&lt;p&gt;Here is my config page&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1720669411688v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;And log&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0310.build-log.txt"&gt;devzone.nordicsemi.com/.../0310.build-log.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending data over usb as a hid</title><link>https://devzone.nordicsemi.com/thread/493176?ContentTypeID=1</link><pubDate>Wed, 10 Jul 2024 13:32:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7dcd5e0d-2725-4097-8305-de32d2580378</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/applications/nrf_desktop/README.html"&gt;nRF Desktop (nordicsemi.com)&lt;/a&gt;&amp;nbsp;is exactly what you need.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending data over usb as a hid</title><link>https://devzone.nordicsemi.com/thread/493100?ContentTypeID=1</link><pubDate>Wed, 10 Jul 2024 09:25:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17a51bb3-8fc4-4522-9a92-927ad6bb272b</guid><dc:creator>Martin Evans</dc:creator><description>&lt;p&gt;my question is similar to this&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/102278/nrf52840dk-usb-hid-example-not-sending-data-over-usb"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/102278/nrf52840dk-usb-hid-example-not-sending-data-over-usb&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>