Author Topic: No source available...  (Read 6274 times)

intern

  • Guest
No source available...
« on: August 29, 2012, 01:14:49 PM »
Hi

i am trying to debug uTaskerv1.4.11 in codewarrior but everytime i try the debugging starts normal but a few steps in the it begins to say No source.
When i step over or into i just get new ones.
Here i the ones i get:
No source available for "0x080F0000 (0x080F0000)() "
No source available for "(AsmSection)() "
No source available for "0x48082010 (0x48082010)() "
No source available for "0x2E200B7A (0x2E200B7A)() "

I am not sure which source the are about.
i have attach two of them if that helps.
i am using a MCF5225 if that has anything to do with this.


Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3236
    • View Profile
    • uTasker
Re: No source available...
« Reply #1 on: August 29, 2012, 01:41:36 PM »
Hi

This is probably the watchdog.

When debugging make sure that you disable the watchdog otherwise it will reset the device after a few seconds when stepping code and cause strange things to happen with the debugger.

Check the macro for your target (in app_hw_kinetis.h)
eg.
#define WATCHDOG_DISABLE()      (!_READ_PORT_MASK(E, SWITCH_2))        // pull this input down to disable watchdog (hold switch 2 at reset)

There is usually an input that can be help in a particular state to disable the watchdog when debugging. Otherwise set to 1 so that it is always disabled.

Be careful if you use a device with backup watchdog timer [#define BACKUP_WATCHDOG_TIMER] (rather than core watchdog) since this watchdog continues to run after a reset. To stop it after it has once been configured a power cycle is required.

Regards

Mark