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.

Linux/TAS2559: TAS2559 0x25 register(TAS2559_SAFE_GUARD_REG) related error occurred

Part Number: TAS2559

Tool/software: Linux

Hi

My customer is bringing it up on board using the TAS2559 Android driver.

1. But DevA safe guard (0xff) failure is occurred as below.

After this error occurs, the system is reset.The error contents are as follows

 

################# fnvram_bufget silenceOTA= #################

wm_db_fnvram_get silenceOTA failed

Bootup silenceOTA mode:0

################# fnvram_bu[   24.666777@0] tas2559 3-004c: Sampling rate for current configuration matches: 48000

[   24.674363@3] wsfdebug.....................1...tas2559_mute

[   24.679210@3] tas2559 3-004c: ERROR DevA safe guard (0xff) failure!

[   24.685027@3] tas2559 3-004c: failsafe

fget HMRetailMode= #################

wm_db_fnvram_get HMRetailMode failed

Current Retail mode:0

ReadMicArrayNumber decide mic number:2

[00:00:24.434] ==========Version print:kernel version:#75 SMP PREEMPT Wed Jul 10 23:34:33 PDT 2019 ::20190710==============

I also attach the relevant log file.

2. Register 0x25 (TAS2559_SAFE_GUARD_REG) is a register that is not in the datasheet. What is this register for?

Is it a hidden register?If the register is to be released in the future, please send us a datasheet with relevant information.

3.Safe quard related error I skipped part and proceeded,
We need the binary file /data/tas2559_cal.bin in the function of the below red-arrow.
Is this binary a Dump binary generated by PPC3? Or, please advise exactly which binary file you mean..

Please check it.

Thank you

Best regards

From Anthony.

  • Hi Anthony,

    I will check this out and will provide further information as soon as possible.

    Best regards,
    -Ivan Salazar
    Applications Engineer - Low Power Audio & Actuators

  • Hi Anthony,

    I'll comment on the error you're seeing in your other e2e post.

    Regarding the _cal.bin file, it is generated in calibration.

    Best regards,
    -Ivan Salazar
    Applications Engineer - Low Power Audio & Actuators

  • Hi Ivan
    Thank you for your reply.

    There is still something I do not understand correctly.
    cal.bin file is created by calibration, is it different from the bin file that is generated from the PPC end system menu that I mentioned? If it is something else, can you explain in more detail the process or method of creating cal.bin?

    Thank you.
    Best Regards.
    From Anthony.
  • Hi Anthony,

    cal.bin file is different than the one generated from End System Integration panel within PPC3. It is obtained during calibration with ftc tool.

    If you need further details about the device tools, you can send me an email to: ivan.salazar@ti.com I can gather some information from our driver development team and share with you.

    Best regards,
    -Ivan Salazar
    Applications Engineer - Low Power Audio & Actuators