Tool/software:
I have used bit fields in my program on the F29H85x CPU2. When configure to flash build, the following warning is thrown. How can I resolve this issue?
Thanks and Regards,
Shashank
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
I have used bit fields in my program on the F29H85x CPU2. When configure to flash build, the following warning is thrown. How can I resolve this issue?
Thanks and Regards,
Shashank
Hi Shashank,
Can you send a copy of your linker cmd file and generated .map file for this project?
Kind regards,
Skyler
Hi Skyler,
I am unable to access the .map file because our PC is not connected to the internet. Is there anything specific I should check or try in this case?
Thanks and Regards
Shashank
Hi Shashank,
Where are these output sections being mapped to?
Kind regards,
Skyler
Hi Shashank,
Okay, let me reassign this thread to the correct expert and they will be able to assist you in the next day.
Kind regards,
Skyler
Hi Shashank,
Any reason you are using the RAM autoinitialization model, instead of ROM model?
Regards,
Samritha
Hi Samritha,
1. For cpu2, it doesn't have access to flash, its code should be run from RAM itself, I am loading program into FLASH and running it from RAM.
2. What is RAM Auto initialisation?
Regards,
Shashank
I am using bit fields to initialise the peripherals.Those peripherals are shown in warning initialised using bit fields.
I think it is default setting, I am getting that warning when I built program in Flash Build configuration.
Samritha,
I am used bit fields to initialize the Cpu Timer0 in CPU2, changed to ROM model, which making Cpu2 execute autoinit.h how to resolve this issue.
Can you share which example you are seeing the default to be ram_model if it is from our F29H85x-SDK.
Are you creating a single .out file, like in the SDK?
Please share more details about the issue in CPU2.
Regards,
Samritha
Samritha,
This is the multi-core empty project(not from SDK).
It is creating cpu1 .out which includes cpu2 .out and cpu3 .out file.
in Flash Build Configuration it is deleting cpu3 .out file
I am used bit fields to program Pipe, timer, EPWM and adc modules
Which are highlighted in generated warning.
Project run time environment is in - RAM model.
Cpu2 is executing functions in autoinit.h file. What it means, and how to resolve this issue?
Thanks, Regards
Shashank
What do you mean by executing functions in autonint.h file ? Can you elaborate.
Also, share the error if you are getting any.
Regards,
Samritha
Yes, you are right.
It is not generating any error, (CPU2 is executing functions in autoinit.h file).
Regards,
Shashank
Ok, what is the issue you are facing?
Can you provide more details about the autoinit.h functions you see.
Regards,
Samritha
Hi,
Now not facing the issue,
Thanks and Regards,
Shashank
Hi,
Do let us know the scenarios in which you are facing the issue. I could not reproduce it for now.
Please go through this page to know more about the Initialization models. 6.3. Run-Time Initialization — C29 Clang Compiler Tools User's Guide
Regards,
Samritha