If you read carefully the corresponding component datasheet (V1.10A) page 4 of the pdf document:
"In order to force the compiler to locate data in Flash, variables/arrays should be declared as “static const (CYCODE for PSoC 3)” and initialized with some value at the same time. Reads from Flash are recommended to be done using “(volatile)” type qualifier to prevent the compiler from optimizing reads from static variables. For details on component usage please refer to Emulated EEPROM example project."
So Cypress has already answered your request :)
Happy New Year,
Sorry, I was not attentive.
There is another pitfall: Under some circumstances the compiler "remembers" that the values are "const" and when accessing the flash data. it inserts the known const value instead of actually reading the values. I used a memcpy() to overcome that.
Sure, I noticed it a couple of times.