Skip to main content
nooshin_1382
Associate III
June 26, 2016
Question

Problem With LINFlex when use DFlash

  • June 26, 2016
  • 1 reply
  • 773 views
Posted on June 26, 2016 at 07:56

Hi Erwan

I Have a problem with LINFlex when i write to DFlash.

in my program before in main loop i do this  :

1)  init the LINFlex.

2) init DFlash

3) erase DFlash and the Write to the DFlash successfully.

4) main loop is started wait for a button goes Low then LIN send a command and recive data

    but when in my program first of program i write to DFlash the LIN recive data but have        no send data when i comment the write to DFlash function all the program is work well.

i don't know is there have relation between a LINFlex and DFlash ??

or this problem is for compiler issue ??

Thanks for help

Best Regards

Nazerian Vanima
    This topic has been closed for replies.

    1 reply

    Erwan YVIN
    ST Technical Moderator
    June 27, 2016
    Posted on June 27, 2016 at 11:04

    Hello Vanima ,

    Could you confirm the platform used ?

    do you use HAL or RLA ?

    Normally there is no relation between between DFLASH and LINFLEX

    Could you check if there is no IVOR1 in your code ?

    check the ProgramCounter (PC) in ''assembler'' after writing in DFLASH.

    I do not think that the problem is a compiler issue.

    Best regards

                                Erwan

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.