Part Number: CC2640R2F
Tool/software: TI-RTOS
Hi,
I am working on the watchdog, and are looking for a way to reset the CC2640R2F, my problem is that the code does not start running after reset pin is pulled low, or after any system reset events.
I have tried:
1. Manually pulling the RESET pin low.
2. Using watchdog with
watchDogParams.resetMode = Watchdog_RESET_ON;
(have tested watchdog with RESET_OFF ann callback just printing a message, that works fine)
3. Running SysCtrlSystemReset(); after startup.
None of these are making the code run from start. Can you help me along the way.
The board is a custom board, and is running fine from Debugger. The board is connected to debugger via cJTAG the whole time.
What can be the problem, do I need to tell the chip to start at the beginning again in some way? If so, How?
The project is based on the simple_peripheral_offchip_OAD with BLE5 stack. Can this have something to do with the BIM?
When running the pogam from the debugger, CCS is losing contact, so there is a reset happening, its just the restart og the code that is not working.
Update:
SysCtrlSystemReset(); is working when using the uartEcho example, but when trying with the Simple_peripheral_OAD_offchip (unedited example project) SysCtrlSystemReset(); is not working.
Thanks in advance.
Best Regards,
Viggo