Tool/software:
Hi there,
regarding AM243, I wish to know where is _c_int00 defined. I wish to set certain pattern to stack and heap during boot.
Best regards,
Jinlong
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:
Hi there,
regarding AM243, I wish to know where is _c_int00 defined. I wish to set certain pattern to stack and heap during boot.
Best regards,
Jinlong
Hi Jinlong,
You can find it in boot_armv7r_asm.S file, path: {MCU_PLUS_SDK directory}/source/kernel/nortos/dpl/r5/boot_armv7r_asm.S
Best Regards.
Meet.
Could you please show the lines for start and end of stack, and start and end of heap? I wish to fill a pattern.
Hi Jinlong,
Heap you can initialize at the beginning of the application code.The stack is initialized in the boot_armv7r_asm.S, you can find the code for the same under the comment INITIALIZE THE SYSTEM MODE STACK:

Best Regards,
Meet.