How to format the Wio terminal board?

i bought a Wio terminal board and want to develop based on this board, but i do not want the original souce code, how can i do to format this board?
Now i erased the board via JLINK, but it will fail when i program a new hex file.And the board still is recognized a usb storge device.
Does anybody know what this is about?
Thank you.