Is it possible to send or receive a string with 400 byte or more via the RS232 (Wlan) interface?
I need this function to parameterize my circuit without having to split these strings.
Perhaps there is a simple way to realize this?
Christina
RS232 Limited string length when sending / receiving dat
Moderator: Benj
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: RS232 Limited string length when sending / receiving dat
Hi
Could you give more details?
Such as the target device and component you are using.
Your Flowcode program, or part of it demonstrating the issue.
Could you give more details?
Such as the target device and component you are using.
Your Flowcode program, or part of it demonstrating the issue.
- tiny
- Posts: 200
- Joined: Wed Jul 08, 2009 8:29 am
- Has thanked: 51 times
- Been thanked: 93 times
- Contact:
Re: RS232 Limited string length when sending / receiving dat
Hi
I am using FC 7.2, dsPIC33 ECIO. What I intend is that I send between 200 and 400 characters long strings over Wlan (ESP8266) from the PC to the MCU (and vice versa), which are then stored in the serial EEprom (parameters and texts).
Attached is a transmission protocol and a short testroutine, which sends me to my PC program a string. 253 characters and CrLF are possible. This limitation should not actually exist with a 16Bit MCU, but maybe I have programmed something wrong!
Christina
I am using FC 7.2, dsPIC33 ECIO. What I intend is that I send between 200 and 400 characters long strings over Wlan (ESP8266) from the PC to the MCU (and vice versa), which are then stored in the serial EEprom (parameters and texts).
Attached is a transmission protocol and a short testroutine, which sends me to my PC program a string. 253 characters and CrLF are possible. This limitation should not actually exist with a 16Bit MCU, but maybe I have programmed something wrong!
Christina
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: RS232 Limited string length when sending / receiving dat
Thanks for the information.
Wow, it's a bug, or a limitation at least, in our UART(RS232) component, which is limiting the SendString to 255 characters.
I guess that has been enough for most applications over the years, but we will get this extended and get back to you.
Wow, it's a bug, or a limitation at least, in our UART(RS232) component, which is limiting the SendString to 255 characters.
I guess that has been enough for most applications over the years, but we will get this extended and get back to you.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: RS232 Limited string length when sending / receiving dat
Hello,
I think this updated component should solve the problem for both transmit and receive, download and simulation.
Simply drop the file into your "Flowcode 7/components" folder and restart Flowcode to load in the changes.
Let us know how you get on.
I think this updated component should solve the problem for both transmit and receive, download and simulation.
Simply drop the file into your "Flowcode 7/components" folder and restart Flowcode to load in the changes.
Let us know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- tiny
- Posts: 200
- Joined: Wed Jul 08, 2009 8:29 am
- Has thanked: 51 times
- Been thanked: 93 times
- Contact:
Re: RS232 Limited string length when sending / receiving dat
Hi
Many thanks to LeighM and Benj for the quick solution! It works wonderfully!
Christina
Many thanks to LeighM and Benj for the quick solution! It works wonderfully!
Christina