Arduino Nano 33 BLE sense rev2 serial Monitor in zephyr envirnoment

Hi, after uploading a Zephyr project (like the "Hello World" example), I couldn't see the device in the serial monitor. i add the below commend in overlay file also but still nothing is happening i read some document says the uart stack is not enabled in the arduino board after uploading the sample code but after enabling that also same issue i am getting. 

Board: Arduino Nano 33 BLE sense Rev2 (which has nRF52840 microcontroller in it)
Platform : nrF connect sdk in vs code and zephyr environment both i tried

overlay file:

&usbd {
status = "okay";
cdc_acm_uart {
compatible = "zephyr,cdc-acm-uart";
label = "CDC_ACM";
};
};

Need to see the serial monitor in zephyr environment using Arduino Nano33 BLE sense rev 2 board.
  • Sry if i am giving you too much trouble since you don't have experience with that board, 

    I am able to open when i double press the reset button for setting the mode to boot mode, so thats how I am able to flash using bossac. once it's done I am not able to see the serial... 

    Regards,

    Ebineser 

  • Hello Ebineser,

    I am sorry, I am not familiar with this HW, so I don't know how it is supposed to work. It is not clear to me whether it is the UART or the USB peripheral that is connected to your serial port. I think you need to reach out to the producers of your board to ask how you are supposed to use it outside the arduino IDE.

    Best regards,

    Edvin

  • I understood that you haven't work with the board , i raise this complaint in NRF community because this nano  33 BLE sense rev2 board has nRF52840 soc in it, i thought i will get something from the community thats why. Only thing is i want to see the serial after uploading zephyr application in this board, i tried all the possible way to implement that i couldnt find the exact source, i mentioned one page that talks about this board like solved and unsolved issues in it kindly take that for reference and let me know what i can do to make it done.  

    Regards,
    Ebi

  • I understood that you haven't work with the board , i raise this complaint in NRF community because this nano  33 BLE sense rev2 board has nRF52840 soc in it, i thought i will get something from the community thats why. Only thing is i want to see the serial after uploading zephyr application in this board, i tried all the possible way to implement that i couldnt find the exact source, i mentioned one page that talks about this board like solved and unsolved issues in it kindly take that for reference and let me know what i can do to make it done.  

    Regards,
    Ebi

  • Hello Ebi,

    Yes, it is indeed our chip on that board. But it also contains an Arduino bootloader that runs before it starts the application. I don't have access to that bootloader's source code, and I don't have access to an arduino nano 33 with that bootloader for testing how it behaves either. For all I know, the application needs to be signed for the bootloader to accept it. It may be that the tool you are using to flash does this signing, and that the application starts as intended, and later crashes (which would cause the USB peripheral to fail, so you would no longer see it). It may also be that the bootloader rejects the application image, and then shuts down, which may also be why it disappears. 

    If you have an external debugger/programmer, it is possible to erase the bootloader (irreversible step, unless you find the .hex file for the bootloader elsewhere, or if you can read it out and store it first). After that, you can use the debugger for programming the board directly, without the bootloader. 

    But if you want to use that bootloader to program your device, I am afraid I don't know how it is working. 

    Ebi777 said:
    i thought i will get something from the community thats why

    I understand, and I hope that if someone in the community have experience with this board, please share!

    Best regards,

    Edvin

Related