Generate a binary program with DAVE 4

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
gachetp
Level 2
Level 2
10 replies posted 25 sign-ins 10 questions asked
 

Hello, 

I would like to generate a binary program with DAVE 4 in order to calculate the CRC32 of my project.

what I do : 

gachetp_0-1648472655963.png

 

gachetp_1-1648472655827.png

 

Then, I build project to generate .bin, but In folder Release I just have .lst and not .bin

How can I have this file ? 

Already thank you,

Pierre Gachet

0 Likes
1 Solution
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi @gachetp ,

>>That means in debug we are not able to generate binary ?

We can generate a binary file in debug mode also.

Alakananda_BG_0-1648613995502.png

Please follow the steps mentioned in the previous responses after you change the configuration.

Regards,

Alakananda

View solution in original post

0 Likes
10 Replies
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi @gachetp ,

You can find the .bin files under the release section in your project.

I have attached an image below for reference.

Alakananda_BG_0-1648535191585.png

Regards,

Alakananda
0 Likes

Hi @

thank you for your reponse, but I don't have the file .bin in my folder. it's why I ask ...

gachetp_0-1648535681049.png

I don't have in Dave, so I look directly with the cmd to see if the file is cached.

gachetp_1-1648535775050.png

But it is not present here also.

gachetp_2-1648536544090.png

I have the impression that the .bin is not generated.

 

0 Likes
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi @gachetp ,

Can you check if you have the same command line pattern.

Alakananda_BG_0-1648541348058.png

Regards,

Alakananda
0 Likes

Hi @Alakananda_BG ,

gachetp_0-1648541496705.png

Yes I have the command line but I change some parameters :

  • ${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX} ${OUTPUTS}

Into

${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX} ${ProjName}.bin ${INPUTS}

it is correct to do that ? 

gachetp_1-1648541616474.png

 

 I also put binary for output.

Thank you for your time you spend with me, 

I appreciate, 

Best Regards, 

Pierre Gachet.

 

0 Likes
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi @gachetp ,

Can you use the same command line pattern as below and try

${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}

Regards,

Alakananda
0 Likes

Hi @Alakananda_BG

 

I just try and it change no thing. I don't find file .bin in the folder Release ... It's inapprehensible ....

Pierre.

0 Likes
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi @gachetp ,

Can you share your project so that we can fix the issue and send it.

Regards,

Alakananda
0 Likes
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi @gachetp ,

Can you use the latest version of DAVE IDE and try at your end.

Regards,

Alakananda
0 Likes

Hi @Alakananda_BG , 

I find the solution. Thank you for all your information.

So I download the last version of DAVE 4.5 but it change nothing. My problem is that I create a new  configuration : 

gachetp_0-1648556641375.png

but when I configure I choose Existing configuration : debug

gachetp_1-1648556717033.png

Now I use release, to copy the config and it's worked. That means in debug we are not able to generate binary ?

 

Thank you for your help, 

Best Regards, 

Pierre Gachet.

0 Likes
Alakananda_BG
Moderator
Moderator
Moderator
50 likes received 250 sign-ins 250 replies posted

Hi @gachetp ,

>>That means in debug we are not able to generate binary ?

We can generate a binary file in debug mode also.

Alakananda_BG_0-1648613995502.png

Please follow the steps mentioned in the previous responses after you change the configuration.

Regards,

Alakananda
0 Likes