int led = 13; // 7 int count =0; void setup() { //Serial.begin(9600); // // initialize the digital pin as an output. // // Pin 13 has an LED connected on most Arduino boards: // pinMode(led, OUTPUT); //delay(5000); } void loop() { // digitalWrite(led, HIGH); // set the LED on // delay(100); // wait for a second // digitalWrite(led, LOW); // set the LED off // delay(100); // wait for a second // delay(1000); Serial.begin(9600); delay(1000); Serial.print(count); count++; Serial.println(" loop"); Serial.end(); delay(1000); } mog@flashman:~/nonapt/simavr/examples/board_simduino$ ./obj-x86_64-linux-gnu/simduino.elf Starting atmega328 - flashend 7fff ramend 08ff e2end 03ff atmega328 init read_ihex_file: ATmegaBOOT_168_atmega328.ihex, unsupported check type 03 Booloader 7800: 1950 uart_pty_init bridge on port *** /dev/pts/6 *** UART-0 configured to 0010 = 58823 bps, 5 data 1 stop Roughtly 136 usec per bytes uart_pty_xon_hook uart_pty_xoff_hook uart_pty_xon_hook uart_pty_xoff_hook uart_pty_xon_hook Erasing page 0000 (128) Writing page 0000 (128) uart_pty_xoff_hook uart_pty_xon_hook uart_pty_xoff_hook uart_pty_xon_hook Erasing page 0001 (128) Writing page 0001 (128) uart_pty_xoff_hook uart_pty_xon_hook uart_pty_xoff_hook uart_pty_xon_hook Erasing page 0002 (128) Writing page 0002 (128) uart_pty_xoff_hook uart_pty_xon_hook uart_pty_xoff_hook uart_pty_xon_hook Erasing page 0003 (128) Writing page 0003 (128) uart_pty_xoff_hook uart_pty_xon_hook uart_pty_xoff_hook uart_pty_xon_hook Erasing page 0004 (128) Writing page 0004 (128) uart_pty_xoff_hook uart_pty_xon_hook uart_pty_xoff_hook uart_pty_xon_hook Erasing page 0005 (128) Writing page 0005 (128) uart_pty_xoff_hook uart_pty_xon_hook uart_pty_xoff_hook uart_pty_xon_hook Erasing page 0006 (128) Writing page 0006 (128) uart_pty_xoff_hook uart_pty_xon_hook uart_pty_xoff_hook uart_pty_xon_hook Erasing page 0007 (128) Writing page 0007 (128) uart_pty_xoff_hook uart_pty_xon_hook uart_pty_xoff_hook uart_pty_xon_hook Erasing page 0008 (128) Writing page 0008 (128) uart_pty_xoff_hook uart_pty_xon_hook uart_pty_xoff_hook uart_pty_xon_hook Erasing page 0009 (128) Writing page 0009 (128) uart_pty_xoff_hook uart_pty_xon_hook uart_pty_xoff_hook uart_pty_xon_hook Erasing page 000a (128) Writing page 000a (128) uart_pty_xoff_hook uart_pty_xon_hook uart_pty_xoff_hook uart_pty_xon_hook Erasing page 000b (128) Writing page 000b (128) uart_pty_xoff_hook uart_pty_xon_hook uart_pty_xoff_hook uart_pty_xon_hook Erasing page 000c (128) Writing page 000c (128) uart_pty_xoff_hook uart_pty_xon_hook uart_pty_xoff_hook uart_pty_xon_hook Erasing page 000d (128) Writing page 000d (128) uart_pty_xoff_hook uart_pty_xon_hook uart_pty_xoff_hook uart_pty_xon_hook Erasing page 000e (128) Writing page 000e (128) uart_pty_xoff_hook uart_pty_xon_hook uart_pty_xoff_hook uart_pty_xon_hook Erasing page 000f (128) Writing page 000f (128) uart_pty_xoff_hook uart_pty_xon_hook uart_pty_xoff_hook uart_pty_xon_hook Erasing page 0010 (128) Writing page 0010 (128) uart_pty_xoff_hook uart_pty_xon_hook uart_pty_xoff_hook uart_pty_xon_hook Erasing page 0011 (128) Writing page 0011 (128) uart_pty_xoff_hook uart_pty_xon_hook uart_pty_xoff_hook uart_pty_xon_hook Erasing page 0012 (128) Writing page 0012 (128) uart_pty_xoff_hook uart_pty_xon_hook uart_pty_xoff_hook uart_pty_xon_hook Erasing page 0013 (128) Writing page 0013 (128) Erasing page 0014 (128) Writing page 0014 (128) avr_timer_reconfigure-0 clock turned off avr_timer_reconfigure-0 clock turned off avr_timer_configure-0 TOP 7812.50Hz = 2048 cycles avr_timer_configure-0 TOP 976.56Hz = 16384 cycles avr_timer_configure-1 TOP 30.52Hz = 524288 cycles avr_timer_configure-1 TOP 3.81Hz = 4194304 cycles avr_timer_reconfigure-1 unsupported timer mode wgm=1 (0) avr_timer_configure-2 TOP 976.56Hz = 16384 cycles avr_timer_reconfigure-2 unsupported timer mode wgm=1 (0) ADC Start AREF 0 AVCC 0 UART-0 configured to 00cf = 4807 bps, 8 data 1 stop Roughtly 2288 usec per bytes UART-0 configured to 00cf = 4807 bps, 8 data 1 stop Roughtly 2288 usec per bytes UART-0 configured to 00cf = 4807 bps, 8 data 1 stop Roughtly 2288 usec per bytes UART-0 configured to 00cf = 4807 bps, 8 data 1 stop Roughtly 2288 usec per bytes UART-0 configured to 00cf = 4807 bps, 8 data 1 stop Roughtly 2288 usec per bytes UART-0 configured to 00cf = 4807 bps, 8 data 1 stop Roughtly 2288 usec per bytes UART-0 configured to 00cf = 4807 bps, 8 data 1 stop Roughtly 2288 usec per bytes UART-0 configured to 00cf = 4807 bps, 8 data 1 stop Roughtly 2288 usec per bytes UART-0 configured to 00cf = 4807 bps, 8 data 1 stop Roughtly 2288 usec per bytes UART-0 configured to 00cf = 4807 bps, 8 data 1 stop Roughtly 2288 usec per bytes UART-0 configured to 00cf = 4807 bps, 8 data 1 stop Roughtly 2288 usec per bytes UART-0 configured to 00cf = 4807 bps, 8 data 1 stop Roughtly 2288 usec per bytes UART-0 configured to 00cf = 4807 bps, 8 data 1 stop Roughtly 2288 usec per bytes UART-0 configured to 00cf = 4807 bps, 8 data 1 stop Roughtly 2288 usec per bytes