You may define
uint16 * ChkSum = 0x90300000;
and later use *ChkSum to access its data
Thanks for the response. The compiler does not like the code and states
incompatible integer to pointer conversion initializing 'uint16_t (aka 'unsigned short*) with an expression of type 'unsigned int'
The original code that I had written before I posted for help casted the pointer as:
uint16_t *checksumLoc = (uint16_t *)0x90300000;
and accessed by:
uint16_t calcCypressChecksum = *checksumLoc;
This compiles fine but the system crashes when it is executed and a reset occurs
This location (0x90300000) is not accessible in application. This is the location for checksum in Intel Hex File. During the programming process (or checksum verify process) PSoC programmer sends SWD command to PSoC device to calculate the flash checksum and return the calculated value and then compares it with the hex file checksum (at 0x90300000 location).
That explains a lot!
Thank you for your help in clarifying this matter