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.

TMS320C6745: Fast way to reset cpu

Part Number: TMS320C6745
Other Parts Discussed in Thread: SYSBIOS

In my project i need to restart the cpu.

Why this?

I use NDK and the user of the system can change:

- IP

- Gateway

- Ports 

- Active service

The fastest and secure way to do this for me is to prepare the new configuration and restart the system.

But how to do this?

Timer64 has the possibility to be configured as "watchdog", but i already use this timer for other purpose.

I have the possibility to reset the CPU externally from a supervisor, but i prefer software reset.

Regards,

Andrea Iachini

  • Hi Andrea,

    Are you using both the timers? There are two timers in C6745. If not, you can use the watchdog for resetting the CPU right?

    Snippet from the data sheet:

    • One 64-Bit General-Purpose Timer (Configurable as Two 32-Bit Timers)

    • One 64-Bit General-Purpose Watchdog Timer (Configurable as Two 32-Bit General-Purpose Timers)

    Thanks

  • Hi Aravind,

    sysbios has integrated timer management for timer64, probably configured as 2 indipendent timer: TIMER0 & TIMER1.

    I already use TIMER1. 

    I think timer 0 clocks the sysbios scheduler (otherwhise who clock the scheduler??).

    I can reconfigure TIMER1 for watchdog operation when needed, but  as i sayd i can do it from an external supervisor.

    I'm asking if there is a faster way (many cpu has the possibility for the software reset, i can't find anything similar).

    Thanks,

    Andrea Iachini

  • Hi Andrea

    There is no documented software reset method on this family of device.

    Regards

    Mukul