This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

The target doesn't initialize arrays, why?

Hi, my eval board is Phytec KC-161 (with 64k ext RAM, and 256k ext FLASH). Why the target doesn't initialize arrays in free running?
Thank you.

Parents Reply Children
  • Sorry, maybe I didn't understand.
    the array is initialized with 1, not '1'
    Yes, it is...
    you should also check using 1 (not the ASCII value).
    So , i did.
    But not this is the problem , the problem is that after the initialization unsigned char array[6]={1,1,1,1,1,1}; the elements of the array are not values of 1 like I expect, so it isn't initialized.
    And I think the problem is in the project settings or startup file, where I don't know the solution...