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

problem with softdevice

hi to  all,

i am developing a ble device with nrf51822 and i encounter with a problem, in my program i have code like below :

typedef struct ble_keyfob_s
{
    ble_keyfob_evt_handler_t  evt_handler;                    /**< Event handler to be called for handling events in the VancoFOB Service. */
    uint16_t                    service_handle;
    ble_gatts_char_handles_t    comm_char_handles;
    ble_gatts_char_handles_t    noti_char_handles;
	ble_gatts_char_handles_t    walk_cahr_handles;
    uint8_t                     uuid_type;
    uint16_t                    conn_handle;
    ble_keyfob_comm_write_handler_t comm_write_handler;
} ble_keyfob_tanq   ;

//this struct will store m_keyfob service variables
ble_keyfob_t     m_keyfob; 

in this point program work well, but when i add a new variable to my struct like below, program encounter with a problem:

typedef struct ble_keyfob_s
{
    ble_keyfob_evt_handler_t  evt_handler;                    /**< Event handler to be called for handling events in the VancoFOB Service. */
    uint16_t                    service_handle;
    ble_gatts_char_handles_t    comm_char_handles;
    ble_gatts_char_handles_t    noti_char_handles;
	ble_gatts_char_handles_t    walk_cahr_handles;
	
	ble_gatts_char_handles_t    event_noti_char_handles;     ->new variable
	
    uint8_t                     uuid_type;
    uint16_t                    conn_handle;
    ble_keyfob_comm_write_handler_t comm_write_handler;
} ble_keyfob_tanq   ;

//this struct will store m_keyfob service variables
extern ble_keyfob_t     m_keyfob; 

compiler dose not give any error but when i download my program to my module app dose not start and even it dose not go to main,

when i run the program in debug mode disassembler shows the 0xFFFFFFFF address and app do not even go to main. i do not have any idea to how solve that, can any one give me a advice to solve this problem?

Parents Reply Children
No Data
Related