diff --git a/pulse_lib/keysight/M3202A_uploader.py b/pulse_lib/keysight/M3202A_uploader.py
index 3aadc9c8af86569da1b7585c60bd1d12174de33c..702bbcaf22c34e9347b0abb1a739ca1889754796 100644
--- a/pulse_lib/keysight/M3202A_uploader.py
+++ b/pulse_lib/keysight/M3202A_uploader.py
@@ -47,10 +47,10 @@ class M3202A_Uploader:
         self._config_marker_channels()
 
     def _init_awgs(self):
-        self.release_all_awg_memory()
         for awg in self.AWGs.values():
             for ch in [1,2,3,4]:
                 awg.awg_flush(ch)
+        self.release_all_awg_memory()
 
     def _config_marker_channels(self):
         for channel in self.marker_channels.values():