HC-12 transceiver-difficulties placing unit into command mode.

IDE:1.6.8 running on Windows 7 machine.
Board: Nano.
HC-12 tx and rx on pins 1 and 2.

I cannot get the module to enter command mode.I wonder if this is because I need to have the HC-12 on different pins. (Is this some difficulty with trying to programme over the serial port?) The data light flashes on the Nano when I enter an AT code on the serial monitor but I do not receive a response.
Has anybody here any guidance, please?

Here is the code:

#include <SoftwareSerial.h>

SoftwareSerial mySerial(2, 1); // RX, TX

void setup() {
  Serial.println("Enter AT commands:");

void loop(){
  if (mySerial.available()){
  if (Serial.available()){

Pin 1 is one of the hardware serial pins. You can't expect to use it with SoftwareSerial at the same time you are using it with Serial. Try using Pin 2 and Pin 3 for SoftwareSerial.

Bless you John. That looks like what I guessed was going on. I'll give it a try, Thank you!

That's got it. Thank you very much John.