- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have a product need to achieve LIN UDS bootloader,mcu is CY8C4146-S433.
I found that when MCU is busy with CySysFlashWriteRow() after receiving an earse memory cmd, mcu will cost aroud 4 mins to finish earsing the whole flash memory of the bootable area;
according to ISO 14229-2 ,if mcu is busy with the previous cmd, it should response an NRC with 0x78,
but during the 4 mins described above, now MCU can't response anything.
I have found there is a "Response Pending" part in LIN_V5_0.pdf,but I don't know how to use it, or this will be helpful to my case?
- Labels:
-
PSoC 4 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @CY_cindy_ ,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,Alakananda
Without calling CySysFlashWriteRow(),I have tried to response to another 0x3d frame header ,after MCU responses a NRC 0x78(response pending), but I dont't know how I can get the case of new 0x3d is received, and response new databytes.
my code is:
the if condition can't be triggered after 15 03 22 78 is already sent;
can you tell me how to edit the code,that mcu can response to the next 0x3D header after the previous NRC 0X78 is sent??
Thankyou very much
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can you send the PSoC Project file (or LIN LDF file)? And which option is selected in API format (as shown in screenshot? And did you check the "enable transport layer"?
Regards