amsbhole07@gmail.com
Newbie level 4
I am working on the project for MSP430FR6989 and wanted to read the data of internal FRAM
below is the code in which i am passing the address length and data to be stored and i am expecting the result as mention in the txt file 4F,14,F1 please advice me for the same
below is the code in which i am passing the address length and data to be stored and i am expecting the result as mention in the txt file 4F,14,F1 please advice me for the same
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 readResult = boot_readMemory(0x8800,2,data);//8800 char boot_readMemory(unsigned long addr, unsigned int length, char* data) { unsigned long i; for (i = addr + length - 1; i >= addr; i--) { data[i - addr] = __data20_read_char(i); } return 0; }
Attachments
Last edited by a moderator: