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

Application won't start

Hi,
I'm trying to port and older RTX project which uses external SDRAM.
But before it gets to main() I'm getting an Undef_handler error.
When I single step I find that the error occurs at a specific point (address 0x2A4 below) at a DD instruction?
I though DD instructions were just data tables and not executed?
This does not happen on the demo code that uses the same setup files hardware etc however there is more memory used.
The only difference I can see is the DD value at 0x2A4 is 0xA0044DD0
Memory is tested and working OK.

Any ideas please.

1498: ; User Initial Stack & Heap 1499: AREA |.text|, CODE, READONLY 1500: 1501: IMPORT __use_two_region_memory 1502: EXPORT __user_initial_stackheap 1503: __user_initial_stackheap 0x0000026C E24DA050 SUB R10,R13,#0x00000050 1504:
0x0000026C E24DA050 SUB R10,R13,#0x00000050
0x00000270 E01FC000 DD 0xE01FC000
0x00000274 00FF7FFF DD 0x00FF7FFF
0x00000278 FFE08000 DD 0xFFE08000
0x0000027C E002C000 DD 0xE002C000
0x00000280 05010115 DD 0x05010115
0x00000284 55555555 DD 0x55555555
0x00000288 50055555 DD 0x50055555
0x0000028C 00000303 DD 0x00000303
0x00000290 00080280 DD 0x00080280
0x00000294 0015F900 DD 0x0015F900
0x00000298 00000183 DD 0x00000183
0x0000029C 002BF200 DD 0x002BF200
0x000002A0 00000103 DD 0x00000103
0x000002A4 A0044DD0 DD 0xA0005340 0xA0044DD0 __main:
0x000002A8 EB000000 BL __scatterload_rt2(0x000002B0)
0x000002AC EB00005B BL __rt_entry_sh(0x00000420) __scatterload_rt2:
0x000002B0 E28F002C ADD R0,PC,#0x0000002C

0