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

ULINK2 problems in Debug

Hi to everyone.

I've recently bought uVision 3.04 and uLink2 in order to develop an application with NXP LPC2366.

I use GCC compiler version 3.3.1.

Now I have developed a very simple application, in order to check if debug works.

The project builds correctly.

Ulink2 is correctly found by the computer, and its clock is set to RTCK.

When I try to enter in debug mode, I see the debugger delete the flash, and when it tries to write the code in the flash, the following message appear: "memory mismatch". Other timer appears "Flash timeout. Reset the target and try again".

Anyone could help me to find the solution?

I'm going crazy!

Thank you very much in advance,

A

Parents
  • Hi andy,
    and thank you for your reply.

    I've checked memory settings, they seems to be OK for Philips LPC2366:

    CODE START 0x00000000
    CODE SIZE 0x00040000

    DATA START 0x40000000
    DATA SIZE 0x00008000

    Program algorithm: LPC2000 IAP2 256kB Flash,
    starting at 0x00000000, size 0x0003FFFF.

    One think: I'm not using a MBC2300 ev board, but a self-designed board. This board is substantially identical to MBC2300, and I've checked it may times in order to check if there were mistakes on it...

    Thank you very much.

Reply
  • Hi andy,
    and thank you for your reply.

    I've checked memory settings, they seems to be OK for Philips LPC2366:

    CODE START 0x00000000
    CODE SIZE 0x00040000

    DATA START 0x40000000
    DATA SIZE 0x00008000

    Program algorithm: LPC2000 IAP2 256kB Flash,
    starting at 0x00000000, size 0x0003FFFF.

    One think: I'm not using a MBC2300 ev board, but a self-designed board. This board is substantially identical to MBC2300, and I've checked it may times in order to check if there were mistakes on it...

    Thank you very much.

Children