Isn't external NOR Flash memory mapped in write too ?
Hello,
I tried to access external nor flash in stm32h743 eval board.
After configuring it I can view the memory in debugger (IAR).
But it fails when trying to access it from debugger memory view (0x60000000) - after erasing the sector.
I see that the HAL API for accessing the NOR flash HAL_NOR_Program is setting the address in HAL driver:
/* Send program data command */
NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST), NOR_CMD_DATA_FIRST);
NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_SECOND), NOR_CMD_DATA_SECOND);
NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_THIRD), NOR_CMD_DATA_PROGRAM);Probably these address setting can explains why trying to access it like a regular memory in write - does not work.
Is it correct that flash NOR is not memory mapped in write ?
Thanks
