This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Debugger shows Invalid code Range

I am using C8051f120 mcu with code banking. My code size is around 90K. In my main function(which is in code bank common), I call a function residing in code bank 3. While debugging, when I step into that function (in code bank 3), debugger gives the warning "Invalid code range) and while exiting this function, the mcu gets reset. Can anyone help me as in why this warning is coming and how can I overcome this issue.

Parents Reply Children
No data