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

APP gets watchdog reset only /w bootloader

I run LPC1768 (64K SRAM) with Unlink2 and legacy Keil 4.xx. I uses FreeRTOS.

App is loaded from 0x8000. Boot loader is loaded from 0x0000.
If I program App using Keil/Ulink2, the app runs fine.
If I program App and boot loader, there is unexpected watchdog reset sometimes.

1. What could cause this problem?
2. How to debug the problem? (If I run on debug, which means only app is programmed in processor and there is no watchdog reset)

Thanks

Parents
  • If I run on debug, which means only app is programmed in processor

    The key to this problem is that it doesn't actually have to mean that.

    It's possible to get both the bootloader and the main application into the chip for debugging. Hex files can be merged for flashing, debugger .ini scripts can flash two program images at the start of a debug session, and/or the bootloader program image can be linked into the application as an opaque blob by way of some scatter file gymnastics.

Reply
  • If I run on debug, which means only app is programmed in processor

    The key to this problem is that it doesn't actually have to mean that.

    It's possible to get both the bootloader and the main application into the chip for debugging. Hex files can be merged for flashing, debugger .ini scripts can flash two program images at the start of a debug session, and/or the bootloader program image can be linked into the application as an opaque blob by way of some scatter file gymnastics.

Children
No data