Tommy Murphy

Results 133 comments of Tommy Murphy

Hi @fcuzzocrea - thanks for the reply and clarifications. > Sadly I have a custom setup to work without the need of softconsole, just using cli tools, but yeah, I...

> While from GDB > > ``` > trap_from_machine_mode (regs=, > dummy=, > mepc=) at ../../ext/pfsoc_platform/mpfs_hal/common/mss_mtrap.c:755 > 755 i++; /* added some code as SC debugger hangs if in loop...

BTW - probably related to the DWARF messages but this looks wrong because the `e51()` function is almost certainly **not** in that header file if you are using the PolarFire...

Did you debug the code to see what exception/fault is occurring and where? That's what I would do regardless of the fact that the program runs ok on one scenario...

> Alright, will dig more into my code and report back. You don't need to dig into the code to get the exception type. Just Ctrl-C break into the program...

You do not need to put a breakpoint at `_start`. After loading the program and using `thread apply all set $pc=_start` the program is ready to run and you should...

Normally you could do `compare-sections` in GDB to check the contents of memory against your local ELF file but (a) my recollection is that the Microchip OpenOCD script is not...

> No, actually I didn't checked the content of the LIM to check if there is what I am expecting (I used to do this with Lauterbach Trace32, GDB is...

One thing that I noticed: > Start address 0x0000000008000000, load size 159576 > ... > (gdb) b _start > Breakpoint 1 at 0x8000008 Is this correct? I.e. is your program...

I don't really understand why you have, once again, ignored my suggestion that you debug the program execution from 0x08000000 through the startup code to the point at which the...