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.

TDA4AEN-Q1: TDA4AEN-Q1_[722S]MCAL FLS Questions about FLs module

Part Number: TDA4AEN-Q1

1 Debugging found a bug in the Fls_Brd_NOR. c interface of the MCAL driver Fls_Brd_NOR. c where the next write was performed without checking if the flash was complete, resulting in occasional data write failures. Solution: After each completion, check the flash status. The code circled below is the solution, following the approach of XSPI. Is this modification reasonable?
image.png
 
 2 Prerequisite: The Fls_Test. c and Fls_Irq. c files were not used After compiling the Fls_Test. c file and the Fls_Irq. c file, during debugging, after the CPU Reset operation, 1 It is not located in the HwiP'armv7r_vectors_nortos_Sm. S file, but in the Fls_Test. c file. 2 Cannot set breakpoints in the HwiP'armv7r_vectors_nortos_Sm. S file, it will be located in the Fls_Test. c file. After the Fls_Test. c file and the Fls_Irq. c file are not compiled, during debugging, after the CPU Reset operation, 1 Locate the -vectors of the HwiP'armv7r_vectors_nortos_Sm. S file. 2 You can set breakpoints in the HwiP'armv7r_vectors_nortos_asm. S file.
 
Problem: I hope to find the cause of phenomenon 1?
 
image.png
 
  • Hello,

    sorry for the delay. I was out of office last week and i will check and get back to you.

    Regards

    Tarun Mukesh

  • Hello,

    When will you come back?

  • Hello,

    I will check and reply back with in mid of next week.

    Regards

    Tarun Mukesh

  • Hello Gao Dingqing,

    1 Debugging found a bug in the Fls_Brd_NOR. c interface of the MCAL driver Fls_Brd_NOR. c where the next write was performed without checking if the flash was complete, resulting in occasional data write failures. Solution: After each completion, check the flash status. The code circled below is the solution, following the approach of XSPI. Is this modification reasonable?

    This looks reasonable to me , Fls_Brd_NOR.c is custom changeable since it is not part of FLS driver it is part of board flash folder . 

    The Fls_Test. c and Fls_Irq. c files were not used After compiling the Fls_Test. c file and the Fls_Irq. c file, during debugging, after the CPU Reset operation, 1 It is not located in the HwiP'armv7r_vectors_nortos_Sm. S file, but in the Fls_Test. c file. 2 Cannot set breakpoints in the HwiP'armv7r_vectors_nortos_Sm. S file, it will be located in the Fls_Test. c file. After the Fls_Test. c file and the Fls_Irq. c file are not compiled, during debugging, after the CPU Reset operation, 1 Locate the -vectors of the HwiP'armv7r_vectors_nortos_Sm. S file. 2 You can set breakpoints in the HwiP'armv7r_vectors_nortos_asm. S file.

    I dont understand this . HwiP'armv7r_vectors_nortos_Sm. S  and Fls_Test. c are not TI provided files but only Fls_Irq.c file is TI provided one.

    Regards

    Tarun Mukesh