Arduino Open Source X-PID firmware incl.360°option

AMC, H-Bridge projects etc.
Please use the image gallery for your pictures, a short tutorial can be found here.
The first image in the first post will be shown in the project gallery.

Re: Arduino Open Source X-PID firmware

Postby sirnoname » Wed 30. Jan 2013, 00:52

L298: 4Ampere is for pussies.
You can connect it.
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

Re: Arduino Open Source X-PID firmware

Postby ericRacer » Wed 30. Jan 2013, 04:38

Very very good work sirnoname ! that is exactly what i was waiting and looking for !

I made my simulator with 2 arduinos because i was not able to have a stable output with only one , i had problem with pid sampletime and serial communication (pid was disturbed by serial), that was too much for me to fix it. i am not a programmer ! then...My first arduino receive the data, convert it to PWM and the second for pid calculation. I know that it's not the best but it's works very well now !

For now, i am so exited to try your code ! :mrgreen: i installed the x-sim plugin , downloaded the firmware into my arduino duemilaove (atmega328) but the interface doesn't detect my board . I don't know if i forgot something . I will check that tomorrow ! :D

thanks

ok, i just try it back downloading and that works ! my arduino board is detected ! :D :D :D
User avatar
ericRacer
X-Sim Supporter
 
Posts: 80
Images: 36
Joined: Wed 28. Mar 2012, 15:04
Location: Canada, Qc, Jonquiere
Has thanked: 3 times
Been thanked: 2 times

Re: Arduino Open Source X-PID firmware

Postby Roadster2 » Wed 30. Jan 2013, 12:48

BobBuilt wrote:Sir lists a couple of good drivers at 40 odd amps try to find theses as the code is written for them and supported by sir (as in he has tested them).


Hi Bob. Where are these driver boards listed. I was looking at the 60A+ Dual Motor Driver Drive Module (eBay 330854284636). I know that Thanos has tested these but don't know if Sir has.

Also, on a four 190W motor setup (3 DOF D-Box type motion) is there any preference/advantage in running (a) 1 x Arduino and dual motor controller running the Front motors and the other Arduino and dual motor controller running the Rear or (b) 1 x Arduino and dual motor controller running the Left motors and the other Arduino and dual motor controller running the Right.
Roadster2
 
Posts: 52
Joined: Thu 19. Apr 2012, 18:36
Has thanked: 2 times
Been thanked: 1 time

Re: Arduino Open Source X-PID firmware

Postby zecaEU01 » Wed 30. Jan 2013, 13:59

Good morning everyone

Remaking the question of the potentiometer: the type below is good for our type of work.

http://www.digikey.com/product-detail/e ... -ND/297614

ZECA
zecaEU01
 
Posts: 69
Joined: Mon 19. Nov 2012, 14:40
Location: AMERICANA SAO PAULO
Has thanked: 0 time
Been thanked: 4 times

Re: Arduino Open Source X-PID firmware

Postby sirnoname » Wed 30. Jan 2013, 15:42

Depends on your unknown hardware setup. This is a ten turn pot and you must fullfill the written mechanical pot solution with 0V on start and 5V on the end of your actuator way.
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

Re: Arduino Open Source X-PID firmware

Postby ericRacer » Wed 30. Jan 2013, 16:08

Problem detecting !

I don't know why but every time i unplug my arduino , XPID plugin doesn't detect it, i have to download the firmware everytime into my arduino for working.
do you know what ?
User avatar
ericRacer
X-Sim Supporter
 
Posts: 80
Images: 36
Joined: Wed 28. Mar 2012, 15:04
Location: Canada, Qc, Jonquiere
Has thanked: 3 times
Been thanked: 2 times

Re: Arduino Open Source X-PID firmware

Postby sirnoname » Wed 30. Jan 2013, 16:25

Yes I know that.
If you upload the firmware the rs232 converter on the arduino get better initialized than with my plugin code.
I thought it is solved but it seems to be not working for you.
I am searching for windows host source code which explain how I have to init the arduino to work as the firmware upload do.
The last change I did was to init the DTR/CTS lines which has solved this on my device and which I saw in a sample code.
There is a trick I did not found for now how the firmware upload is failsave to init the converter speed and I not.
Will now install the serial port monitor and sample the exact solution with a firmware upload and try to implement this init into the X-Sim plugin.
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

Re: Arduino Open Source X-PID firmware

Postby telfel » Wed 30. Jan 2013, 16:26

zecaEU01 wrote:Good morning everyone

Remaking the question of the potentiometer: the type below is good for our type of work.

http://www.digikey.com/product-detail/e ... -ND/297614

ZECA


Hi I have tried these with Uno and Sir,s firmaware

http://www.digikey.co.uk/product-detail/en/6127V1A180L.5FS/987-1392-ND/2620661

the min reading was 40 the high reading was 980

these are 180 deg contactless hall effect sensors

regards Terry
Last edited by telfel on Wed 30. Jan 2013, 16:45, edited 1 time in total.
User avatar
telfel
 
Posts: 108
Images: 54
Joined: Thu 22. Mar 2012, 19:05
Location: Borders Scotland UK
Has thanked: 2 times
Been thanked: 9 times

Re: Arduino Open Source X-PID firmware

Postby sirnoname » Wed 30. Jan 2013, 17:02

Ok, got it.
The arduino GUI do switch from 9600 to 115200 and then try about ten times until it is working, I do twice in my code. The upload is 115200 Baud and then stable available. It seems the converter need some time to calculate the fitting speed.
The guy who has written that stuff did get to much money for his job.

Code: Select all
Port geschlossen

Port geöffnet durch Vorgang "javaw.exe" (PID: 1556)

DOWN (0x00000000): IOCTL_SERIAL_SET_QUEUE_SIZE: Set queue size
  InSize=2048
  OutSize=1024

UP (0x00000000): IOCTL_SERIAL_GET_PROPERTIES: Retrieve COM properties
  Packet Size=64
  Packet Version=2
  services implemented=SP_SERIALCOMM
  Max Tx bufsize=0
  Max Rx bufsize=0
  Max baud rate=Changeable bps
  Specific provider type=MODEM
  Capabilities supported=DTRDSR, RLSD, PARITY_CHECK, TOTALTIMEOUTS, INTTIMEOUTS
  Changeable parameters=PARITY, BAUD, DATABITS, STOPBITS, HANDSHAKING, PARITY_CHECK, RLSD
  Allowable baud rates=300 bps, 600 bps, 1200 bps, 2400 bps, 4800 bps, 9600 bps, 19200 bps, 38400 bps, 115200 bps, 57600 bps
  Allowable byte sizes=7, 8
  Stop bits/parity allowed=1 stop bit, None Parity, Odd Parity, Even Parity, Mark Parity, Space Parity
  Tx buffer size=0
  Rx buffer size=16384

UP (0x00000000): IOCTL_SERIAL_GET_BAUD_RATE: Retrieve Baud Rate
  Baud Rate=115200

UP (0x00000000): IOCTL_SERIAL_GET_LINE_CONTROL: Retrieve line control
  WordLength=8
  StopBits=1 stop bit
  Parity=No parity

UP (0x00000000): IOCTL_SERIAL_GET_CHARS: Retrieve special characters
  EofChar=0x0
  ErrorChar=0x0
  BreakChar=0x0
  EventChar=0x0
  XonChar=0x0
  XoffChar=0x0

UP (0x00000000): IOCTL_SERIAL_GET_HANDFLOW: Retrieve handshake information
  ControlHandShake=0
  FlowReplace=0
  XonLimit=0
  XoffLimit=0

UP (0x00000000): IOCTL_SERIAL_GET_BAUD_RATE: Retrieve Baud Rate
  Baud Rate=115200

UP (0x00000000): IOCTL_SERIAL_GET_LINE_CONTROL: Retrieve line control
  WordLength=8
  StopBits=1 stop bit
  Parity=No parity

UP (0x00000000): IOCTL_SERIAL_GET_CHARS: Retrieve special characters
  EofChar=0x0
  ErrorChar=0x0
  BreakChar=0x0
  EventChar=0x0
  XonChar=0x0
  XoffChar=0x0

UP (0x00000000): IOCTL_SERIAL_GET_HANDFLOW: Retrieve handshake information
  ControlHandShake=0
  FlowReplace=0
  XonLimit=0
  XoffLimit=0

UP (0x00000000): IOCTL_SERIAL_GET_TIMEOUTS: Retrieve timeouts
  ReadIntervalTimeout=5000
  ReadTotalTimeoutMultiplier=5000
  ReadTotalTimeoutConstant=5000
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

UP (0x00000000): IOCTL_SERIAL_GET_BAUD_RATE: Retrieve Baud Rate
  Baud Rate=115200

UP (0x00000000): IOCTL_SERIAL_GET_LINE_CONTROL: Retrieve line control
  WordLength=8
  StopBits=1 stop bit
  Parity=No parity

UP (0x00000000): IOCTL_SERIAL_GET_CHARS: Retrieve special characters
  EofChar=0x0
  ErrorChar=0x0
  BreakChar=0x0
  EventChar=0x0
  XonChar=0x0
  XoffChar=0x0

UP (0x00000000): IOCTL_SERIAL_GET_HANDFLOW: Retrieve handshake information
  ControlHandShake=0
  FlowReplace=0
  XonLimit=0
  XoffLimit=0

DOWN (0x00000000): IOCTL_SERIAL_SET_BAUD_RATE: Set baud rate
  Baud Rate=9600

DOWN (0x00000000): IOCTL_SERIAL_CLR_RTS: Clear RTS

DOWN (0x00000000): IOCTL_SERIAL_SET_DTR: Set DTR

DOWN (0x00000000): IOCTL_SERIAL_SET_LINE_CONTROL: Set line control
  WordLength=8
  StopBits=1 stop bit
  Parity=No parity

DOWN (0x00000000): IOCTL_SERIAL_SET_CHARS: Set special characters
  EofChar=0x4
  ErrorChar=0x0
  BreakChar=0x0
  EventChar=0xa
  XonChar=0x0
  XoffChar=0x0

DOWN (0x00000000): IOCTL_SERIAL_SET_HANDFLOW: Set handshake information
  ControlHandShake=1
  FlowReplace=0
  XonLimit=0
  XoffLimit=0

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=0
  ReadTotalTimeoutMultiplier=0
  ReadTotalTimeoutConstant=0
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

UP (0x00000000): IOCTL_SERIAL_GET_BAUD_RATE: Retrieve Baud Rate
  Baud Rate=9600

UP (0x00000000): IOCTL_SERIAL_GET_LINE_CONTROL: Retrieve line control
  WordLength=8
  StopBits=1 stop bit
  Parity=No parity

UP (0x00000000): IOCTL_SERIAL_GET_CHARS: Retrieve special characters
  EofChar=0x4
  ErrorChar=0x0
  BreakChar=0x0
  EventChar=0xa
  XonChar=0x0
  XoffChar=0x0

UP (0x00000000): IOCTL_SERIAL_GET_HANDFLOW: Retrieve handshake information
  ControlHandShake=1
  FlowReplace=0
  XonLimit=0
  XoffLimit=0

UP (0x00000000): IOCTL_SERIAL_GET_TIMEOUTS: Retrieve timeouts
  ReadIntervalTimeout=0
  ReadTotalTimeoutMultiplier=0
  ReadTotalTimeoutConstant=0
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

UP (0x00000000): IOCTL_SERIAL_GET_BAUD_RATE: Retrieve Baud Rate
  Baud Rate=9600

UP (0x00000000): IOCTL_SERIAL_GET_LINE_CONTROL: Retrieve line control
  WordLength=8
  StopBits=1 stop bit
  Parity=No parity

UP (0x00000000): IOCTL_SERIAL_GET_CHARS: Retrieve special characters
  EofChar=0x4
  ErrorChar=0x0
  BreakChar=0x0
  EventChar=0xa
  XonChar=0x0
  XoffChar=0x0

UP (0x00000000): IOCTL_SERIAL_GET_HANDFLOW: Retrieve handshake information
  ControlHandShake=1
  FlowReplace=0
  XonLimit=0
  XoffLimit=0

UP (0x00000000): IOCTL_SERIAL_GET_TIMEOUTS: Retrieve timeouts
  ReadIntervalTimeout=0
  ReadTotalTimeoutMultiplier=0
  ReadTotalTimeoutConstant=0
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

UP (0x00000000): IOCTL_SERIAL_GET_BAUD_RATE: Retrieve Baud Rate
  Baud Rate=9600

UP (0x00000000): IOCTL_SERIAL_GET_LINE_CONTROL: Retrieve line control
  WordLength=8
  StopBits=1 stop bit
  Parity=No parity

UP (0x00000000): IOCTL_SERIAL_GET_CHARS: Retrieve special characters
  EofChar=0x4
  ErrorChar=0x0
  BreakChar=0x0
  EventChar=0xa
  XonChar=0x0
  XoffChar=0x0

UP (0x00000000): IOCTL_SERIAL_GET_HANDFLOW: Retrieve handshake information
  ControlHandShake=1
  FlowReplace=0
  XonLimit=0
  XoffLimit=0

DOWN (0x00000000): IOCTL_SERIAL_SET_BAUD_RATE: Set baud rate
  Baud Rate=9600

DOWN (0x00000000): IOCTL_SERIAL_CLR_RTS: Clear RTS

DOWN (0x00000000): IOCTL_SERIAL_SET_DTR: Set DTR

DOWN (0x00000000): IOCTL_SERIAL_SET_LINE_CONTROL: Set line control
  WordLength=8
  StopBits=1 stop bit
  Parity=No parity

DOWN (0x00000000): IOCTL_SERIAL_SET_CHARS: Set special characters
  EofChar=0x4
  ErrorChar=0x0
  BreakChar=0x0
  EventChar=0xa
  XonChar=0x0
  XoffChar=0x0

DOWN (0x00000000): IOCTL_SERIAL_SET_HANDFLOW: Set handshake information
  ControlHandShake=1
  FlowReplace=0
  XonLimit=0
  XoffLimit=0

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=4294967295
  ReadTotalTimeoutMultiplier=0
  ReadTotalTimeoutConstant=0
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_MODEMSTATUS: Retrieve modem status
  Modem status=None

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_MODEMSTATUS: Retrieve modem status
  Modem status=None

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_BAUD_RATE: Retrieve Baud Rate
  Baud Rate=9600

UP (0x00000000): IOCTL_SERIAL_GET_LINE_CONTROL: Retrieve line control
  WordLength=8
  StopBits=1 stop bit
  Parity=No parity

UP (0x00000000): IOCTL_SERIAL_GET_CHARS: Retrieve special characters
  EofChar=0x4
  ErrorChar=0x0
  BreakChar=0x0
  EventChar=0xa
  XonChar=0x0
  XoffChar=0x0

UP (0x00000000): IOCTL_SERIAL_GET_HANDFLOW: Retrieve handshake information
  ControlHandShake=1
  FlowReplace=0
  XonLimit=0
  XoffLimit=0

UP (0x00000000): IOCTL_SERIAL_GET_TIMEOUTS: Retrieve timeouts
  ReadIntervalTimeout=4294967295
  ReadTotalTimeoutMultiplier=0
  ReadTotalTimeoutConstant=0
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

UP (0x00000000): IOCTL_SERIAL_GET_BAUD_RATE: Retrieve Baud Rate
  Baud Rate=9600

UP (0x00000000): IOCTL_SERIAL_GET_LINE_CONTROL: Retrieve line control
  WordLength=8
  StopBits=1 stop bit
  Parity=No parity

UP (0x00000000): IOCTL_SERIAL_GET_CHARS: Retrieve special characters
  EofChar=0x4
  ErrorChar=0x0
  BreakChar=0x0
  EventChar=0xa
  XonChar=0x0
  XoffChar=0x0

UP (0x00000000): IOCTL_SERIAL_GET_HANDFLOW: Retrieve handshake information
  ControlHandShake=1
  FlowReplace=0
  XonLimit=0
  XoffLimit=0

UP (0x00000000): IOCTL_SERIAL_GET_TIMEOUTS: Retrieve timeouts
  ReadIntervalTimeout=4294967295
  ReadTotalTimeoutMultiplier=0
  ReadTotalTimeoutConstant=0
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

UP (0x00000000): IOCTL_SERIAL_GET_BAUD_RATE: Retrieve Baud Rate
  Baud Rate=9600

UP (0x00000000): IOCTL_SERIAL_GET_LINE_CONTROL: Retrieve line control
  WordLength=8
  StopBits=1 stop bit
  Parity=No parity

UP (0x00000000): IOCTL_SERIAL_GET_CHARS: Retrieve special characters
  EofChar=0x4
  ErrorChar=0x0
  BreakChar=0x0
  EventChar=0xa
  XonChar=0x0
  XoffChar=0x0

UP (0x00000000): IOCTL_SERIAL_GET_HANDFLOW: Retrieve handshake information
  ControlHandShake=1
  FlowReplace=0
  XonLimit=0
  XoffLimit=0

DOWN (0x00000000): IOCTL_SERIAL_SET_BAUD_RATE: Set baud rate
  Baud Rate=9600

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_MODEMSTATUS: Retrieve modem status
  Modem status=None

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

DOWN (0x00000000): IOCTL_SERIAL_CLR_RTS: Clear RTS

DOWN (0x00000000): IOCTL_SERIAL_SET_DTR: Set DTR

DOWN (0x00000000): IOCTL_SERIAL_SET_LINE_CONTROL: Set line control
  WordLength=8
  StopBits=1 stop bit
  Parity=No parity

DOWN (0x00000000): IOCTL_SERIAL_SET_CHARS: Set special characters
  EofChar=0x4
  ErrorChar=0x0
  BreakChar=0x0
  EventChar=0xa
  XonChar=0x0
  XoffChar=0x0

DOWN (0x00000000): IOCTL_SERIAL_SET_HANDFLOW: Set handshake information
  ControlHandShake=1
  FlowReplace=0
  XonLimit=0
  XoffLimit=0

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=4294967295
  ReadTotalTimeoutMultiplier=0
  ReadTotalTimeoutConstant=0
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

DOWN (0x00000000): IOCTL_SERIAL_SET_WAIT_MASK: Set current event mask
  WaitMask=RXCHAR: Any Character received

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_MODEMSTATUS: Retrieve modem status
  Modem status=None

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

DOWN (0x00000000): IOCTL_SERIAL_CLR_DTR: Clear DTR

DOWN (0x00000000): IOCTL_SERIAL_CLR_RTS: Clear RTS

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_MODEMSTATUS: Retrieve modem status
  Modem status=None

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

DOWN (0x00000000): IOCTL_SERIAL_CLR_DTR: Clear DTR

DOWN (0x00000000): IOCTL_SERIAL_CLR_RTS: Clear RTS

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_MODEMSTATUS: Retrieve modem status
  Modem status=None

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_MODEMSTATUS: Retrieve modem status
  Modem status=None

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

DOWN (0x00000000): IOCTL_SERIAL_SET_DTR: Set DTR

DOWN (0x00000000): IOCTL_SERIAL_CLR_RTS: Clear RTS

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_MODEMSTATUS: Retrieve modem status
  Modem status=None

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

DOWN (0x00000000): IOCTL_SERIAL_SET_DTR: Set DTR

DOWN (0x00000000): IOCTL_SERIAL_SET_RTS: Set RTS

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_MODEMSTATUS: Retrieve modem status
  Modem status=None

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

DOWN (0x00000000): IOCTL_SERIAL_CLR_DTR: Clear DTR

DOWN (0x00000000): IOCTL_SERIAL_SET_RTS: Set RTS

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_MODEMSTATUS: Retrieve modem status
  Modem status=None

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

DOWN (0x00000000): IOCTL_SERIAL_CLR_DTR: Clear DTR

DOWN (0x00000000): IOCTL_SERIAL_SET_RTS: Set RTS

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_MODEMSTATUS: Retrieve modem status
  Modem status=None

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

UP (0x00000000): IOCTL_SERIAL_GET_COMMSTATUS: Retrieve COM status
  Errors=0
  HoldReasons=0
  AmountInInQueue=0
  AmountInOutQueue=0
  EofReceived=FALSE
  WaitForImmediate=FALSE

Port geschlossen

Port geöffnet durch Vorgang "avrdude.exe" (PID: 3904)

DOWN (0x00000000): IOCTL_SERIAL_SET_QUEUE_SIZE: Set queue size
  InSize=1024
  OutSize=1024

UP (0x00000000): IOCTL_SERIAL_GET_BAUD_RATE: Retrieve Baud Rate
  Baud Rate=9600

UP (0x00000000): IOCTL_SERIAL_GET_LINE_CONTROL: Retrieve line control
  WordLength=8
  StopBits=1 stop bit
  Parity=No parity

UP (0x00000000): IOCTL_SERIAL_GET_CHARS: Retrieve special characters
  EofChar=0x4
  ErrorChar=0x0
  BreakChar=0x0
  EventChar=0xa
  XonChar=0x0
  XoffChar=0x0

UP (0x00000000): IOCTL_SERIAL_GET_HANDFLOW: Retrieve handshake information
  ControlHandShake=1
  FlowReplace=0
  XonLimit=0
  XoffLimit=0

DOWN (0x00000000): IOCTL_SERIAL_SET_BAUD_RATE: Set baud rate
  Baud Rate=115200

DOWN (0x00000000): IOCTL_SERIAL_CLR_RTS: Clear RTS

DOWN (0x00000000): IOCTL_SERIAL_CLR_DTR: Clear DTR

DOWN (0x00000000): IOCTL_SERIAL_SET_LINE_CONTROL: Set line control
  WordLength=8
  StopBits=1 stop bit
  Parity=No parity

DOWN (0x00000000): IOCTL_SERIAL_SET_CHARS: Set special characters
  EofChar=0x0
  ErrorChar=0x0
  BreakChar=0x0
  EventChar=0x0
  XonChar=0x0
  XoffChar=0x0

DOWN (0x00000000): IOCTL_SERIAL_SET_HANDFLOW: Set handshake information
  ControlHandShake=0
  FlowReplace=0
  XonLimit=0
  XoffLimit=0

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=0
  ReadTotalTimeoutMultiplier=0
  ReadTotalTimeoutConstant=0
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

DOWN (0x00000000): IOCTL_SERIAL_CLR_DTR: Clear DTR

DOWN (0x00000000): IOCTL_SERIAL_CLR_RTS: Clear RTS

DOWN (0x00000000): IOCTL_SERIAL_SET_DTR: Set DTR

DOWN (0x00000000): IOCTL_SERIAL_SET_RTS: Set RTS

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=250
  ReadTotalTimeoutMultiplier=250
  ReadTotalTimeoutConstant=250
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=500
  ReadTotalTimeoutMultiplier=500
  ReadTotalTimeoutConstant=500
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=250
  ReadTotalTimeoutMultiplier=250
  ReadTotalTimeoutConstant=250
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

 14 10                                             ..             

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=500
  ReadTotalTimeoutMultiplier=500
  ReadTotalTimeoutConstant=500
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=250
  ReadTotalTimeoutMultiplier=250
  ReadTotalTimeoutConstant=250
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

 14 10                                             ..             

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=500
  ReadTotalTimeoutMultiplier=500
  ReadTotalTimeoutConstant=500
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=5000
  ReadTotalTimeoutMultiplier=5000
  ReadTotalTimeoutConstant=5000
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

 14                                                .               

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=5000
  ReadTotalTimeoutMultiplier=5000
  ReadTotalTimeoutConstant=5000
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

 10                                                .               

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=500
  ReadTotalTimeoutMultiplier=500
  ReadTotalTimeoutConstant=500
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=5000
  ReadTotalTimeoutMultiplier=5000
  ReadTotalTimeoutConstant=5000
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

 14                                                .               

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=5000
  ReadTotalTimeoutMultiplier=5000
  ReadTotalTimeoutConstant=5000
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

 03                                                .               

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=5000
  ReadTotalTimeoutMultiplier=5000
  ReadTotalTimeoutConstant=5000
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

 10                                                .               

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=500
  ReadTotalTimeoutMultiplier=500
  ReadTotalTimeoutConstant=500
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=5000
  ReadTotalTimeoutMultiplier=5000
  ReadTotalTimeoutConstant=5000
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

 14                                                .               

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=5000
  ReadTotalTimeoutMultiplier=5000
  ReadTotalTimeoutConstant=5000
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

 03                                                .               

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=5000
  ReadTotalTimeoutMultiplier=5000
  ReadTotalTimeoutConstant=5000
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

 10                                                .               

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=500
  ReadTotalTimeoutMultiplier=500
  ReadTotalTimeoutConstant=500
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=5000
  ReadTotalTimeoutMultiplier=5000
  ReadTotalTimeoutConstant=5000
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

 14                                                .               

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=5000
  ReadTotalTimeoutMultiplier=5000
  ReadTotalTimeoutConstant=5000
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

 10                                                .               

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=500
  ReadTotalTimeoutMultiplier=500
  ReadTotalTimeoutConstant=500
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=5000
  ReadTotalTimeoutMultiplier=5000
  ReadTotalTimeoutConstant=5000
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

 14                                                .               

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=5000
  ReadTotalTimeoutMultiplier=5000
  ReadTotalTimeoutConstant=5000
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

 10                                                .               

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=500
  ReadTotalTimeoutMultiplier=500
  ReadTotalTimeoutConstant=500
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=5000
  ReadTotalTimeoutMultiplier=5000
  ReadTotalTimeoutConstant=5000
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

 14                                                .               

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=5000
  ReadTotalTimeoutMultiplier=5000
  ReadTotalTimeoutConstant=5000
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

 10                                                .               

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=500
  ReadTotalTimeoutMultiplier=500
  ReadTotalTimeoutConstant=500
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=5000
  ReadTotalTimeoutMultiplier=5000
  ReadTotalTimeoutConstant=5000
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

 14 1E 95 0F 10                                    ..•..           

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=500
  ReadTotalTimeoutMultiplier=500
  ReadTotalTimeoutConstant=500
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=5000
  ReadTotalTimeoutMultiplier=5000
  ReadTotalTimeoutConstant=5000
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

 14                                                .               

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=5000
  ReadTotalTimeoutMultiplier=5000
  ReadTotalTimeoutConstant=5000
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

 00                                                .               

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=5000
  ReadTotalTimeoutMultiplier=5000
  ReadTotalTimeoutConstant=5000
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

 10                                                .               

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=500
  ReadTotalTimeoutMultiplier=500
  ReadTotalTimeoutConstant=500
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=5000
  ReadTotalTimeoutMultiplier=5000
  ReadTotalTimeoutConstant=5000
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

 14                                                .               

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=5000
  ReadTotalTimeoutMultiplier=5000
  ReadTotalTimeoutConstant=5000
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

 00                                                .               

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=5000
  ReadTotalTimeoutMultiplier=5000
  ReadTotalTimeoutConstant=5000
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

 10                                                .               

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=500
  ReadTotalTimeoutMultiplier=500
  ReadTotalTimeoutConstant=500
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=5000
  ReadTotalTimeoutMultiplier=5000
  ReadTotalTimeoutConstant=5000
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

 14                                                .               

DOWN (0x00000000): IOCTL_SERIAL_SET_TIMEOUTS: Set timeouts
  ReadIntervalTimeout=5000
  ReadTotalTimeoutMultiplier=5000
  ReadTotalTimeoutConstant=5000
  WriteTotalTimeoutMultiplier=0
  WriteTotalTimeoutConstant=0

 00                                                .               



Will now implement this into the sourcecode.
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

Re: Arduino Open Source X-PID firmware

Postby ericRacer » Wed 30. Jan 2013, 17:34

sirnoname wrote:Yes I know that.
If you upload the firmware the rs232 converter on the arduino get better initialized than with my plugin code.
I thought it is solved but it seems to be not working for you.
I am searching for windows host source code which explain how I have to init the arduino to work as the firmware upload do.
The last change I did was to init the DTR/CTS lines which has solved this on my device and which I saw in a sample code.
There is a trick I did not found for now how the firmware upload is failsave to init the converter speed and I not.
Will now install the serial port monitor and sample the exact solution with a firmware upload and try to implement this init into the X-Sim plugin.



ok, good ! it's a little too much for my knowledge but i understand you make hard work on that !

:)
User avatar
ericRacer
X-Sim Supporter
 
Posts: 80
Images: 36
Joined: Wed 28. Mar 2012, 15:04
Location: Canada, Qc, Jonquiere
Has thanked: 3 times
Been thanked: 2 times

PreviousNext

Return to Controllers and Drivers Projects

Who is online

Users browsing this forum: No registered users and 1 guest

cron