Batch processing of Oberon commands
[...] thanks a lot - much appreciated. Hellwig
BZW, you may have noticed that the protocol between ORC and PCLink0 has also been slightly modified (ORC now sends ACK after sending either SND or REC, and in addition sends REQ after sending or receiving packets). This effectively creates a "confirmation bracket" around the packages. Better. Best, Andreas
On Fr, 2020-06-12 at 20:11 +0200, Andreas Pirklbauer wrote:
BZW, you may have noticed that the protocol between ORC and PCLink0 has also been slightly modified (ORC now sends ACK after sending either SND or REC, and in addition sends REQ after sending or receiving packets). This effectively creates a "confirmation bracket" around the packages. Better.
Yes, thanks for the pointer. I must confess that I did something very similar a few months ago. I noticed some hangups during file transfer from my development system (running a serial communication program to remotely control the install/build process) to the FPGA board and after analyzing them, "hardened" the protocol in a few places. Hellwig
Yes, thanks for the pointer. I must confess that I did something very similar a few months ago. I noticed some hangups during file transfer
I introduced a delay of 100ms here in the ORC.SR loop. It compensates for RPI end running faster to FPGA end. WHILE (S.class # Texts.Char) & (S.c # "~") DO IF S.class = Texts.Int THEN Texts.WriteInt(W, S.i, 6); SendInt(S.i) ... END ; Texts.Scan(S); Wait(100) (*RPI host delay*) END ; -- Tomas Kral <thomas.kral@email.cz>
Tomas, On Sa, 2020-06-13 at 07:30 +0200, Tomas Kral wrote:
I introduced a delay of 100ms here in the ORC.SR loop. It compensates for RPI end running faster to FPGA end.
WHILE (S.class # Texts.Char) & (S.c # "~") DO IF S.class = Texts.Int THEN Texts.WriteInt(W, S.i, 6); SendInt(S.i) ... END ; Texts.Scan(S); Wait(100) (*RPI host delay*) END ;
I think that delays are not the best way to go. They solve the problem at hand only for a specific combination of processing and communication speed, whereas handshaking does away with it once and for all. Hellwig
the handshake of TFTP is proven. Jörg
Am 12.06.2020 um 23:38 schrieb Hellwig Geisse <hellwig.geisse@mni.thm.de>:
On Fr, 2020-06-12 at 20:11 +0200, Andreas Pirklbauer wrote:
BZW, you may have noticed that the protocol between ORC and PCLink0 has also been slightly modified (ORC now sends ACK after sending either SND or REC, and in addition sends REQ after sending or receiving packets). This effectively creates a "confirmation bracket" around the packages. Better.
Yes, thanks for the pointer. I must confess that I did something very similar a few months ago. I noticed some hangups during file transfer from my development system (running a serial communication program to remotely control the install/build process) to the FPGA board and after analyzing them, "hardened" the protocol in a few places.
Hellwig -- Oberon@lists.inf.ethz.ch mailing list for ETH Oberon and related systems https://lists.inf.ethz.ch/mailman/listinfo/oberon
participants (4)
-
Andreas Pirklbauer -
Hellwig Geisse -
Joerg -
Tomas Kral