The module needs a zigbee firmware which could only be flashed in factory.

Did you get a module comes with zigbee firmware?