Hello, currently I am trying to perform an A/B swap on an S32K314HMS microcontroller. The swap is requested via:
Then swapHseIpRequest.pfCallback (SwapProcessMuChannelResponse) will be reached and the returned HseResponse will be:
#define HSE_SRV_RSP_NOT_SUPPORTED ((hseSrvResponse_t)0xAA55A11EUL) /**< @brief The operation or feature not supported. */
This happens sporadically, sometimes the swap works as expected. What could be the reason ? Where can I find the reasons / scenarios when HSE responds with this return code ?
This swap is triggered at the end of an update sequence, a couple of minutes after reset/power on (so HSE is 100% initialized).
Hi @AlexI
This is very simple service with no parameters. The only explanation I have is that it is caused by data cache memory. Please make sure that the descriptor is placed in non-cacheable memory.
Generally, all data objects used for communication with HSE must be forced to non-cacheable memory because HSE can’t see the cache.
Probably not the reason in this case but: if DTCM memory is used, it’s necessary to use backdoor addresses. Normal addresses are visible only for a core which owns the memory. Other bus masters (other cores, DMA, HSE…) can see this memory only via backdoor addresses.
Regards,
Lukas