cancel
Showing results for 
Search instead for 
Did you mean: 

Problem With LINFlex when use DFlash

nooshin_1382
Associate II
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 discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
1 REPLY 1
Erwan YVIN
ST Employee
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