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.

[C5535] Confirm the behavior difference between Hardware reset and Software reset

Guru 24520 points

Hi TI Experts,

Please let me confirm the following question.
[Question.1]
Would you please teach me the reset behavior difference between hardware and software?

[Question.2]

Will the C5535 reboot the device after software Reset?

If you have any questions, please let me know.
Best regards.
Kaka

  • Hi Kaka-san,

    Below are my response:

    Q1 Would you please teach me the reset behavior difference between hardware and software?

    Hardware Reset - Hardware reset is responsible for initializing all key states of the device. When a hardware reset is asserted, all the registers are set to their default values. The hardware reset occurs whenever the RESET pin is asserted or when the internal power-on-reset (POR) circuit de-asserts an internal signal called POWERGOOD. Once the hardware reset is applied, the DSP starts the boot sequence. More details on reset are in C5535 datasheet section 5.7.3 which you might be already aware off.

     

    Software reset - there are two types of software reset: the CPU's software reset instruction and the software control of the peripheral reset signals.

     

    Software instruction reset only affects IFR0, IFR1, ST0_55, ST1_55, ST2_55, all 16 bits of T2 register, and SATA bit in ST3. All other registers are unaffected. This will generate software interrupt.

     

    To note: A hardware reset loads the interrupt vector pointer called IVPD with FFFFh and, thus, forces the CPU to fetch the reset vector from program address FF FF00h. During a software reset, IVPD remains unchanged; the CPU fetches the reset vector using the current IVPD value.

     

    With respect to software control of the peripheral reset, this reset can be applied either through PRCR (peripheral reset control register) or in some peripherals it can be through specific software reset bit.

    Q2 :Will the C5535 reboot the device after software Reset?

    I think this actually depends on what is implemented as part of software reset interrupt routine (the next jump address ). The software reset instruction will generate software interrupt but during software reset, IVPD remains unchanged; the CPU fetches the reset vector using the current IVPD value , which customer can change it any time.

    Hope this information helps . Pl let us know if you have additional questions on the above.

    Regards

     Vasanth

  • Hi Vasanth,

    Thank you for your kindly response.
    I will be able to answer for my customer by your response.
    For reboot question, I think that the C5535 could not reboot by software ISR.
    To reboot the system by software, they can use the RTC-only mode and use the RTC-interrupt.
    How do you think?

    If you have any other solutions for reboot by software, would you please show us it?

    Best regards
    Kaka
  • We are using Wachdog timer to mimic HW reset and reboot the core. It tested for C5515 and C5535.

    Cheers,

    Stan

  • Hi Stan,

    Thank you for your advice.
    I will inform your idea in addition to my idea.

    Best regards.
    Kaka