Programming Maix m1w using Arduino

Hello,

I’ve made a custom board with a Maix M1w. Connecting the ISP_TX & ISP_RX to an Arduino Mega and then that to my PC over USB. I can see the output of the default firmware of the m1w and can interact with it (use the python REPL). However, was trying to figure out how to actually flash the firmware to the M1w using the Arduino and connect to the M1w to the MaixPy IDE (again using the arduino). I’ve broken out the BOOT and RST pins, not sure exactly which order they need to be pulled up/down in. If anyone could help me out that’d be great!

Thanks!