Hi,
I have a jlink mini edu and an arduino due which is a SAM3X8E. I created a project in MicroChip Studio, compiled the file with DEBUG and loaded the elf into ozone, additionally I linked the source file and I am able to track the programs function(sort of) in the source file.
I am having an issue where single steps do not work and the program only halts at function calls, additionally I can only add break points to function calls. I cannot add break points to any other line type. According to system variables breakpoints of any type are permitted.
I can enter the disassembly and engage in single step, but I cannot single step through the C program.
Any idea what is going on?
edit:
I tried loading the example project in embedded studio and it behaves correctly, there must be something wrong with the compiler/gdb settings when using microchip studio - any ideas?
I have a jlink mini edu and an arduino due which is a SAM3X8E. I created a project in MicroChip Studio, compiled the file with DEBUG and loaded the elf into ozone, additionally I linked the source file and I am able to track the programs function(sort of) in the source file.
I am having an issue where single steps do not work and the program only halts at function calls, additionally I can only add break points to function calls. I cannot add break points to any other line type. According to system variables breakpoints of any type are permitted.
I can enter the disassembly and engage in single step, but I cannot single step through the C program.
Any idea what is going on?
edit:
I tried loading the example project in embedded studio and it behaves correctly, there must be something wrong with the compiler/gdb settings when using microchip studio - any ideas?
The post was edited 2 times, last by Blunk ().