Hi, I am planning to integrate ipcf single instance code from SW32G_IPCF_4.8.0_D2212 and llce sample code from Can_Llce_DS_Can2Can_S32G399A_M7, and they use the different calling method althogh they used the same rtd version (4.0.0), what's the reason ?
PlatformInit(); // llce sample main
plz discuss on how to use platform initialization function when they work together ? thanks.
Solved! Go to Solution.
Hi,
We don't understand the following comment:
"Plus tesing, the commented code snippets within
which will make serial terminal failed to work,"
We don't the see usage of a serial terminal on both programs, which we do not understand.
Also, if you comment them they will make it work? Or if you comment them it will fail?
Please, let us know.
Hi,
Even though you are seeing that LLCE and IPCF example may have a different init function, under the LLCE example it can be seen that the "PlatformInit()" function referenced under the main function redirects to the "Platform_Init(NULL_PTR)" you are seeing at the IPCF example.
At the end, both example uses the same "Platform_Init(NULL_PTR)" function you are saying.
Please, let us know.
Thanks caring, tested today with such code altered,
Thanks caring, initially tested below combinations,
only Platform_Init(NULL_PTR); -----> ipcf works, no work for llce
only PlatformInit(); ------> uboot cmd shell chaos/mixed after startm7
both --------> same phenomenon with PlatformInit()
And then do you have smart idea to correct my code ?
Thanks again
Hi,
The behavior you are seeing is correct, since "PlatformInit()" function contains much more than only the "Platform_Init(NULL_PTR)". What we were referring in our previous comment was that it also contained the function used under the IPCF example, but not that it was the only one.
Please, let us know.
Hello, again update testing today, I commented all functions before Platform_Init, problems come out when I comment second function with PlatformInit(),
Plus tesing, the commented code snippets within
which will make serial terminal failed to work,
Hi,
We don't understand the following comment:
"Plus tesing, the commented code snippets within
which will make serial terminal failed to work,"
We don't the see usage of a serial terminal on both programs, which we do not understand.
Also, if you comment them they will make it work? Or if you comment them it will fail?
Please, let us know.
Ipcf sample running by uboot command, I am doing integration with llce sample.