using nrfutil --debug-mode to generate package file

Dear:

 I had try to using nrfutil with --debug-mode for bootloader 
 But upload fail.

Is it option support for package Application only?

Parents
  • Hi Joe Yeh, 

    Have you defined NRF_DFU_DEBUG_VERSION or NRF_DFU_DEBUG in the sdk_config of the bootloader. If you don't define that using --debug-mode wouldn't work. 

    From what I can see in the code when you use NRF_DFU_DEBUG, fw_version_ok() will be skipped and it's where the bootloader version is checked. 

     

    If you already define NRF_DFU_DEBUG, you may want to debug and check what caused the invalid parameter in the bootloader. 

Reply
  • Hi Joe Yeh, 

    Have you defined NRF_DFU_DEBUG_VERSION or NRF_DFU_DEBUG in the sdk_config of the bootloader. If you don't define that using --debug-mode wouldn't work. 

    From what I can see in the code when you use NRF_DFU_DEBUG, fw_version_ok() will be skipped and it's where the bootloader version is checked. 

     

    If you already define NRF_DFU_DEBUG, you may want to debug and check what caused the invalid parameter in the bootloader. 

Children
Related