This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[Z-Stack 3.0.2 ] SampleSwitch will crash

Part Number: CC2530
Other Parts Discussed in Thread: Z-STACK

Tool/software: WEBENCH® Design Tools

Hi 

    I use SampleSwitch select EndDeviceEB - OTAClient.

    enable ISR_KEYINTERRUPT and POWER_SAVING

    Any button press(i.e. key interrupt)  will cause SampleSwitch crash.

    How could I debug SampleSwitch under these settings?

    Thanks.

regards,

harkdtrt

  • Hi hark,

    Are you seeing this behavior with the non-OTA example?  If not then this issue could be related to the Boot project.  Are you loading the OTA Boot code as well and making sure to not erase flash when programming the SampleSwitch?  You will need to allow time for the bootloader to finish and execute the switch application.  Please follow all instructions in the Z-Stack OTA Upgrade User's Guide (SWRA353).

    Regards,
    Ryan

  • Hi Ryan:

        Thanks for your help.

        After I apply bootloader first , sampleswitch work fine.


    regards,
    hark