This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Can I modify source code for the vitual com of nRF52833 USB CDC ACM in \examples\peripheral\usbd_cdc_acm?

Hi, 

   we are using D- and D+ in our nRf52833 board,    I want to use the CDC ACM USB class  as Virtual COM port.

  I found that there has a demo example in the \examples\peripheral\usbd_cdc_acm,  but it is only used for nRf52840,  

  Could I modify it for nRF52833?

Parents Reply Children
  • Hi Simonr,

        Thnaks for your reply.

        I have already merge usb cdc modules fie to  ..\examples\dfu\dfu_nrf52833_xxAA_s113_7_0_1.emProject ,  if I comment

        initialize() and start() in main() of main.c of this project(as follow code),  then there no error

       "app_error_weak.c,  115,    Mesh error 133      at 0x00000000 (:0)".

         the USB cdc modules works well, since I can see "USB CDC ..." com port in manage device of my pc.

         when cancel commnet initialize() and start(),the error happens again.

        Do you think what reason it will be?

        int main(void)
    {
       // initialize();
       // start();   

  • Hi,

     I just want to implement DFU function.

    1) Plug a Dongle with a USB port into My PC (Dongle's usb  connect to D- and D+ of nRF52)

    2)  send fw to Dongle from PC

    3)  Donle receive fw data , then send data out to update other node  with ble mesh

    Is there any example to reference? 

Related