Hi,all
I meet a problem, I set the project S32K142 from BOOT TO APP, app address:0x0010000,boot:0x0000,
I see the App sends the can message, I think it works,but when I download the app again, I find the APP does not response the diagnosis message.
I debug the App project individually,it can response diagnosis message and communication message.
But It has the problem when I download the app through the bootloader,App sends communication message,but it can not respond the diagnosis message.
What should I check to solve the problem?
11 01 reset the project ,then jump to app , but it has no responds.
已解决! 转到解答。
11服务没用响应是允许的,这个是没有问题的。你自己想想,如果我没复位成功,我还可以给你发个否定响应,如果成功,ECU复位了,如何给你响应呢?每个服务它肯定是在成功执行服务请求后再发响应码,11服务特殊,它复位了,不发肯定响应码是对的。ISO14229中还有几个功能寻址的服务也没有响应码,详细的你可以看看ISO14229.(具体在什么地方我记不得,但是对于11服务没用肯定响应码这个我记忆犹新,而且我的上一个项目我也测试过,11服务成功是没用响应的。)
祝好!
Jim.
Hi,Jim.
问题不在于11的响应,而是第一次刷写后,已经跳转到APP了,可是这时候APP可以发出通信周期报文,可是诊断没有回复响应。而且这种情况只存在于boot跳转到APP的情况,现在通过boot烧录的app无法进行刷写流程。
如果我单独调试APP工程,我诊断是有响应的,我怀疑跳转的时候,出现了某些问题,请看看我跳转方式或者跳转前后需要调整哪些内容,来避免这个问题。