Subject:
Hello,
I am currently working with the NTM88Jxx5S TPMS sensor, which includes an 8-bit S08 microcontroller with 16 kB of flash memory (512 bytes reserved for NXP coefficients). I would like to know if it is possible to partition this flash memory into separate sections, with half allocated for the code and the other half reserved for data storage, If it is possible is there any particular way or procedure to to it, are there any specific considerations or guidelines for configuring the memory in this way? Seeking for an urgent reply , Thank You.
Hello,
The TPMS RAM and FLASH memory are divided into several sections listed in the table below.
To allocate application functions and constants in a specific FLASH section, as well as variables in a specific RAM section, please refer to the NTM88 – RAM and FLASH Memory Organization document included in the Starter Package for the NTM88 and NCK2910. Starter Package for NTM88 and NCK2910
After downloading the folder, navigate to the Documentation directory and open the folder named doc_ntm88.
In addition, please consider AN13321
Hope this helps.
Yes, the flash memory can be partitioned into separate sections. These sections can be used for code or data allocation.
Information on flash memory allocation can be found in the document “NTM88_RAM_and_FLASH_Organization” that can be found in the folder documentation > doc_ntm88 of the Starter Package.
https://www.nxp.com/webapp/Download?colCode=NTM88-NCK2910-STARTER-PACKAGE
An example project in which flash is separated into different sections can be found in below package:
https://www.nxp.com/webapp/Download?colCode=NTM88-NCK2910-BOOTLOADER
In this project, separate sections allow to separate bootloader from application code, but the same principle can be used to separate application from data.