Breakpoint at main function after Loading Code

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Breakpoint at main function after Loading Code

Jump to solution
477 Views
sebasira
Senior Contributor I

Hi all!

 

When code is loaded to the MCU, it runs until main function and then halt there.... Well, I don't know what I've change, it doesn't do it anymore... If I recall correctly it was related to .ini file.

 

I'm using CW 4.6

 

Thanks!

Labels (1)
0 Kudos
1 Solution
267 Views
CrasyCat
Specialist III

Hello

 

   Can you try the following:

      - Start debugging the usual way

      - In Hi-WAVE debugger select File > Configuration

      - Switch to the Load tab.

      - Make sure Run after Successful load is checked

      - Check Stop at Function and specify main in the edit box.

      - Select File > Save Configuration     

      -Close the debugger and restart it. Application should run to main.

 

 

CrasyCat

View solution in original post

0 Kudos
2 Replies
268 Views
CrasyCat
Specialist III

Hello

 

   Can you try the following:

      - Start debugging the usual way

      - In Hi-WAVE debugger select File > Configuration

      - Switch to the Load tab.

      - Make sure Run after Successful load is checked

      - Check Stop at Function and specify main in the edit box.

      - Select File > Save Configuration     

      -Close the debugger and restart it. Application should run to main.

 

 

CrasyCat

0 Kudos
267 Views
sebasira
Senior Contributor I

Thank you very much CrasyCat! That solve my problem!

0 Kudos