We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Provided example assumes sizeof(ULONG) is 4B
/* Setup pointer. */ pointer = (ULONG *) &nor_memory_area[0]; /* Loop to erase block. */ words = sizeof(nor_memory_area)/(sizeof(ULONG)); while (words--) { /* Erase word of block. */ *pointer++ = (ULONG) 0xFFFFFFFF; }
when changed to
memset((uint8_t *) &nor_memory_area[0], 0xFF, sizeof(FLASH_BLOCK) * TOTAL_BLOCKS);
subsequent write/read test failes
Provided example assumes sizeof(ULONG) is 4B
when changed to
subsequent write/read test failes