Question concerning Vinculum SPI driver
Michael Young
Posts: 1
Friends,
I am having trouble with the Vinculum SPI driver in OBEX.· I need the ASM-based driver beacuse the speed at which I need to burst data is in excess of what I can achieve using the USB datalogger hardware / SPIN code.
The driver is version 1.1, and my Vinculum VDIP-1 has version 3.68 VDAP firmware.
Specific problem:
When use the WriteFile(@filename,@databuffer,num_of_elements) function, the routine fails silently and fails to generate a new file on the USB stick.· Other routines (directory display, file deletion) do work.· I attempted to at least isolate the fault and believe it has something to do with the CloseFile routine.
Any advice?
Thanks!
Mike Young
I am having trouble with the Vinculum SPI driver in OBEX.· I need the ASM-based driver beacuse the speed at which I need to burst data is in excess of what I can achieve using the USB datalogger hardware / SPIN code.
The driver is version 1.1, and my Vinculum VDIP-1 has version 3.68 VDAP firmware.
Specific problem:
When use the WriteFile(@filename,@databuffer,num_of_elements) function, the routine fails silently and fails to generate a new file on the USB stick.· Other routines (directory display, file deletion) do work.· I attempted to at least isolate the fault and believe it has something to do with the CloseFile routine.
Any advice?
Thanks!
Mike Young
Comments
I had a similar problem in the past; my problem was caused by the byte count in the write command was different from the actual byte count... which will happen if you lose a data byte in the transfer.
Hope this helps.
Kevin