PULP Community
HEX Files - Printable Version

+- PULP Community (https://pulp-platform.org/community)
+-- Forum: PULP's Community forum (https://pulp-platform.org/community/forumdisplay.php?fid=1)
+--- Forum: PULP General questions (https://pulp-platform.org/community/forumdisplay.php?fid=2)
+--- Thread: HEX Files (/showthread.php?tid=143)



HEX Files - mahalakshmir.ma - 11-25-2019

Hi,

In PULPino environment there are some HEX Files getting generated while i tried to run testcase. So my query is where the conversion from C to HEX file is taking place (code & path). 

thanks in advance.

(11-25-2019, 07:10 AM)mahalakshmir.ma Wrote: Hi,

In PULPino environment there are some HEX Files getting generated while i tried to run testcase. So my query is where the conversion from C to HEX file is taking place (code & path). 

thanks in advance.

PULPino environment - https://github.com/pulp-platform/pulpino


RE: HEX Files - kgf - 11-25-2019

If memory serves correct, the C compiler generates an S19 file
https://en.wikipedia.org/wiki/SREC_(file_format)

Then we use Python/Perl scripts to massage it in the format we want, there are several scripts, not sure which is the one that is actually in use:
https://github.com/pulp-platform/pulpino/tree/master/sw/utils


RE: HEX Files - mahalakshmir.ma - 11-26-2019

(11-25-2019, 07:31 AM)kgf Wrote: If memory serves correct, the C compiler generates an S19 file
 https://en.wikipedia.org/wiki/SREC_(file_format)

Then we use Python/Perl scripts to massage it in the format we want, there are several scripts, not sure which is the one that is actually in use:
 https://github.com/pulp-platform/pulpino/tree/master/sw/utils

thanks for your response


RE: HEX Files - mahalakshmir.ma - 11-26-2019

Hi

can anyone help me to find the exact conversion logic (c file to hex file) while running the testcases. I need to know how the slm_files are created for data and instruction memory (from c to hex) conversion logic (code).

PULPino environment - https://github.com/pulp-platform/pulpino

Thankyou


RE: HEX Files - mahalakshmir.ma - 11-26-2019

(11-26-2019, 01:42 PM)mahalakshmir.ma Wrote: Hi

can anyone help me to find the exact conversion logic (c file to hex file) while running the testcases. I need to know how the slm_files are created for data and instruction memory (from c to hex) conversion logic (code).

PULPino environment - https://github.com/pulp-platform/pulpino

Thankyou

priority:urgent



RE: HEX Files - mahalakshmir.ma - 11-28-2019

(11-26-2019, 04:04 PM)mahalakshmir.ma Wrote:
(11-26-2019, 01:42 PM)mahalakshmir.ma Wrote: Hi

can anyone help me to find the exact conversion logic (c file to hex file) while running the testcases. I need to know how the slm_files are created for data and instruction memory (from c to hex) conversion logic (code).

PULPino environment - https://github.com/pulp-platform/pulpino

Thankyou

priority:urgent

Can anyone kindly respond for it.