This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

8 Bytes of read write and excute

Hi
I'm trying to create some code that needs rwx, but only about 8 bytes. Is there any way to do this and how
Thanks

Parents
  • The processor is Cortex-M3, I've tried copying code instructions to 0x20000000 but when jumping to that address it throws a error,access violation of execute/read.
    In the linker option tried setting -rw-base 0x20000000 to -rwx-base 0x20000000 but it doesn't understand "x" or "e".

    On the memory map address 0x184-0x383 is rwx but can't copy, does it need to be in supervisor mode.
    Thanks

Reply
  • The processor is Cortex-M3, I've tried copying code instructions to 0x20000000 but when jumping to that address it throws a error,access violation of execute/read.
    In the linker option tried setting -rw-base 0x20000000 to -rwx-base 0x20000000 but it doesn't understand "x" or "e".

    On the memory map address 0x184-0x383 is rwx but can't copy, does it need to be in supervisor mode.
    Thanks

Children
No data