Permalink
Browse files

The deployment script is now reliable by setting properly the number …

…of stop bits.
  • Loading branch information...
1 parent dd9d9fe commit e5760f9d9567c67cc86c8597a42e9e958e34fcb9 @dcliche committed Dec 18, 2011
Showing with 4 additions and 2 deletions.
  1. +2 −2 README.txt
  2. +2 −0 tools/deploy/deploy.py
View
@@ -39,7 +39,7 @@ All the source files of the toolset are provided. The following is provided:
You will find Makefiles for Linux. I personally use the great CentOS-6 distribution.
-The S19 file is to be uploaded to the board using a serial terminal at 57600-N-8-1 (see the installation section). The ROM contains the SYS09BUG utility available under "src/sys09bug" which perform the download of the file over the serial port.
+The S19 file is to be uploaded to the board using a serial terminal at 57600-N-8-2 (see the installation section). The ROM contains the SYS09BUG utility available under "src/sys09bug" which perform the download of the file over the serial port.
The chain is the following:
"C" -- [ C compiler ] --> "ASM" -- [ 6809 assembler ] --> "S19" -- [ Serial upload with SYS09BUG ROM ] --> FPGA Block RAM Memory
@@ -74,7 +74,7 @@ Refer to section 4.1 for more details about the 12-bit phase delta value to prov
5. Connect speakers to the synthesizer;
6. Connect a serial cable to the synthesizer;
7. Program the FPGA by creating a projet with the files under the "rtl" folder;
-8. Start a serial terminal at 57600-N-8-1;
+8. Start a serial terminal at 57600-N-8-2;
9. On the serial terminal or on the synthesizer itself at the SYS09BUG prompt, type "l";
10. Upload the text file "src/synth/synth.s19" using your serial terminal;
11. At the SYS09BUG prompt, type "CTRL-P" to set the program counter;
View
@@ -10,9 +10,11 @@
ser = serial.Serial('/dev/ttyUSB0', 57600)
+ser.stopbits=2
f = open(sys.argv[1], 'r')
ser.write('l');
+time.sleep(0.5);
ser.write(f.read());
ser.write('\n');
time.sleep(0.5);

0 comments on commit e5760f9

Please sign in to comment.