const char xdata var[]={…,…,…,…} the number of a const array member can't be more than six

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,everybody.

   

I'm troubled by a wierd problem. Tthe number of a const array member can't be more than six.

   

for example. "const char xdata rar[6]={0,0,0,0,0,0};" in the code it runs normally. but when I write"const char xdata rar[7]={0,0,0,0,0,0,0}" in the code. the firmware stalls. it doesn't react to the cyconsole.exe.

   

what's wrong? so weird it is.

0 Likes
1 Reply
Anonymous
Not applicable

 Please look at http://www.cypress.com/?app=forum&id=167&rID=59420&message=posted

   

 

   

Regards,

   

Gayathri

0 Likes