fr3nsis
Joined: 13 May 2013 Posts: 10
|
Strange problem |
Posted: Fri Apr 04, 2014 10:54 am |
|
|
why declaring this array program wont work ?
Code: |
unsigned char rawData[264] = {
0x17, 0x07, 0x01, 0x00, 0x23, 0x13, 0x28, 0x06, 0x10, 0x04, 0x09, 0x1F,
0x13, 0x17, 0x08, 0x10, 0x14, 0x1D, 0x21, 0x22, 0x03, 0x23, 0x14, 0x19,
0x1A, 0x0C, 0x03, 0x15, 0x05, 0x06, 0x1E, 0x19, 0x14, 0x27, 0x13, 0x07,
0x08, 0x19, 0x03, 0x11, 0x04, 0x27, 0x27, 0x23, 0x26, 0x17, 0x12, 0x03,
0x1D, 0x20, 0x0D, 0x1F, 0x1F, 0x09, 0x06, 0x1C, 0x18, 0x28, 0x1B, 0x14,
0x20, 0x0E, 0x1A, 0x28, 0x00, 0x25, 0x1D, 0x07, 0x18, 0x10, 0x06, 0x26,
0x27, 0x08, 0x14, 0x0C, 0x14, 0x24, 0x1A, 0x22, 0x12, 0x02, 0x22, 0x15,
0x08, 0x08, 0x17, 0x1E, 0x0D, 0x12, 0x04, 0x01, 0x0D, 0x14, 0x21, 0x02,
0x1C, 0x01, 0x21, 0x04, 0x07, 0x0C, 0x20, 0x15, 0x21, 0x24, 0x13, 0x01,
0x0E, 0x1F, 0x10, 0x19, 0x17, 0x03, 0x11, 0x09, 0x1D, 0x06, 0x07, 0x04,
0x1D, 0x03, 0x20, 0x24, 0x27, 0x18, 0x14, 0x24, 0x0D, 0x26, 0x0D, 0x1D,
0x26, 0x07, 0x22, 0x12, 0x05, 0x0A, 0x14, 0x05, 0x09, 0x12, 0x02, 0x07,
0x08, 0x03, 0x1B, 0x1D, 0x14, 0x27, 0x1E, 0x0F, 0x0C, 0x13, 0x05, 0x26,
0x0E, 0x16, 0x1D, 0x11, 0x20, 0x27, 0x0D, 0x0C, 0x20, 0x11, 0x13, 0x09,
0x01, 0x20, 0x0A, 0x1E, 0x05, 0x02, 0x20, 0x01, 0x15, 0x01, 0x1B, 0x0B,
0x19, 0x28, 0x0C, 0x16, 0x0A, 0x12, 0x14, 0x03, 0x12, 0x0A, 0x08, 0x0F,
0x04, 0x05, 0x13, 0x1F, 0x14, 0x21, 0x02, 0x1F, 0x0C, 0x04, 0x10, 0x03,
0x16, 0x1D, 0x13, 0x19, 0x25, 0x17, 0x28, 0x23, 0x04, 0x28, 0x04, 0x25,
0x12, 0x00, 0x0F, 0x0D, 0x1B, 0x15, 0x16, 0x0D, 0x12, 0x0A, 0x21, 0x15,
0x1E, 0x19, 0x0B, 0x0A, 0x0D, 0x04, 0x19, 0x11, 0x0C, 0x12, 0x21, 0x06,
0x22, 0x00, 0x21, 0x28, 0x20, 0x07, 0x1E, 0x02, 0x0D, 0x0F, 0x05, 0x1E,
0x1F, 0x05, 0x00, 0x19, 0x06, 0x1D, 0x01, 0x1A, 0x04, 0x17, 0x02, 0x09
};
|
declaring like this
unsigned char rawData[264] = {0}
and fill it with random byte instead work fine
ccs 5.0.23 |
|