Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Targeted extraction, does such a think exist

Status
Not open for further replies.

wesleytaylor

Full Member level 5
Joined
May 1, 2014
Messages
284
Helped
29
Reputation
58
Reaction score
24
Trophy points
18
Activity points
2,671
Hello all,

I have a FPGA project which writes data to a compact flash.
The FPGA separates the into two types.

Identified by a hex chain
Datatype 1 = AAAA AAAA 4321 {timestamp} [data follows]
Datatype 1 = AAAA AAAA 1234 {timestamp} [data follows]

I recorded about 5 GB of data onto the Compact Flash. Then i extracted the data to a pc using dd and gzip command.

When i take this .gz file to a machine and decompress, it's about 32GB's (CF size)...where only the first chunk is relevant data.

Does anyone know how I can decompress & delete the later half of the file automatically?
I guess my other option is limiting the dd extract to only take the first chunk..however I don't know it's length until extracted?

Thanks,
Wes
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top