S32K3xx Fls configuration example

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K3xx Fls configuration example

2,136 Views
mostafa_amgad
Contributor I

The C40_Ip_Example included in my NXP MCAL package is using some post-build configuration that isn't included in the package. I tried generating them myself using Tresos, but I've countered many issues. So, could someone provide me with an example configuration so I can use it as a base for my configuration?

0 Kudos
Reply
2 Replies

2,064 Views
NamLee
NXP Employee
NXP Employee

Hi mostafa_amgad,

The C40_Ip_Example included in my NXP MCAL package is using some post-build configuration that isn't included in the package

>> I don't think the post-build configuration will affect to any issue that related to the package, as an example. You can tell me the details of your settings and tools/enviroment you're using right now so i can reproduce it and i can help you more. Personally i think just because you install the wrong version of tools/enviroment.

I tried generating them myself using Tresos, but I've countered many issues. So, could someone provide me with an example configuration so I can use it as a base for my configuration?

>> There're examples for EB Tresos also, you can refer to it as a reference.

Sorry for this lately reply, please let me know if you have any further information.

Thank you,

Nam.

 

0 Kudos
Reply

2,107 Views
giraffe508
Contributor IV

I understand that you are facing issues with the C40_Ip_Example configuration in the NXP MCAL package. To help you with this, I will provide you with an example configuration that you can use as a base for your own configuration.

 

First, you need to ensure that you have the correct version of the MCAL package and Tresos Studio. The S32K3xx series MCAL package can be found in the following link:

S32K3xx MCAL package

Once you have the correct MCAL package, you can follow these steps to create a basic configuration:

  1. Open Tresos Studio and create a new project.
  2. Select the S32K3xx MCAL package as the base for your project.
  3. Configure the modules according to your requirements. For example, enable the FLS module and configure the memory settings.
  4. Generate the code and build the project.

 

Here is a code snippet for the FLS module configuration:

 <FLS>   <FLS_CONFIG>     <FLS_AC_LOAD_ON_JOB_START>STD_OFF</FLS_AC_LOAD_ON_JOB_START>     <FLS_BASE_ADDRESS>0x00000000</FLS_BASE_ADDRESS>     <FLS_DEV_ERROR_DETECT>STD_ON</FLS_DEV_ERROR_DETECT>     <FLS_DRIVER_INDEX>0</FLS_DRIVER_INDEX>     <FLS_ERASE_RAM_BUFFER_SIZE>8</FLS_ERASE_RAM_BUFFER_SIZE>     <FLS_FLASH_BANK_CNT>1</FLS_FLASH_BANK_CNT>     <FLS_FLASH_BANK0_BASE_ADDR>0x00000000</FLS_FLASH_BANK0_BASE_ADDR>     <FLS_FLASH_BANK0_SECTOR_CNT>64</FLS_FLASH_BANK0_SECTOR_CNT>     <FLS_FLASH_BANK0_SECTOR_SIZE>
0 Kudos
Reply