Release Mode - .axf File and launch config Issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Release Mode - .axf File and launch config Issue

1,293 Views
amolborase
Contributor II

Hi Everyone,

Hope you all have good health and doing well...

We are currently working on PN7462 chip and MCUXpresso IDE v10.2.0. In release mode .axf file is not get created normally even very first, as it normally happens in debug mode. We try default as well as customised post build configs but .axf not generated.

Some of post build configs we tried are as follows:

arm-none-eabi-size "${BuildArtifactFileName}"
arm-none-eabi-objcopy -v -O ihex "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.hex"
checksum -p ${TargetChip} -d "${BuildArtifactFileBaseName}.hex"


arm-none-eabi-size "${BuildArtifactFileName}"
arm-none-eabi-objcopy -v -O binary "${BuildArtifactFileName}" "${BuildArtifactFileBaseName}.bin"
arm-none-eabi-objcopy -O ihex "${FileName}" "${FileBaseName}.bin"
arm-none-eabi-objdump --line-numbers --disassemble "${BuildArtifactFileName}" > "${BuildArtifactFileBaseName}-disassembly.txt"
checksum -p ${TargetChip} -d "${BuildArtifactFileBaseName}.bin"


One more Issue we are facing with launch config is that even below mention file already there, it creates another same config like NfcrdlibEx1_BasicDiscoveryLoop LinkServer ReleasePN7462AU(1).launch , Is there anything wrong ? Instead of updating previous config why creates another

NfcrdlibEx1_BasicDiscoveryLoop LinkServer ReleasePN7462AU.launch


Please reply as soon as possible.

Thank you & Regards
Amol

0 Kudos
5 Replies

1,261 Views
amolborase
Contributor II

Hello Ricardo,

Thank you for immediate response.

We are using NxpNfcRdLib v05.22.00 . We have still not tried MCUxpresso Version 11.02.0

Our problem gets resolved as we referred MCUXpresso User Guide. 

We have added this below command in post build configs. After adding this command,  .axf file automatically generated in a release mode, but it is not added into debug still .axf file is automatically generated ,don't know why ?

arm-none-eabi-nm -S --size-sort -s "${BuildArtifactFileName}".axf

We have one more question related to NXP NFC library  that Is NxpNfcRdLib v05.22.00 which we are using with MCUxpresso Version 10.02.0 can be used in MCUxpresso Version 11.02.0 ??

Thank you ,

Regards,

Amol Borase

 

0 Kudos

1,245 Views
nxf58474
NXP Employee
NXP Employee

Hi Amol,

 

About the Release Mode, I only modified the active build configuration, but it is good to know that you have solved it.

Release.png

 

Regarding your last question, I cannot test it, since that version is not available in the previous versions of the NFC Reader Library.

 

But I would recommend to use the latest version.

 

Regards,

Ricardo

0 Kudos

1,207 Views
amolborase
Contributor II

Hi Ricardo,

Sorry for late reply.

We have already set active configuration (release mode) and issue which we were facing was in release mode. But problem is already solved so thank you the support

 

 

0 Kudos

1,262 Views
amolborase
Contributor II

Hello Ricardo,

Thank you for immediate response.

We are using NxpNfcRdLib v05.22.00 . We have still not tried MCUxpresso Version 11.02.0

Our problem gets resolved as we referred MCUXpresso User Guide. 

We have added this below command in post build configs. After adding this command,  .axf file automatically generated in a release mode, but it is not added into debug still .axf file is automatically generated ,don't know why ?

arm-none-eabi-nm -S --size-sort -s "${BuildArtifactFileName}".axf

We have one more question related to NXP NFC library  that Is NxpNfcRdLib v05.22.00 which we are using with MCUxpresso Version 10.02.0 can be used in MCUxpresso Version 11.02.0 ??

Thank you ,

Regards,

Amol Borase

 

0 Kudos

1,272 Views
nxf58474
NXP Employee
NXP Employee

Hi Amol,

 

Hope you are doing well. What version of the NFC Reader Library do you have? Have you tried with the latest MCUXpresso IDE version (11.2.0)?

 

I have no problem with the latest versions of the Reader Library and MCUXpresso IDE. You can try with the PN7462AU_ex_phExMain projects, since this example uses LEDs and it is easy to know if it works correctly in release mode.

 

Best Regards,

Ricardo

0 Kudos