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

PCA10056 dev board jumps to hard fault exception when running ble mesh switch example

I have three PCA10056 development boards and have loaded the BLE mesh light_switch proxy_server onto all of them (SDK v2.2.0) which incorperates soft device S140 V6.0.0

All of them work and can be provisioned from the app but after a while (a few minutes) one of them (always the same one) jumps to the hard fault exception vector.

I am using SES and have fully erased the parts before programming them.  I have not modified the example, just built it as is.

I am struggling to explain why one of the boards does this but not the others.  The only difference I can see is that the board that crashes has a label on it saying PCA10056 V0.9.2 and the working ones say V0.9.3 but I assumed this is not relevant as I am erasing the ICs anyway.

Any help gratefully received

Paul.

Parents
  • Hi,

    This seems like a strange issue. Can you try the same setup with the light_switch proxy_client and see if things behaves the same way? Do you have another PCA10056 board with the same version that you can test with?

    Also, can you try full erase with nrfjprog before flashing the boards?

  • I have tried programming the three boards with the light_switch proxy_client and it does behave exactly the same, the board labelled 0.9.2 jumps to the hard fault handler but the other two boards do not.

    I only have these three boards to test with.

    I tried a full erase using nrfjprog first but this made no difference.

    As an experiment, I tried building the projects as release builds rather than debug (as I always have previously) and in release mode they do not crash.

    When the board crashes in debug mode, generally the stack trace is empty which isn't very helpful.  Once when it crashed I had the following stack trace but I'm not sure it is any help :-

Reply
  • I have tried programming the three boards with the light_switch proxy_client and it does behave exactly the same, the board labelled 0.9.2 jumps to the hard fault handler but the other two boards do not.

    I only have these three boards to test with.

    I tried a full erase using nrfjprog first but this made no difference.

    As an experiment, I tried building the projects as release builds rather than debug (as I always have previously) and in release mode they do not crash.

    When the board crashes in debug mode, generally the stack trace is empty which isn't very helpful.  Once when it crashed I had the following stack trace but I'm not sure it is any help :-

Children
No Data
Related