All times are UTC - 5 hours [ DST ]


Forum rules


Please do not post questions about data recovery cases here (use this forum instead). This forum is for topics on finding new ways to recover data. Accessing firmware, writing programs, reading bits off the platter, recovering data from dust...



Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Samsung command question
PostPosted: November 19th, 2011, 14:05 
Offline

Joined: November 1st, 2011, 11:25
Posts: 15
Location: Germany
Hi,

I wonder if there a command to dump the different Modules of the maintenance cylinder configuration (SAMSUNG SP2504C), as binary module through the serial console. I know how to read them the normal way, but I like to view at them with my hexeditor. It is just easier to look at when you have a hex and ascii view of the data you are analysing. If you don't want to post it in the public, please feel free to send me a message.

Thanks in advance!

EDIT #1: Oh, and I noticed that many Samsung related threads are missing when I try to access them through the search result page


Top
 Profile  
 
 Post subject: Re: Samsung command question
PostPosted: November 20th, 2011, 2:40 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15532
Location: Australia
I don't get it.

If you've dumped the modules the "normal" way, why should they look any different when you dump them via the serial console?

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Samsung command question
PostPosted: November 20th, 2011, 3:14 
Offline
User avatar

Joined: May 5th, 2004, 20:06
Posts: 2782
Location: England
exactly :roll: it makes no sense

_________________
All went well until I plugged the drive in.


Top
 Profile  
 
 Post subject: Re: Samsung command question
PostPosted: November 20th, 2011, 9:08 
Offline

Joined: November 1st, 2011, 11:25
Posts: 15
Location: Germany
I dumped the modules to the terminal output, so the output is the "asciified" hexdump. instead of printing
Code:
foobar

the terminal prints:
Code:
W:005000  666f 6f62 6172 0a

and so it makes sense, in the matter of comfort. I want to upload the dump to my host system as real binary and not as hex string. It would make it much easier to analyse. The above is a simplefied example. Just image you have only the output of what the programm xxd gave you, but you want the binary which was used to produce the binary.


Top
 Profile  
 
 Post subject: Re: Samsung command question
PostPosted: November 20th, 2011, 12:26 
Offline

Joined: July 18th, 2006, 3:05
Posts: 7474
Location: ITALY
Still makes ABSOLUTELY no sense and most of all NO USE to me too 8).


Top
 Profile  
 
 Post subject: Re: Samsung command question
PostPosted: November 20th, 2011, 15:37 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 15532
Location: Australia
jaypikay wrote:
and so it makes sense, in the matter of comfort. I want to upload the dump to my host system as real binary and not as hex string.

OK, that makes perfect sense to me. However, I don't know how to help you. No doubt you have already written some simple software to massage the data ...

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: Samsung command question
PostPosted: November 20th, 2011, 16:57 
Offline

Joined: November 1st, 2011, 11:25
Posts: 15
Location: Germany
Currently I use minicom to enter the commands, and copy the output in a little python script to convert the first bytes of the module. just to get some kind of table of contents, but it will be a pain in the a** when it comes to reading sections like the raw SMART data. So, for now I have to stick around with the RM command.


Top
 Profile  
 
 Post subject: Re: Samsung command question
PostPosted: November 20th, 2011, 17:54 
Offline
User avatar

Joined: May 5th, 2004, 20:06
Posts: 2782
Location: England
You wont find anything OTS to do what you want. As Frank said, a simple com sw would do the trick :O)

_________________
All went well until I plugged the drive in.


Top
 Profile  
 
 Post subject: Re: Samsung command question
PostPosted: November 20th, 2011, 17:58 
Offline

Joined: November 1st, 2011, 11:25
Posts: 15
Location: Germany
Thanks, than I will write something to parse the logs I can produce with minicom.


Top
 Profile  
 
 Post subject: Re: Samsung command question
PostPosted: November 21st, 2011, 6:54 
Offline
User avatar

Joined: May 5th, 2004, 20:06
Posts: 2782
Location: England
The beauty of Linux.....

http://minicom.sourcearchive.com/


Source code. Now you can write some functions within minicom to do what you need. :D

_________________
All went well until I plugged the drive in.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 40 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group