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

How to verify the Cortex-M0 thumb instructions ? I found one chip( RAM &FLASH is OK) when it run LDR relative instructions,the program is in Hardfault。But others run the same code is OK

Could you help me to solve the problem.Do  you have the code  to verify the thumb instruction ? If have,the code can check any  corner the functions of thumb instructions

Parents
  • Hi Andy,

    That's true. But as the question is about memory testing, I would expect the program would have enabled the memories before starting the test ;-)

    (Note: for memories it is less common for it to be disabled at start. e.g. imagine you want to place the stack at the top of the RAM and by default that memory range is disabled, your SystemInit and C startup code won't be able to run).

    regards,

    Joseph

Reply
  • Hi Andy,

    That's true. But as the question is about memory testing, I would expect the program would have enabled the memories before starting the test ;-)

    (Note: for memories it is less common for it to be disabled at start. e.g. imagine you want to place the stack at the top of the RAM and by default that memory range is disabled, your SystemInit and C startup code won't be able to run).

    regards,

    Joseph

Children
No data