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

Bootloader s120 for nRF51822 example

Hello,

I am trying to adapt a bootloader from sdk examples to my nRF51822 board without success.

I am able to adapt the example apps from the SDK (I have to change the clocks as I use different ones than the ones in the dev. boards) but there is no way I can make them work.

Examples are fine, even the ones I adapted myself for s120 and the default one for s130. I tried and tested them on a PCA10028 dev. board. But none of them working on my nRF51822 board.

Is there any example for it? Did anyone managed to port a nRF51422 bootloder to nRF51822?

Thanks a lot in advance.

Best regards...

Parents
  • Added this in main.c in my bootloader:

    uint32_t opt_id = BLE_COMMON_OPT_RADIO_CPU_MUTEX;
    			ble_opt_t cpu_blocking_enabled;
    			cpu_blocking_enabled.common_opt.radio_cpu_mutex.enable = 0;
    		
        // If stack is present then continue initialization of bootloader.
        ble_stack_init(!app_reset);
    			err_code = sd_ble_opt_set(opt_id, &cpu_blocking_enabled);
        scheduler_init();
    

    Id I did it well, still doesn't work...

Reply
  • Added this in main.c in my bootloader:

    uint32_t opt_id = BLE_COMMON_OPT_RADIO_CPU_MUTEX;
    			ble_opt_t cpu_blocking_enabled;
    			cpu_blocking_enabled.common_opt.radio_cpu_mutex.enable = 0;
    		
        // If stack is present then continue initialization of bootloader.
        ble_stack_init(!app_reset);
    			err_code = sd_ble_opt_set(opt_id, &cpu_blocking_enabled);
        scheduler_init();
    

    Id I did it well, still doesn't work...

Children
No Data
Related