Is it possible to enter DFU / OTA from a DWT
i.e if the code crashes, and I can't trigger DFU mode by writing to a characteristic, can the WDT jump straight to the DFU / OTA ?
Is it possible to enter DFU / OTA from a DWT
i.e if the code crashes, and I can't trigger DFU mode by writing to a characteristic, can the WDT jump straight to the DFU / OTA ?
DFU always get executed at reset so technically yes. The thing is dfu will check for valid App and jump right to it immediately so you'll end up in a jumping loop. You can have the DFU stay in DFU mode by holding a button when DFU is booting. If you don't have a button then you need to modify the DFU code to stay in DFU for a certain amount of seconds before booting the App. That would give a chance to reflash.
OK Thanks.
I'm using SDK 11 SD132, I can probably switch to SDK 12. I'm not sure about 13 I think it still has some problems
OK Thanks.
I'm using SDK 11 SD132, I can probably switch to SDK 12. I'm not sure about 13 I think it still has some problems