嗨二万
我写DFlash时遇到LINFlex问题。
在我的程序之前在主循环中我这样做:
1)初始化LINFlex。
2)init DFlash
3)成功擦除DFlash和写入DFlash。
4)启动主循环等待按钮变为低然后LIN发送命令并重新接收数据
但是当我在程序的第一个程序中写入DFlash时,LIN读取数据但是当我对DFlash函数的写入进行注释时没有发送数据,所有程序运行良好。
我不知道LINFlex和DFlash之间有关系吗?
或者这个问题是编译问题?
感谢帮助
最好的祝福
Nazerian Vanima
以上来自于谷歌翻译
以下为原文
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 func
tion 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