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.
Parents
  • 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

Reply
  • 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

Children
No Data
Related