Take a look at this:
http://www.picbasic.co.uk/forum/showthread.php?t=7700
I think it is the same firmware, I get confused with FTDI's numbers and such. Just about as bad as their documentation.
Take a look at this:
http://www.picbasic.co.uk/forum/showthread.php?t=7700
I think it is the same firmware, I get confused with FTDI's numbers and such. Just about as bad as their documentation.
Dave
Always wear safety glasses while programming.
Dave
Always wear safety glasses while programming.
I've read the documentation from http://www.picbasic.co.uk/forum/showthread.php?t=7700 before posting here a new thread...I've verified the problems with RTS and CTS but there are all correctly set and I send a CR after each command ...the module it's communicating with the USB stick...because the led of the USB stick it's blinking when I run the code, and as I post previously a simply test of sending a CR and verifying the answer(D:\) confirm that the USB stick it's present and the synchronization messages are working too (I've tried also command in ECS mode and it's working) . I don't know why I cannot set the module in short command mode (SCS) and always returns Bad Command. I will appreciate if anyone has any ideas what I have to do or what it's the problem with the module. Thanks!
Again, with out seeing your code it makes it difficult to find the problem.
Here is a couple of things to look for ( I have not used the short set, and I do not have time to set one up at the moment).
The above is ECS format to open a file with the *.DAT extension. X1 is a variable from an array with different file names.Code:SEROUT2 VinRXD,8588,["OPR ",X1,".DAT",13]
I would guess the same code in SCS format would look like
One of the confusing things from the data sheet. The DS says "." is a space. Using ECS the "." is "," as in my above code. So I am not sure if there is a comma between 0E and 20 or just a space.Code:SEROUT2 VinRXD,8588,[0E,20,X1,".DAT",0D]
Another thing, are you using ASCll or binary values?
If you can get it to work in ECS, why do you want SCS?
Dave
Always wear safety glasses while programming.
I'm using Ascii values in ECS mode (it's working, as I said) and I'm have to use Binary values to set from ECS mode in SCS mode, and then I have to send commands in SCS mode. I can't post the code because the project is too big (C/C++ project-I'm working with an Embedded 386SX CPU ISA Half Size SBC Series).I was thinking that someone has encountered a bug about SCS mode...
Last edited by the_virus; - 21st July 2008 at 06:40.
Good luck, I can not help with C, most of us here use PIC BASIC. Guess that is why this forum is named MELabs PICBASIC Forums .
I will suggest contacting FTDI, their support is pretty good.
Dave
Always wear safety glasses while programming.
Ok..thanks! (I've write here because it's the only forum where someone writes about Vdrive2)![]()
Dave
Always wear safety glasses while programming.
Bookmarks