Here at NICO, we have Factory Service Manuals available free to members.
2015 Nissan Rogue FSM
EDIT: Is this a 1st or 2nd gen Rogue?
Did you make any changes/modifications to your car? Has this happened before?
Try disconnecting the battery for at least a half hour. It's akin to turning your home computer off and on.
How to Tell If You Have a Faulty ECU
How Much Should You Pay for ECU Repairs?
You should expect to pay between $150 and $300 at a local repair shop or service center just to have the ECU inspected and tested. In many cases, the faulty ECU can be repaired or reprogrammed, and this type of repair will usually run between $300 to $750, depending on the make and model of your vehicle. In the unfortunate event that you need to actually replace the ECU, you should add about $500 to $600 to the cost of the part for labor to install and program the new ECU.