Hi,
in my application i get the following error while calling Imx7Can_Read()
:
CAN Error: .\src\config_parser.c, 411: Context Corruption
Application.exe has triggered a breakpoint.
First I init and open the CAN driver (this is fine):
if ((hCan = Imx7Can_Init("CAN1")) == NULL)
{
return ERROR;
}
Imx7Can_SetConfigInt(hCan, L"ioTx", 55, StoreVolatile);
Imx7Can_SetConfigInt(hCan, L"ioRx", 63, StoreVolatile);
Imx7Can_SetConfigInt(hCan, L"BitRateHz", wBaudrate * 1000, StoreVolatile);
Imx7Can_SetConfigInt(hCan, L"IstPriority", 12, StoreVolatile);
Imx7Can_SetConfigString(hCan, L"FilterFrameFormat", L"None", StoreVolatile);
Imx7Can_SetConfigString(hCan, L"FilterRemote", L"None", StoreVolatile);
Imx7Can_SetConfigInt(hCan, L"FilterID", 0x00, StoreVolatile);
Imx7Can_SetConfigInt(hCan, L"FilterMask", 0x00, StoreVolatile);
Imx7Can_SetConfigInt(hCan, L"Timeout", 1000, StoreVolatile); // optional, default = 1 sec
if (!Imx7Can_Open(hCan))
{
hCan = INVALID;
return ERROR;
}
My application worked until the new release of the CE Libraries. Maybe you can reproduce the issue.
Best regards
kuzco