2012-08-27 01:25 PM
Hi,
I used uint8_t CSD_Tab[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; to initialize an array. But when I use IAR EWARM to watch the content in this array, the value is always unchanged. Any ideas? Thank you2012-08-27 01:43 PM
OK, I just figure it out. I did not allocate the RAM memory for it.
2012-08-28 12:26 AM
Not quite true.
With ''uint8_t CSD_Tab[16] '' you did actually allocate that array. Perhaps you never changed it's contents, or the IAR compiler optimized it out. Trying to learn both C and microcontrollers at the same time could become difficult and frustrating ...