October 8th, 2009, 2:49
October 8th, 2009, 3:11
chaitanya wrote:Hello guys!,
I am writing a code to communicate hard drive with comp using serial port
I am sending characters like '.','!','~' to port which in turn sends to hard drive buffer and hard drive sends corresponding output to port as response.
Now, I want to send some advance commands like "/1" to port but it is not responding me as expected.
I doubt that is there any issue related to data type or such
or Ascii-Unicode?
And in an another topic:(how-change-diagnostic-level-program-t13580.html)
aditya.alate wrote:I am currently working on some kind of low level HDD diag and recovery tool project.
I have built RS232-TTL converter and connected HDD using it. Now Trying to build a GUI tool to communicate to HDD and do requested things.
Till Now I am successful in writing C code for sending single byte diagnostic commands to Seagate SATA drive. BUt when I am sending a multibyte command like "/1", it is giving me output like "Input Command Error".
I am using BYTE array to scan user input and passing char * pointer to that array to my function which writes that string to COM port i.e HDD.
Note : All diagnostic commands are working properly while connected with HyperTerminal or Putty.
Is anybody having any idea, suggestion for this.
-ADITYA
October 8th, 2009, 4:27
October 8th, 2009, 5:18
October 9th, 2009, 3:37
Powered by phpBB © phpBB Group.