Question: how to reset an peri

hi!
im trying to reset my arduino (and works), but i lose the serial comunication using this code

{
  asm volatile ("  jmp 0");  
}

I wanna found a way to reset the arduino with out lose comunication, becose i guest that if im using a SD card I will lose the comunication to.
There is a way to that

Or
there is a way to reset the peripherals or the registers at the same time that the arduino? ( will work with a resistor? in bouth, the arduino and the SD shield, for example?).

It would be very strange if you actually need to reset the Arduino in a situation where you also want to maintain your link with the PC.

Please describe what you are trying to achieve as there may be a simpler way to do it.

...R

For any reason after some time my arduino is stoping his work. Im trying to see why with the free SRAM memory but this one dosent change in the time...

So i think that reseting the arduino will be a nice way to dont have this problem. the point it that when im doing that with the code that I posted I losse the serial comunication , even the arduino is start to work i cant see the "serial things". How im trying to save some data in my proyect im not shure if Arduino will be avalible to do that in a SD card if im restarting just the Arduino, or if is neccesary to restart the perimether.... (SD shield)

thanks! and sorry isomething is wrong writed

You will need to post your code to get any useful advice. Please read this to see how to do it.

Also I meant to ask what your title should say as it seems to have an error. If you go back to your first post and click modify you can correct it.

...R