URL: <http://savannah.gnu.org/support/?109160>
Summary: fusebits changing error Project: Savannah Administration Submitted by: chippevijaya Submitted on: Thu 06 Oct 2016 09:58:52 AM GMT Category: None Priority: 5 - Normal Severity: 5 - Blocker Status: None Assigned to: None Originator Email: vijayazent...@gmail.com Operating System: GNU/Linux Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: Hi, I am controlling arduino board from raspberry pi. In my CPP code I am sending writing hex file command using avrdude as below - system("sudo avrdude -p ATmega32U4 -C /usr/local/bin/avrdude.conf -c pi_32 -v -U flash:w:/usr/local/bin/at32.hex:i) Some times It is asking to retrieve back fuse bits like "Would you like fuse to be changed back? [y/n]" I can't able to send the command of y/n from CPP system() command, since I am unable to read stdout until process completes....but process won't complete until I enter y/n. I tried "-s" option too. but it stucking more times than completing process. Is there any direct command line option to check string arrived and giving y/n at runtime. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/support/?109160> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/