Data to fill into unused program space on ARM7.



Greetings.

I'm trying to find some genious data to fill into the unused FLASH space
in my project, so that a stray program counter would get caught and my
system would reset.
I'm thinking one of multiple solutions:

:o) Loop to current position and get caught by the watchdog

:o) Jump to reset vector

:o) An illegal opcode, that will generate an interrupt

:o) A software interrupt instruction

One problem with most of the solutions is that I'm using ARM and THUMB
instructions. A THUMB jump to the reset vector might mean something else in
ARM. The best solution would be to find some data that is illegal in both
ARM and THUMB. If for instance 0xDEAD is illegal for THUMB, and 0xDEADDEAD
is illegal for ARM, them my problem would be solved.

Does anybody have a suggestion?

Best regards
Michael


.



Relevant Pages

  • Re: Data to fill into unused program space on ARM7.
    ... I'm trying to find some genious data to fill into the unused FLASH space ... One problem with most of the solutions is that I'm using ARM and THUMB ...
    (comp.arch.embedded)
  • Re: Barring and guitar neck shape
    ... Hello Steve-I've been playing for 35 years and I use barred positions ... The thumb supplies leverage for whatever position your LH ... Use of gravity or arm weight ... To get the "feel" of using arm weight for barring, ...
    (rec.music.makers.guitar.jazz)
  • Re: interworking flag enabled for the Linker
    ... I find that there is a interworking flag that has to be enabled to ... Thumb code is that it is generally more compact, while the advantage of ARM ... make is which functions to compile to ARM to get optimal performance ...
    (comp.sys.arm)
  • Re: QUERY : ARM mode inline instructions in C Thumb mode file?
    ... one small question regarding use of ARM inline assembly code in a ... C file that has been compiled for Thumb mode. ... You should use a naked assembler function to stop the compiler from ...
    (comp.arch.embedded)
  • Re: exercise question
    ... forearm outside of simply playing? ... Try playing without the left thumb on the back of the neck. ... Can you feel the right forearm countering the pull of the left ... ask them to lift their right arm ...
    (rec.music.classical.guitar)