firstly dont do it, you could damage the ecu as i dont think you can do that on the k12s, the one car i know you can do that on is the terranos but it has to have the obd II port on it,
best bet (safe method) is to take it to a nissan dealer so they can plug on consult II and erase the fault should take less than 2 minutes