Patent ID: 7415543

Claim:
A method for serial port initialization in a storage controller, wherein the storage controller includes a serial port for connection to an external device, the method comprising: receiving at least one serial port parameter value for a set of serial port parameters, wherein the at least one serial port parameter value is selected by a user, and wherein the set of serial port parameters includes baud rate and wherein receiving at least one serial port parameter value includes performing an adaptive baud rate negotiation between the storage controller and the external device connected to the storage controller through the serial port, and wherein performing the adaptive baud rate negotiation includes: sending a break key sequence from the external device to the storage controller; determining an amount of time between a start bit and a stop bit; and obtaining a baud rate based on the amount of time between the start bit and the stop bit; and wherein the method further comprises: initializing the serial port on the storage controller using the at least one serial port parameter value.