A surgical instrument with a programmable control unit and methods for
programming the control unit while the surgical instrument is in a
sterile container. The method may comprise packaging the surgical
instrument in the container and then sterilizing the surgical instrument
while the surgical instrument is in the container. The method may further
comprise programming the surgical instrument while the surgical
instrument is in the container with a programming device positioned
outside of the container.