in manual reference i found rhe following description, it means call the partiton command can't run in Flash, thus means it must execute this command in SRAM. is my understanding right?
if so. why i can execute partition command in Flash code and partition is also successful?
thanks in advance!
Yes, it must be in SRAM.
Are you sure the code that launches the command is in the flash?
The SDK Flash driver has the FLASH_DRV_CommandSequence() that clears CCIF in an SRAM section.
I run the following code
and debug option as the following
above operation also can partition successly? code run in flash but it's not in SRAM!
I don't know why? Can you help me?
it seems that all the Flash command will call function CommandSequence() , but I guess the reason why this function put in RAM is for speedup， except for this, what's the other reason?