Switch to full style
In-depth technology research: finding new ways to recover data, accessing firmware, writing programs, reading bits off the platter, recovering data from dust.

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 a reply

Samsung command question

November 19th, 2011, 14:05

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

Re: Samsung command question

November 20th, 2011, 2:40

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?

Re: Samsung command question

November 20th, 2011, 3:14

exactly :roll: it makes no sense

Re: Samsung command question

November 20th, 2011, 9:08

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.

Re: Samsung command question

November 20th, 2011, 12:26

Still makes ABSOLUTELY no sense and most of all NO USE to me too 8).

Re: Samsung command question

November 20th, 2011, 15:37

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 ...

Re: Samsung command question

November 20th, 2011, 16:57

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.

Re: Samsung command question

November 20th, 2011, 17:54

You wont find anything OTS to do what you want. As Frank said, a simple com sw would do the trick :O)

Re: Samsung command question

November 20th, 2011, 17:58

Thanks, than I will write something to parse the logs I can produce with minicom.

Re: Samsung command question

November 21st, 2011, 6:54

The beauty of Linux.....

http://minicom.sourcearchive.com/


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