Hi,
I am using the Embedded Studio IDE for developing a flash loader utility for a new Cortex-M33 microcontroller. I have adapted the template project and added in details about flash array into it. I have implemented the Segger Open API functions like erase, program etc. The "elf" and "hex" file is generated successfully. However in the "map" file I can see absolute address of device SRAM being used for various sections of code and memory.
I want to generate position independent code, similar to Keil MDK flashloader utility.
Can I generate position independent code using Embedded Studio IDE and compiler?
Does Segger Open API support position independent code?
Can I use the generated code with the Segger JLink Plus debug probe?
Thanks
Radhika
I am using the Embedded Studio IDE for developing a flash loader utility for a new Cortex-M33 microcontroller. I have adapted the template project and added in details about flash array into it. I have implemented the Segger Open API functions like erase, program etc. The "elf" and "hex" file is generated successfully. However in the "map" file I can see absolute address of device SRAM being used for various sections of code and memory.
I want to generate position independent code, similar to Keil MDK flashloader utility.
Can I generate position independent code using Embedded Studio IDE and compiler?
Does Segger Open API support position independent code?
Can I use the generated code with the Segger JLink Plus debug probe?
Thanks
Radhika