Guidance on Using Flash Memory for Both Code and Data Sections in NTM88Jxx5S TPMS

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

Guidance on Using Flash Memory for Both Code and Data Sections in NTM88Jxx5S TPMS

3,518 Views
vinithramarapunxp
Contributor II

Hello,

I am currently working with the NTM88Jxx5S Tire Pressure Monitor Sensor from NXP and have a few questions regarding its memory usage.

As per the datasheet, the 64 bytes of low-power “always on” NVM parameter registers are used to store data, but this data may be lost during power loss or disturbances. To ensure data retention during abnormal power cycles, I would like to utilize a portion of the image.png(currently used only for code sections) to store critical data.

I would like to know:

  1. Is it possible to allocate a portion of the 16KB flash memory for data storage alongside the code?
  2. If yes, could you please provide a step-by-step process or guidelines for implementing this?
  3. Are there any existing examples, reference code, or application notes to help in achieving this configuration?

I am attaching the datasheet and feature details for reference. Any insights, suggestions, or resources to move forward would be highly appreciated.

Looking forward to a quick response.

BR,

Vinith Ramarapu.

 

TPMS-SW NTM88 #flash_memory

Labels (1)
0 Kudos
4 Replies

3,495 Views
ErikaC
NXP TechSupport
NXP TechSupport

Hello, 

Please see this community post: https://community.nxp.com/t5/Sensors/Splitting-Flash-Memory-for-Code-and-Data-in-NTM88Jxx5S-TPMS/td-...

As it addresses the same question, I will follow up there. If you have further questions, please post them in that thread.

0 Kudos

3,480 Views
vinithramarapunxp
Contributor II
The link you provided for NTM88 – RAM and FLASH Memory Organization document included in the Starter Package for the NTM88 and NCK2910 is not working and it's unable to access that
0 Kudos

3,459 Views
ErikaC
NXP TechSupport
NXP TechSupport

Please go to https://www.nxp.com/products/sensors/pressure-sensors/tire-pressure-monitoring-sensors-tpms/ntm88-hi...

 

Scroll down to Software and click on Starter Package for NTM88 and NCK2910.

3,426 Views
vinithramarapunxp
Contributor II
Thank you mate, but this still doesn't answer my initial questions. I just need to know whether splitting the 16KB RAM into Data and code sections is possible. If so curate some references or examples as such. Thank you in advance.
0 Kudos
%3CLINGO-SUB%20id%3D%22lingo-sub-2006155%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EGuidance%20on%20Using%20Flash%20Memory%20for%20Both%20Code%20and%20Data%20Sections%20in%20NTM88Jxx5S%20TPMS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2006155%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20am%20currently%20working%20with%20the%20NTM88Jxx5S%20Tire%20Pressure%20Monitor%20Sensor%20from%20NXP%20and%20have%20a%20few%20questions%20regarding%20its%20memory%20usage.%3C%2FP%3E%3CP%3EAs%20per%20the%20datasheet%2C%20the%20%3CSTRONG%3E64%20bytes%20of%20low-power%20%E2%80%9Calways%20on%E2%80%9D%20NVM%20parameter%20registers%3C%2FSTRONG%3E%20are%20used%20to%20store%20data%2C%20but%20this%20data%20may%20be%20lost%20during%20power%20loss%20or%20disturbances.%20To%20ensure%20data%20retention%20during%20abnormal%20power%20cycles%2C%20I%20would%20like%20to%20utilize%20a%20portion%20of%20the%20%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20796px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20796px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F313799i9F43817DE1D46530%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E(currently%20used%20only%20for%20code%20sections)%20to%20store%20critical%20data.%3C%2FP%3E%3CP%3EI%20would%20like%20to%20know%3A%3C%2FP%3E%3COL%3E%3CLI%3EIs%20it%20possible%20to%20allocate%20a%20portion%20of%20the%2016KB%20flash%20memory%20for%20data%20storage%20alongside%20the%20code%3F%3C%2FLI%3E%3CLI%3EIf%20yes%2C%20could%20you%20please%20provide%20a%20step-by-step%20process%20or%20guidelines%20for%20implementing%20this%3F%3C%2FLI%3E%3CLI%3EAre%20there%20any%20existing%20examples%2C%20reference%20code%2C%20or%20application%20notes%20to%20help%20in%20achieving%20this%20configuration%3F%3C%2FLI%3E%3C%2FOL%3E%3CP%3EI%20am%20attaching%20the%20datasheet%20and%20feature%20details%20for%20reference.%20Any%20insights%2C%20suggestions%2C%20or%20resources%20to%20move%20forward%20would%20be%20highly%20appreciated.%3C%2FP%3E%3CP%3ELooking%20forward%20to%20a%20quick%20response.%3C%2FP%3E%3CP%3EBR%2C%3C%2FP%3E%3CP%3EVinith%20Ramarapu.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2FTPMS-SW%2Fpd-p%2FTPMS-SW%22%20class%3D%22lia-product-mention%22%20data-product%3D%223559-1%22%20target%3D%22_blank%22%3ETPMS-SW%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2FNTM88%2Fpd-p%2FNTM88%22%20class%3D%22lia-product-mention%22%20data-product%3D%221259-1%22%20target%3D%22_blank%22%3ENTM88%3C%2FA%3E%26nbsp%3B%23flash_memory%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2006155%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EPressure%20Sensors%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2008037%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Guidance%20on%20Using%20Flash%20Memory%20for%20Both%20Code%20and%20Data%20Sections%20in%20NTM88Jxx5S%20TPMS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2008037%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EThank%20you%20mate%2C%20but%20this%20still%20doesn't%20answer%20my%20initial%20questions.%20I%20just%20need%20to%20know%20whether%20splitting%20the%2016KB%20RAM%20into%20Data%20and%20code%20sections%20is%20possible.%20If%20so%20curate%20some%20references%20or%20examples%20as%20such.%20Thank%20you%20in%20advance.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2007361%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Guidance%20on%20Using%20Flash%20Memory%20for%20Both%20Code%20and%20Data%20Sections%20in%20NTM88Jxx5S%20TPMS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2007361%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EPlease%20go%20to%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fproducts%2Fsensors%2Fpressure-sensors%2Ftire-pressure-monitoring-sensors-tpms%2Fntm88-highly-integrated-tire-pressure-sensor-family%3ANTM88%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nxp.com%2Fproducts%2Fsensors%2Fpressure-sensors%2Ftire-pressure-monitoring-sensors-tpms%2Fntm88-highly-integrated-tire-pressure-sensor-family%3ANTM88%3C%2FA%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EScroll%20down%20to%20Software%20and%20click%20on%26nbsp%3BStarter%20Package%20for%20NTM88%20and%20NCK2910.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2006846%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Guidance%20on%20Using%20Flash%20Memory%20for%20Both%20Code%20and%20Data%20Sections%20in%20NTM88Jxx5S%20TPMS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2006846%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EThe%20link%20you%20provided%20for%20NTM88%20%E2%80%93%20RAM%20and%20FLASH%20Memory%20Organization%20document%20included%20in%20the%20Starter%20Package%20for%20the%20NTM88%20and%20NCK2910%20is%20not%20working%20and%20it's%20unable%20to%20access%20that%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2006351%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Guidance%20on%20Using%20Flash%20Memory%20for%20Both%20Code%20and%20Data%20Sections%20in%20NTM88Jxx5S%20TPMS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2006351%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20see%20this%20community%20post%3A%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FSensors%2FSplitting-Flash-Memory-for-Code-and-Data-in-NTM88Jxx5S-TPMS%2Ftd-p%2F2006117%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FSensors%2FSplitting-Flash-Memory-for-Code-and-Data-in-NTM88Jxx5S-TPMS%2Ftd-p%2F2006117%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EAs%20it%20addresses%20the%20same%20question%2C%20I%20will%20follow%20up%20there.%20If%20you%20have%20further%20questions%2C%20please%20post%20them%20in%20that%20thread.%3C%2FP%3E%3C%2FLINGO-BODY%3E