Hi vihaan,
from my understanding, you define const data in PARAMETERS section which is paged Flash memory. Correct?
if it's true, we need to use key word CONST_SEG instead of DATA_SEG. for example:
#pragma CONST_SEG __GPAGE_SEG PARAMETERS
/* PARAMETERS CONSTANTS */
#Pragma CONST_SEG DEFAULT
can this help you to solve the problem?
Have a great day,
Zhang Jun
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------