- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Everybody,
Sorry for posint twice - I found that this forum is more relevant to my problem.
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
Duplicate Post:
Pls refer
http://www.cypress.com/?app=forum&id=167&rID=114626
Regards,
-Madhu Sudhan