How to Reset MPC8247 32bit Processor.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Reset MPC8247 32bit Processor.

2,317 Views
Jeat
Contributor I
I am using MPC8247 PowerPC processor for the linux embedded system. I had booted-up succesfully. I am tried to Reset processor using reboot and poweroff command but I can't. Then I got suggestion to Reset the MPC processors we have to access invalid address to enter chekstop state for Reset....so and so....
Anyboby who got experience in these senerio please help me by giving sample code.

Thanks in advance.
0 Kudos
3 Replies

583 Views
genuap
NXP Employee
NXP Employee
The typical ways to reset a PQ2 are:
 - in Hardware have a GPIO pin routed to HRESET. Then you can toggle the GPIO
 - cause a machine check which can be configured to reset the target
 - let the watchdog timeout, which will then cause a reset (I think this is what most people do)
0 Kudos

583 Views
Jeat
Contributor I
Hi,
     Thank you for your valuable response.
     First and Third option i could not abl to try it.
    Since First one needs hardware change.
    Third one we not at all handling WatchDog Timer.

    I could try second option by entering chekstop state.
    but i could not able to execute mfmsr/mtmsr register from Linux .
    So i cannot able to enter chekstop state.
   Please help me some sample code for linux environment.
   Thank in advance

0 Kudos

583 Views
Jeat
Contributor I
Hi all,
    Finally I got the solution to reset the MPC8247 processor with help of freescale service team.   I am always thankfull to them. I advice you all any support you nedded raise service request.

 Supervisor previlege can be  acheived by using modules.
 So  that you can execute the mfmsr and mtmsf asm commands.
I cleared MSR_ME and MSR_IR bits in MSR register and system got reseted automatically.
Thanks for all.
  
0 Kudos