Arm-elf-insight and STR9

Hello to everybody, I’m working with GNUARM, OpenOCD and STR9 microcontroller. I have some examples and they are compiled well. Since for these days I don’t have the board, I’m trying to debug them using the simulator present in Arm-elf-insight (it can’t use the peripherals, but it’s sufficient for now), it works well with all the examples I have for STR7 microcontrollers. But when I try to load a str9 example, instead of showing me the code of main.c file, it shows me vector.s file, that is one of the two startup files. If I use the “step into” and “step over” commands, it continues the execution but main.c is not showed. I don’t know if this is normal for STR9 and if when I have the board it could run properly, but it seems to me an anomalous condition, since for STR7 examples the simulator shows me main.c file and I think this has to happen also for STR9, isn’t it? Please help me, thanks in advance

l3golas

insight should work the same as the str7, one thing to watch though is the str9 usually has copro commands in the startup file, the simulator will cough when it sees these.

eg.

/* Set bits 17-18 (Instruction/Data TCM order) of the */

/* Core Configuration Control Register */

MOV r0, #0x60000

MCR p15, 0x1, r0, c15, c1, 0

Regards

Spen