I have just started using the new Attiny214 chip and found the great feature - serial number that I need to serialize my product. Now the question.
uint8_t id0 = SIGROW_SERNUM0; // works fine
memcpy(id_array, *( uint8_t *)SIGROW_SERNUM0, 10); // does not work
memcpy(id_array, *( uint8_t *)0x1103, 10); // also works
I suspect it has something to do with special instructions to access IO space, but what are the rules to write proper code? Sure I can define my own constant, but what is "_SFR_MEM8"?