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

ERR:SOFTDEVICE: INVALID MEMORY ACCESS

SDK:V16.0.0

chip:52832

development kit:window+keil

I trying to combine libuarte and ble_central\ble_app_multilink_central\. My project work well in ble_central. But when i add uarte. there occur err :<error> app: SOFTDEVICE: INVALID MEMORY ACCESS

This is my sdk_config,whether exist wrong config?sdk_config.h

I have no idea to debug it.How could i fix it?Please help,Thanks!

Parents
  • It seem struct value:libuarte wrong?In the picture,the left is libuarte demo,the right is my project.

    But both of them define libuarte by “NRF_LIBUARTE_ASYNC_DEFINE(libuarte, 0, 0, 0, NRF_LIBUARTE_PERIPHERAL_NOT_USED, 255, 3);”.

    I feel puzzled NRF_LIBUARTE_ASYNC_DEFINE only assign &libuarte_rx_pool to libuarte.p_rx_pool,but I could not find the defination of  libuarte_rx_pool in libuarte demo.why it got memory address?

    whether my fault is caughted by this?

Reply
  • It seem struct value:libuarte wrong?In the picture,the left is libuarte demo,the right is my project.

    But both of them define libuarte by “NRF_LIBUARTE_ASYNC_DEFINE(libuarte, 0, 0, 0, NRF_LIBUARTE_PERIPHERAL_NOT_USED, 255, 3);”.

    I feel puzzled NRF_LIBUARTE_ASYNC_DEFINE only assign &libuarte_rx_pool to libuarte.p_rx_pool,but I could not find the defination of  libuarte_rx_pool in libuarte demo.why it got memory address?

    whether my fault is caughted by this?

Children
Related