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
  • FILE_ID AND REC_KEY is not fixed, and you can change them. From the infocenter:

    Record keys should be in the range 0x0001 - 0xBFFF. The value 0x0000 is reserved by the system. The values from 0xC000 to 0xFFFF are reserved for use by the Peer Manager module and can only be used in applications that do not include Peer Manager.

    File IDs should be in the range 0x0000 - 0xBFFF. The value 0xFFFF is used by the system. The values from 0xC000 to 0xFFFE are reserved for use by the Peer Manager module and can only be used in applications that do not include Peer Manager.


    You can use e.g. a different REC_KEY or FILE_ID to group/split your data up.

Reply
  • FILE_ID AND REC_KEY is not fixed, and you can change them. From the infocenter:

    Record keys should be in the range 0x0001 - 0xBFFF. The value 0x0000 is reserved by the system. The values from 0xC000 to 0xFFFF are reserved for use by the Peer Manager module and can only be used in applications that do not include Peer Manager.

    File IDs should be in the range 0x0000 - 0xBFFF. The value 0xFFFF is used by the system. The values from 0xC000 to 0xFFFE are reserved for use by the Peer Manager module and can only be used in applications that do not include Peer Manager.


    You can use e.g. a different REC_KEY or FILE_ID to group/split your data up.

Children
No Data
Related