Hi,
i have a question about the flash driver API described in chapter 8.13 of the RT1064 processor reference manual. All functions have a uint32_t parameter named "instance". What does this refer to? It's unfortunately not explained in the manual. Thank you for your help.
Hi Sebastian:
Could you please list one API that have a uint32_t instance? I didn't find them in chapter 8.13. Sorry.
Regards
Daniel
I think Sebastian means this:
I would also very much like to know this (I have not yet been successful in using the ROM API for programming the internal Flash of the RT1064)
Hi Sebastian and Carsten:
It is a sequence number. Just like can interface has two instances, can0 and can1, 0 and 1 are the instance.
For flexspi, please see below lines:
#define BL_FEATURE_SPINAND_MODULE_PERIPHERAL_INSTANCE (0)
#define SPINAND_INSTANCE BL_FEATURE_SPINAND_MODULE_PERIPHERAL_INSTANCE
....
flexspi_nand_init(SPINAND_INSTANCE, config)
....
Regards
Daniel