AnsweredAssumed Answered

RAM Mapping for S32K144

Question asked by li xin on Jul 10, 2020
Latest reply on Jul 14, 2020 by Lukas Zadrapa

Hi , sir: I am using S32K144 for developing VCU , but now I meet a problem . I need to use S32K144 for online calibration , so I add memory addr m_CAL_RAM and m_CAL_FLASH before fixing linkfile :

.CAL_DATA :
{
 KEEP( *(.CAL_DATA) )
 KEEP( *(.CAL_DATA.*) )
} m_CAL_RAM AT > m_CAL_FLASH , then add C Programming Language as follow:

#ifndef CAL_DATA
#define CAL_DATA __attribute__ ( ( section(".CAL_DATA") ) )
#endif
CAL_DATA  const uint16_t  CtrlMode = 0x75 , accomplishing this work , data in RAM could be mapping FLASH,but the work could affect FLASH erasing and writing , I could not to erase and write FLASH which FLASH looks like write-protecting , however the same operation which I used to SPC5744 which could not appearring.so I want to know specific cause which erasing or writing FLASH for S32K144 fail after RAM remapping without 5744 .

Outcomes