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

EPM900 ICP for LPC936 not working

Hi,

I'm using an EPM900 board with a LPC936FA as the bondout chip. So far I have been using it in Emulation mode - running my code through Uvision debugger - but now I want to load my code onto the LPC936 Flash and run it directly, without using uVision.

I have two queries regarding this:
1. When I configure the board for programming, and press 'LOAD', I get the error:
*** Error: This is not P89LPC936 device.

2. Is there a way to run the code directly on power-on without using uVision?

I have consulted the following threads before posting this and I have tried all the settings and configurations posted, but I keep getting the same error. - http://www.keil.com/support/docs/2648.htm - http://www.keil.com/support/docs/3204.htm

The second link given above, displays a timing diagram of the voltages expected to switch to ICP mode. I checked these voltages and what I got was 3 pulses of 2.75V each of width 12ms at intervals of 275ms on the RESET pin (P1.5). This is totally different from what is expected, so now I have no clue what's happening.

Hope someone can help.
Thanks,
Avinash Sastry

  • To enter ICP mode, the device under program needs power cycling. The EPM900 switches the power on and off for the target cpu. If the device located in the circuit with power supply decoupling caps, this might prevent entering ICP mode correctly.

    Do you use an pin-pin adapter or are you programming the LPC936 in circuit via ICP?

    Franc

  • Hi Franc,
    Thanks for the reply.
    I'm not using an adapter. The LPC936 is the bondout chip that has been given with the board. I want to load my code onto this chip but it doesn't seem to allow that.

    Thanks,
    Avinash

  • Oh I see now. You would like to program the bondout fited into the bondout socket of EPM900.

    Unfortunatelly this is not possible. The bondout chip already contains a boot loader. This loader allows uVision to download the emulating or programming firmware into the on-board 32kb SRAM. Your application (emulated code) is also loaded into SRAM and executed from there. If you would like to test your application without uVision, you need to flash the target cpu with the code (but not the bondout chip), and insert the cpu into the circuit.

    Franc

  • Hey Franc,

    Thanks, maybe I'll try that.

    Avinash