Hi Freaks,
I've got a few strings that I want to store in flash. Weird things happen when I try to do a strcpy into RAM. Basically the compiler (ICCAVR) is happy but I get unexpected results.
const unsigned char constTest[7] = "test\r\n"; unsigned char ramTest[7]; ..... strcpy(ramTest,(unsigned char *)constTest); UartWrite(ramTest,strlen(ramTest));
Any Ideas?
Dave.