OpenCores
no use no use 1/1 no use no use
How to send string from RS232 with VHDL ?
by mmc01 on Nov 18, 2011
mmc01
Posts: 1
Joined: Nov 14, 2011
Last seen: Jul 23, 2012
I downloaded RS232 code from http://opencores.org/project,rs232_interface . I try to send string from FPGA to IC MAX232 with this code. In the line 95 I think I have to change data in this line. I want to send "ABC" to RS232. So, I change the code like in my image.

But when I run Check syntax it show many error like this.

ERROR:HDLParsers:164 - "C:/Users/PKRU/Documents/VHDL/test_rs232/test_rs232.vhd" Line 96. parse error, unexpected TICK
ERROR:HDLParsers:164 - "C:/Users/PKRU/Documents/VHDL/test_rs232/test_rs232.vhd" Line 102. parse error, unexpected IF, expecting CASE
ERROR:HDLParsers:164 - "C:/Users/PKRU/Documents/VHDL/test_rs232/test_rs232.vhd" Line 118. parse error, unexpected WHEN, expecting END
ERROR:HDLParsers:164 - "C:/Users/PKRU/Documents/VHDL/test_rs232/test_rs232.vhd" Line 122. parse error, unexpected WHEN, expecting END
ERROR:HDLParsers:164 - "C:/Users/PKRU/Documents/VHDL/test_rs232/test_rs232.vhd" Line 126. parse error, unexpected WHEN, expecting END
ERROR:HDLParsers:164 - "C:/Users/PKRU/Documents/VHDL/test_rs232/test_rs232.vhd" Line 132. parse error, unexpected WHEN, expecting END

please help me, How to send string from RS232 with VHDL ?
Untitled.png (5 kb)
RE: How to send string from RS232 with VHDL ?
by vlogaras on Nov 18, 2011
vlogaras
Posts: 46
Joined: Aug 28, 2005
Last seen: Dec 15, 2014
Have you made a correct null modem connection between your board and the PC?
RE: How to send string from RS232 with VHDL ?
by fpga_is_funny on Nov 18, 2011
fpga_is_funny
Posts: 3
Joined: Dec 13, 2006
Last seen: Nov 8, 2024
Hello

It seems that you corrupted the syntax of the VHDL testbench while entering the test string of "ABC".

If you send me all of the needed files I will help you to proceed successfully with your project "RS232 data transmission controlled by FPGA / VHDL".

Best Regards
fpga_is_funny / Jens
no use no use 1/1 no use no use
© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.