avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] [commit] serial verbosity


From: Theodore A. Roth
Subject: [avrdude-dev] [commit] serial verbosity
Date: Sun, 23 Mar 2003 18:11:27 -0800 (PST)

Hi,

I have committed the attached patch.

This add verbosity (level > 3) to the seri_posix.c send and recv functions 
so that you can see what is moving in/out the port. The output should look 
similar to what uisp dumps.

Here's a sample dump from my avr910 work:

../avr910.c: line 206: called avr910_initialize()   
avrdude: Send: S [53]
avrdude: Recv: A [41] V [56] R [52]   [20] I [49] S [53] P [50]
avrdude: Send: V [56]
avrdude: Recv: 1 [31] 6 [36]
avrdude: Send: v [76]
avrdude: Recv: 1 [31] 0 [30]
avrdude: Send: p [70]
avrdude: Recv: S [53]
Found programmer: Id = "AVR ISP"; type = S
    Software Version = 1.6; Hardware Version = 1.0  
avrdude: Send: t [74]

Programmer supports the following devices:
avrdude: Recv: . [12]
    Device code: 0x12
avrdude: Recv: . [13]
    Device code: 0x13
avrdude: Recv: 8 [38]
    Device code: 0x38
avrdude: Recv: . [86]
    Device code: 0x86
avrdude: Recv: . [00]


Can someone try this on a none-linux box? I think that my use of isprint() 
may not be the most portable. It's an easy fix to #define isprint() as a 
bunch of other is*() functions though.

Ted

Attachment: ser_verbose.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]