解決済! 解決策の投稿を見る。
Hi @Chris-Sun,
1. Yes, this is correct. The latest version for Design Studio and RTD packages do not include these parameters for the module.
2. Yes, since these parameters are no longer available for configuration. You can use them in your project if your RTD packages support them, and as I've shared in the previous, these parameters describe the maximum time for the operations.
3. The PRE-COMPILE and POST-BUILD variants both function as an AUTOSAR specific option.
If you configured Config Variant as PRE-COMPILE, you won't need to add a parameter for the initialization function in the main code (e.g Eth_Init(NULL)).
If configured as POST-BUILD, then it is necessary to add the pointer to your configuration type name as parameter (e.g Eth_Init(&Eth_Config_BOARD_INITPERIPHERALS))
In PRE-COMPILE, technically it will auto find the config in your module (normally, will be predefined for the name) and start the Init process. In POST-BUILD, Init function will find the config name which is given by Parameter in post-build time. In post-build, you can use the functional groups mentioned in the community post I've shared.
This is why it is not reflected directly at the code, as there is no code change necessary for this configuration, the only change visible will be at the .mex file.
Best regards,
Julián
Hi @Chris-Sun,
Could you share the S32 Design Studio version you are using? As well as the RTD version and any patches (if you installed any).
These parameters are not present in the latest RTD (4.0.0) for S32DS 3.5.
Best regards,
Julián
DS: 3.5
RTD: S32K3_RTD_3_0_0_D2303_ASR_REL_4_7_REV_0000_20230331
Best regards,
Chris
Hi @Chris-Sun,
After looking into the User Manuals, I can see this parameter was last implemented in the RTD 2.0.0:
These were removed with the implementation of RTD 3.0.0. They are no longer relevant for current C40 implementation.
As for the Post Variant Build, you can look into the following post for more information: Solved: Autosar - Setting acceptance code and mask at runtime - NXP Community
Best regards,
Julián
Hi @Chris-Sun,
1. Yes, this is correct. The latest version for Design Studio and RTD packages do not include these parameters for the module.
2. Yes, since these parameters are no longer available for configuration. You can use them in your project if your RTD packages support them, and as I've shared in the previous, these parameters describe the maximum time for the operations.
3. The PRE-COMPILE and POST-BUILD variants both function as an AUTOSAR specific option.
If you configured Config Variant as PRE-COMPILE, you won't need to add a parameter for the initialization function in the main code (e.g Eth_Init(NULL)).
If configured as POST-BUILD, then it is necessary to add the pointer to your configuration type name as parameter (e.g Eth_Init(&Eth_Config_BOARD_INITPERIPHERALS))
In PRE-COMPILE, technically it will auto find the config in your module (normally, will be predefined for the name) and start the Init process. In POST-BUILD, Init function will find the config name which is given by Parameter in post-build time. In post-build, you can use the functional groups mentioned in the community post I've shared.
This is why it is not reflected directly at the code, as there is no code change necessary for this configuration, the only change visible will be at the .mex file.
Best regards,
Julián
Thank you for your response to my post.
Hi @Chris-Sun,
1. Functionality of the specific configuration parameter is not guaranteed for outdated RTD values in different versions. If the value exists in the drivers, it can be modified manually.
2. Mem Block 4 Pipe Select selects the pipe to be used for accessing the internal flash block 4. PFLASH has four independent command pipes to issue four parallel read commands to different flash memory blocks. The access to block 4 can be through any of the command pipes: MEM_COMMAND_PIPE_0/1/2/3 or MEM_ANY_COMMAND_PIPES.
This value is still supported for the current drivers.
3. Normally, all changes are documented through the Release Notes for each RTD package release, although sometimes not every parameter or variable change is documented.
Best regards,
Julián
Thank you for your response to my post.
Hi @Chris-Sun,
Chapter 22.1.2 Flash memory controller describes which blocks are not present in which derivatives of the MCU.
Best regards,
Julián.