How to browse files inside a single board embeded computer?

Thread Starter

Agoo

Joined Sep 23, 2022
5
Hello, We are using a device with a single board computer embeded inside. It has a usb and rs232 ports for its PC software to comunicate with the device for data transfer. I want to browse files and directories inside this computer. I tried ActiveSync and windows device mobile center but my PC did not detect the device and I couldn't sync. Any way for doing this? or any software I can find for this?

thx
 

geekoftheweek

Joined Oct 6, 2013
1,215
Most times there are not any files to browse. The files you upload are actually stored as sections of memory and not files in the normal sense. If there are any type of file functions they will be listed in the board programming reference. It may be possible to dump memory using your programming software.
 

Sensacell

Joined Jun 19, 2012
3,447
Simple embedded systems often have no operating system whatsoever - just code running from a bank of ROM.

The concept of "Files" is not even relevant in this situation.
 

Thread Starter

Agoo

Joined Sep 23, 2022
5
Still it is OK if I could be able to read the code and inspect it and write it back. Is this possible? How?
 

Sensacell

Joined Jun 19, 2012
3,447
Still it is OK if I could be able to read the code and inspect it and write it back. Is this possible? How?
Find the part number of the processor and learn how it's programmed and verified.
Lots of processors "code protect" the firmware making it almost impossible to "read out" the code - for obvious reasons.
 

Thread Starter

Agoo

Joined Sep 23, 2022
5
Device software has an option which can read information I need and display these information on the computer monitor but there is no way of saving these info into a file. I want to save these information in a file as a backup and keep it for the future when device needed repair and loading these info into the device again.

I also tried to log info via "serial port monitor" when I use this option to read the information. This was successful and I can see information I need are there.

I can connect to the device via rs232. I am looking for a way to send commands to the device to read info from a certain address of the memory and to be able to write it back into the same address. I think I can find the address of the info I want from "serial port monitor" log. Now I need to find a tool to be able to read info from that address in binary and write back using the same tool into the same address. Is this possible? If so what tools are out there to help me with this?
 

Thread Starter

Agoo

Joined Sep 23, 2022
5
Device software uses IRP_MJ_READ command to read info I want (see attached log). May be I can use IRP_MJ_READ and IRP_MJ_write commands to read and write info I want directly. Any advice in this?

103 IRP_MJ_READ - Transfers data from a COM port to a client (COM4) - 349 bytes of 349
STATUS_SUCCESS
05 90 0c 00 e8 a1 50 01 00 00 5c 01 f6 00 04 00 ...è¡P...\.ö...
00 00 60 01 f6 00 2c 01 00 00 8c 02 f6 00 04 00 ..`.ö.,...Œ.ö...
00 00 90 02 f6 00 7c 00 00 00 0c 03 f6 00 a4 1f ...ö.|.....ö.¤.
00 00 b0 22 f6 00 a4 1f 00 00 54 42 f6 00 94 11 ..°"ö.¤...TBö.”.
00 00 e8 53 f6 00 20 0a 00 00 08 5e f6 00 08 07 ..èSö. ....^ö...
00 00 10 65 f6 00 c0 12 00 00 d0 77 f6 00 b0 04 ...eö.À...Ðwö.°.
00 00 80 7c f6 00 c4 09 00 00 44 86 f6 00 4c 04 ..€|ö.Ä...D†ö.L.
00 00 90 8a f6 00 b0 04 00 00 40 8f f6 00 34 08 ..Šö.°...@ö.4.
00 00 74 97 f6 00 4c 04 00 00 c0 9b f6 00 4c 04 ..t—ö.L...À›ö.L.
00 00 0c a0 f6 00 b8 0b 00 00 c4 ab f6 00 48 00 ... ö.¸...Ä«ö.H.
00 00 0c ac f6 00 0c 00 00 00 18 ac f6 00 10 0e ...¬ö......¬ö...
00 00 28 ba f6 00 10 0e 00 00 38 c8 f6 00 10 0e ..(ºö.....8Èö...
00 00 48 d6 f6 00 0c 00 00 00 54 d6 f6 00 80 04 ..HÖö.....TÖö.€.
00 00 d4 da f6 00 e0 01 00 00 b4 dc f6 00 a4 1f ..ÔÚö.à...´Üö.¤.
00 00 58 fc f6 00 e8 03 00 00 40 00 f7 00 80 00 ..Xüö.è...@.÷.€.
00 00 c0 00 f7 00 10 00 00 00 d0 00 f7 00 0c 00 ..À.÷.....Ð.÷...
00 00 dc 00 f7 00 0c 00 00 00 e8 00 f7 00 60 03 ..Ü.÷.....è.÷.`.
00 00 48 04 f7 00 b0 01 00 00 f8 05 f7 00 a4 1f ..H.÷.°...ø.÷.¤.
00 00 9c 25 f7 00 04 00 00 00 a0 25 f7 00 10 0e ..œ%÷..... %÷...
00 00 b0 33 f7 00 0c 00 00 00 bc 33 f7 00 ac 0d ..°3÷.....¼3÷.¬.
00 00 68 41 f7 00 a8 00 00 00 10 42 f7 00 a4 1f ..hA÷.¨....B÷.¤.
00 00 b4 61 f7 00 8c 00 00 00 f0 60 92 ..´a÷.Œ...ð`’
 
Top