20110296086FLASH MEMORY HAVING TEST MODE FUNCTION AND CONNECTION TEST METHOD FOR FLASH MEMORY - A flash memory including a controller, the controller including: a state machine; a state decoder that determines whether a state of the state machine is in a specified mode; a command decoder that determines whether an input signal received through an external pin specifies a write operation for writin