Go Down

Topic: Assert reset from LabView... (Read 1 time) previous topic - next topic


Hi, I have an Arduino Due, using it as an Sram tester...I know when the serial monitor is invoked it asserts reset (~100ms). I am trying to figure out the control to accomplish this reset in LabView (with serial monitor closed).

What command or pin assertion accomplishes this? I have been trying through trial & error with no luck so far.

Otherwise having fun with it!


Have you tried the RESET pin?
[ I will NOT respond to personal messages, I WILL delete them, use the forum please ]


You could monitor an available input pin, and trigger this routine in your code.

The hardware reset pin will always work though (and is probably a better choice)....

Code: [Select]
//key to allow software reset in RSTC_CR
const int RSTC_KEY = 0xA5;

// **** Z ****
// required parameters: none         // Software reset the processor
// Note: This will also terminate the current socket connection.
void Z_Reset_Processor(){
  DBG_PRINTLN("RESET command received from client.  Rebooting NOW!");
  while (true);



Thanks, I know I can use the reset pin, but I am looking for a software solution (the pins I was referring to was dtr, cts etc.). The above function works (thanks!), but as the note says, it breaks the connection.

The basic question is; how does the arduino software assert reset? I was hoping someone could save me the trouble of rooting through the arduino source code.

Thank you.


Jan 24, 2014, 05:52 pm Last Edit: Jan 24, 2014, 06:02 pm by dlloyd Reason: 1
Check the schematic ... the "MASTER-RESET" signal is connected to both the SAM3X and the ATMEGA16U2-MU ... the ATMEGA will break your connection. Looks like a hardware modification is required.

Curious if your using the NI-VISA component to communicate to the serial port or a DLL function. I've had success with LabVIEW using FTDI's D2XX DLL for communication.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131