[SOLVED] PC of target system has unexpected value of

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] PC of target system has unexpected value of

    Hi SEGGER team,

    I'm using uVision environment to develope simple application on LPC2148. I've started with really simple code to see how debugging works in uVision. Unfortunately, whenever I'm tring to go debug mode I got this error:

    ***JLink Warning: PC of target system has unexpected value of 0x40000000 after reset.

    Can you tell me when this bug occur? How to fix this? Where make the change?
    I've already tried adices from comment 5 in this thread:
    LPC3250 J-Link Error

    but it didn't change anything.


    Full console output from uVision:

    Device = LPC2148
    Info: Device "LPC2148" selected.
    VTarget = 3.272V
    Info: TotalIRLen = 4, IRPrint = 0x01
    Info: JTAG chain detection found 1 devices:
    Info: #0 Id: 0x4F1F0F0F, IRLen: 04, ARM7TDMI-S Core
    Info: Auto JTAG speed: 1000 kHz
    Info: Core does not stop after Reset, setting WP to stop it.
    ***JLink Warning: PC of target system has unexpected value of 0x40000000 after reset.
    DLL version V6.62c, compiled Feb 21 2020 17:43:19
    Firmware: J-Link EDU Mini V1 compiled Jan 7 2020 16:53:19
    Hardware: V1.00
    Hardware-Breakpoints: 2
    Software-Breakpoints: 8192
    Watchpoints: 0
    Found 1 JTAG device, Total IRLen = 4:
    Id of device #0: 0x4F1F0F0F
    ARM7 identified.
    JTAG speed: 1000 kHz
    Info: Core does not stop after Reset, setting WP to stop it.
    ***JLink Warning: PC of target system has unexpected value of 0x40000000 after reset.
    JTAG speed: 100 kHz
    Full Chip Erase Done.
    Programming Done.
    Verify OK.
    Info: Core does not stop after Reset, setting WP to stop it.
    ***JLink Warning: PC of target system has unexpected value of 0x40000000 after reset.
    JTAG speed: 100 kHz
    Application running ...
    Flash Load finished at 23:38:22