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

PCA10059 Different version ?

Hi,

I have make an application for PCA10059, that uploaded with nRF Connect (using embedded USB DFU).

All work normaly on multiple PCA10059 board manufactured on 2018...

Now, I have buy some PCA10059 manufactured on 2019 and after DFU upload, my application don't start on last buyed dongle !

I use SoftDevice S140 v6.1

I join the application HEX file (Start on USB CDC mode) name: RavenGateway

DongleGateway.hex.zip

Is exist different version (software or hardware) of PCA10059 ? All PCA10059 are marked V1.0.0

Parents
  • Found it!

    In the application, UART is initialized but not used... It's OK in 2018 production but generate an UART error on 2019 production !

    WorkAround: comment APP_ERROR_HANDLER() function

     /**@snippet [Handling data from UART] */
          case APP_UART_COMMUNICATION_ERROR:
              NRF_LOG_ERROR("Communication error occurred while handling UART.");
              //APP_ERROR_HANDLER(p_event->data.error_communication);
              break;
    
          case APP_UART_FIFO_ERROR:
              NRF_LOG_ERROR("Error occurred in FIFO module used by UART.");
              //APP_ERROR_HANDLER(p_event->data.error_code);
              break;

Reply
  • Found it!

    In the application, UART is initialized but not used... It's OK in 2018 production but generate an UART error on 2019 production !

    WorkAround: comment APP_ERROR_HANDLER() function

     /**@snippet [Handling data from UART] */
          case APP_UART_COMMUNICATION_ERROR:
              NRF_LOG_ERROR("Communication error occurred while handling UART.");
              //APP_ERROR_HANDLER(p_event->data.error_communication);
              break;
    
          case APP_UART_FIFO_ERROR:
              NRF_LOG_ERROR("Error occurred in FIFO module used by UART.");
              //APP_ERROR_HANDLER(p_event->data.error_code);
              break;

Children
No Data
Related