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

DAbt_Handler error but there is memory there

Hi All,

I'm trying to debug an LP2294 (using a ulink 2) with RTX and external SRAM.

Most (not all) of the time it won't reset but crashes with a DAbt_handler error.
So I look at R14 and it shows address 0x119FE inside the os_sys_manager: function.
Take away 8 and you get 0x119F4 and the instruction LDR R0,[PC, #0028].
So I count 40 (0x28) instructions I get 11A1C with a value DD 8105FA00.
Putting a break point there I see this code is called many times successfully

I have 1MB of SRAM memory at this location 0x81000000 so 0x8105FA00 is well within this.
The memory is set up in Startup_RTX.s correctly.
So I don't know why it is crashing like this when there is memory there?
What makes it stranger is the fact that it works sometimes?
I seem to remember a debugger delay being added but this is before it executes main().

Does anyone have any ideas?

Thanks

Parents Reply Children
No data