We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
I've a short question: Is it possible to write one command to an external flash device in the init file (option for target > debug > initialization file)???
Something like that:
#define M16(adr) (*((volatile unsigned short *) (adr))) FUNC FlashDevice(void) { M16(base_adr + 0x0555) = 0xAA; } //... FlashDevice();
best regards Stefan
You may also want to look at:
http://www.keil.com/support/docs/3059.htm
Jon