Yes, you can use the same ScreenOS for either hardware version. the differences in the platforms are physical to allow the M version of the device to convert to the Junos operating system. The conversion process is done by physically replaceing the memory card and swapping the face plate.