Xiao Reset data partition

I tried to upload an example sketch using the arduino ide amd I think it messed up the data partition. is there a way to wipe the data partition. i can access the bootloader partition but can’t access or write to it anymore.

Is this the same topic discussed above?

the one above resets the bootloader but it seems like the program I loaded is causing problems. that is why I am trying to find a way to wipe the progam section.