This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to set ram size in keil for nrf51822?

hello, i am using ble_uart_app project in that i have added the pwm feature and added my code. i have tested my code seperately it works fine but when i have added in the ble_app_uart folder my ble connection getting disconnected and in nrf toolbox in uart i had seen the log it shows gatt error(0x85) will you please tell me why this is happening?why my bluetooth connection gets disconnected. i have attached map file here please refer this and please tell me is there any ram issue due to which my device is getting disconnected. the map file is as follows:

      Code (inc. data)   RO Data    RW Data    ZI Data      Debug   

     23476       1898        416        280       3864     508922   Grand Totals
     23476       1898        416        280       3864     508922   ELF Image Totals
     23476       1898        416        280          0          0   ROM Totals

==============================================================================

    Total RO  Size (Code + RO Data)                23892 (  23.33kB)
    Total RW  Size (RW Data + ZI Data)              4144 (   4.05kB)
    Total ROM Size (Code + RO Data + RW Data)      24172 (  23.61kB)

i have just added grand total please refer it and tell me if it is ram issue. and give me the suggestion how i can change it vin keil compiler.please forward me detailed memory map of nrf51822.

Thank you,

Pallavi

Parents
  • Hello sir,

    will you tell me one thing that can we use direct read write functions in esb_prx function?

    and also tell me that the fds example you had told that is working in sdk 11.0.0.i had tried that example its working fine in sdk 11.0.0. then i have tried by adding fds library in my main code i.e in ble_app_uart in sdk 12.2.0 added all fds function calls i.e write ,fds_read() on my ble_app_uart i had added the fds code same as added in the proximity example. compiled my project with 0 errors.but i noticed that in my fds code the fds_init() function executes continuously.it will not going on the next loop. i am not understanding why it is happening.

    so my main question is that can we use fds in only sdk 11.0.0. or it can be used in sdk 12.2.0.

    Thank you

    Pallavi

Reply
  • Hello sir,

    will you tell me one thing that can we use direct read write functions in esb_prx function?

    and also tell me that the fds example you had told that is working in sdk 11.0.0.i had tried that example its working fine in sdk 11.0.0. then i have tried by adding fds library in my main code i.e in ble_app_uart in sdk 12.2.0 added all fds function calls i.e write ,fds_read() on my ble_app_uart i had added the fds code same as added in the proximity example. compiled my project with 0 errors.but i noticed that in my fds code the fds_init() function executes continuously.it will not going on the next loop. i am not understanding why it is happening.

    so my main question is that can we use fds in only sdk 11.0.0. or it can be used in sdk 12.2.0.

    Thank you

    Pallavi

Children
No Data
Related