- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Everybody,
I hope it's the right forum branch for posting.
I'm working with CYUSBS232 USB-UART LP Reference Design Kit which has CY7C65213 part installed . I've made a program in MS VIsual C++ 2008 that succesfully reads device parameters, opens device, operates GPIO pins and sends the data through UART via CyUartWrite(). However, when I want to read the data from UART and thus I call CyUartRead() API's function a breakpoint/exception is generated saying something about heap corruption (can't cite the exact message). Intrestingly, this doesn't happen if there's some data received in the input buffer - CyUartRead() returns CY_SUCCESS with correct data reading. I believe this is not a normal behaviour of CyUartRead(): in case of no data received it should simply CY_ERROR_IO_TIMEOUT saying timout has been reached.
Does anyone had similar problem? Any suggestions?
Thanks in advance
- Labels:
-
ispn:38622:1:0
-
l1:314:1:0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Alexunder,
We have seen similar issue and this is issue with our cyusbserial library. I will check and provide you modified binaries which has fix. However, we will update our library including this fix in our next release.
Thanks,
Haneesh