I'm trying to use c++ on an STM32 device compiling with gcc. The device loads the code and start executing it but hard faults on any member variable w ...
I'm trying to use c++ on an STM32 device compiling with gcc. The device loads the code and start executing it but hard faults on any member variable w ...
I'm trying to move interrupt vector to DTCMRAM. The test code is simple blinking LED by timer interrupt. There I've changed load adress of .isr_vector ...
I want to know the exact difference between two: Note that this exist for others like .bss, .rodata .etc, what about them? I know .text is the code ...
I am writing a utility that needs to test specific memory region. I need something similar to linux's mmap routine but without linking any libraries. ...
I need the usage of a certain #define value from a header into an icf file. Consider this, I have a line in a certain header file like this. #define ...
I am trying to add a section (in addition to predefined ones). I want the section to be RWX. What I have so far is: I use the -T linker option. I ...
I used IDA Pro to disassemble an existing software running on a Motorola 68K CPU. The output of IDA is a disassembly that follows the MRI notation. I ...
I'm trying to target a flat file for the output of my code, where I don't want PHDR. But it seems no matter how I set things up, in modern GCC version ...
Basically, before linking is performed, I would like to convert a GCC linker script template file into a final linker script, as discussed in Can I us ...
I have had this happen before and worked around it for a while but now it slowly becomes more and more unavoidable, because now I need them. For some ...
I have an embedded C application which is developed using the CrossWorks for ARM toolchain. This project targets a specific processor which is gettin ...
I am trying to execute a simple code from RAM, but for some reason the program halts/throws hard fault. I am using CCMRAM for my data, heap and stack ...
I have a problem with linking class to specific memory region via Linker Script I've figure out how to link variables and functions that are out of t ...
I have this linker.ld where I want to remapped ram. What is the difference between adding the linker like this: vs. The first one I get an wa ...
I can't found the specific definition or any explanation about the linker notation "ROM_NOCOPY" shows in the following ld files snippets, In my hum ...
In linker scripts, I can get the LMA of a section like this When I use or it will give the VIRTUAL memory address. Where I thought the ABSOLU ...
I have some initialized data that I store in the .data section. Then I use uninitialized address space using the .bss section. I have the DTCM enabled ...
I am trying to move a library to a designated portion in flash memory. I do this as follows: When I put this AFTER my main section, it yields noth ...
I have an array of structs that I need to initialize at compile-time (no memset) to 0xFF. This array will be written as part of the program over erase ...
I have a huge DDR memory (2GB) with huge access time and tiny internal RAM (1MB) with tiny access time. At this moment I have whole .bss section in DD ...