prilad wrote:Hi Gilles,
Unfortunately I have not written in detail about the configuration of the port. I'll try to make it right now.
If at the start of the program you has received an "error opening port" message, go to the menu "Settings" to set the port number to which you attached the AMC. And set up next parameters: Baud Rate = 115200, Bits = 8, Stop Bits = 1, Parity = no.
And remember that you can use only firmware for your quartz frequency. What version of AMC are you use? For AMC1.6 I have compiled only for 22MHz.
Regards,
Ale.
Hi Prilad,
I've got the new AMC 1.6 board with 22,184 Mhz Crystal like Thanos (all come from him) .
I change the baud rate in the driver and now it's OK.But I've got always the same message.''Can't open the port''.I changed the file ini because in ini was the port COM 5 declared.I changed to COM4 (my actually configuration board on port COM4) and now I can open the soft without this error.
But I can't read anything on the soft , the pot , postion to reach don't display in the soft.There is a communication because the leds red and green are flashing but nothing in the soft .When I choose receving , sending ,display settings anything 's dysplaying.
Below my file .ini copied :
COMPORT]
Port=4
ByteSize=8
BoudRate=115200
Parity=0
StopBits=0
[MAIN]
SendPeriod=33
AMpl1=70
Offs1=127
Freq1=0.48
AMpl2=80
Offs2=127
Freq2=1.04
GraphBuf=60
[SETTING]
Kp1Lo=100
Kp1Hi=20
Kp2Lo=40
Kp2Hi=20
Sens1Lo=45
Sens1Hi=210
Sens2Lo=45
Sens2Hi=210
KpTh=5
MinD=2
MinPWM=0
[VIRTUAL_COMPORT]
Port=4
ByteSize=8
BoudRate=115200
Parity=0
StopBits=0
Thanks for your help
Gilles
NB : I've got in the AMC Board the firmware version that comes from Thanos not your version .I could understand that Thanos was using your soft Xsimcontroler modified with the crystal frequence but with his firmware (v 1.1) in the atmega.Does it right ?
I try too using the terminal application comes from Thanos and when I scan the port COM4 I saw like him all the data who are coming from the board.
He shows that in a video inside the XSim.de forum.
data are like this :
AMC1611 128 750 128 800 (Motor1 position 128 (axe middle) 750 pot1 position and Motor2 position 128 (axe middle) 800 pot2 position )