Hi,
First of - thank you for a great product!
I'm having issues with one of my projects using the
Using the following project file (Modified Ozone_Automation_Demo_ST_STM32F407.zip)
Display All
3.20d console output:
...
Break.Set (0x08008260);
Break.SetCommand ("0x08008260", "OnBPHit");
Break.SetCommand ("0x08008260", "OnBPHit"): Breakpoint not set: 0x08008260
File.Open: completed in 111 ms
3.20c console output:
...
Break.Set (0x08008260);
Break.SetCommand ("0x08008260", "OnBPHit");
File.Open: completed in 172 ms
Best regards,
Rune
First of - thank you for a great product!
I'm having issues with one of my projects using the
Break.SetCmdOnAddr
function. In 3.20c it works fine, but in 3.20d and onwards the callback is not added to the breakpoint.Break.SetCommand
works as expected.Using the following project file (Modified Ozone_Automation_Demo_ST_STM32F407.zip)
C Source Code
- void OnProjectLoad (void) {
- Project.SetDevice ("STM32F407IE");
- Project.SetHostIF ("USB", "");
- Project.SetTargetIF ("SWD");
- Project.SetTIFSpeed ("4 MHz");
- Project.AddSvdFile ("Cortex-M4.svd");
- Project.AddSvdFile ("STM32F407IG.svd");
- Project.AddPathSubstitute("C:/Work/TestProjects/J-Trace_PRO_CortexM_Tutorial/Start", "$(ProjectDir)");
- Project.AddPathSubstitute("c:/work/testprojects/j-trace_pro_cortexm_tutorial/start", "$(ProjectDir)");
- File.Open ("./Output/Debug NoOS NoSystemInit/SEGGER Cortex-M Trace Reference Board.elf");
- Debug.SetResetMode(RM_RESET_AND_RUN);
- Break.Set(0x8008260);
- Break.SetCmdOnAddr(0x8008260,"OnBPHit");
- }
- void OnBPHit(void) {
- Util.Log("---BP hit!---");
- }
3.20d console output:
...
Break.Set (0x08008260);
Break.SetCommand ("0x08008260", "OnBPHit");
Break.SetCommand ("0x08008260", "OnBPHit"): Breakpoint not set: 0x08008260
File.Open: completed in 111 ms
3.20c console output:
...
Break.Set (0x08008260);
Break.SetCommand ("0x08008260", "OnBPHit");
File.Open: completed in 172 ms
Best regards,
Rune