Read/Write network core registers from application core

How can I read and/or write registers belonging to the Network core from the application core. I would like to do it without modifying the hci_rpmsg that is built by default. Is there a hci api to do this?

Parents Reply
  • nvelozsavino said:
    Where's the hci_rpmsg source code? 

    zephyr/samples/bluetooth/hci_rpmsg is the location. 


    nvelozsavino said:
    How can we create a project that compiles a custom child image?

    First, open a command prompt in the build folder of the network sample and enter the following command to erase the flash memory of the network core and program the network sample:

    nrfjprog -f NRF53 --coprocessor CP_NETWORK --program zephyr/zephyr.hex --chiperase

    Then navigate to the build folder of the application sample and enter the following command to erase the flash memory of the application core and program the application sample:

    nrfjprog -f NRF53 --program zephyr/zephyr.hex --chiperase

    Finally, reset the development kit:

    nrfjprog --pinreset




    You can build app core and net core separately and flash with nrfjprog. 

     Regards,
    Jonathan

Children
No Data
Related