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

MCB900: LPC935 IAP entry point

Hi,

I'm using IAP. According to the LPC935 manual the entry point is 0FF03h. When I simulate this with the debugger this does not work. According to the disassembly window an entry point of 0FF00h should work. But it does not. I've had a look at the LPC_ISP_*.a51 files which use IAP calls too. There is a entry point of 0FF00h too, but not with the LPC935. I selected device P89LPC935 at my project. Any idea what can be wrong?

I've tried to ask this question to Keil technical support, but it was not possible because MCB900 does not have a serial number :-(

TIA

Bernhard 'Gustl' Bauer

Parents
  • Thanks Erik,

    but this is not what I'm looking for. This is the code located in 1E00h. I already had that one. I was looking for the one in the bootrom 0FF00h.

    I don't want to bother Bill, but I think there is an error in it. This is the part:

    PROGRAM:
    MOV R3,NBYTES
    MOV A,R3
    JZ EOF
    MOV R5,ADR0
    MOV R4,ADR1
    MOV R7,#DBYTES
    MOV A,#PGMU
    EXEC: MOV R0,#KEY
    MOV @R0,#KEYVAL
    CLR F1
    MOV FMCON,#SET_WE
    MOV FMDATA,@R0
    CALL PGM_MTP
    JB F0,ERROR

    The LPC935 user manual says to check carry for errors, but he checks F0!

    Thats another reason why I'd like to get the bootrom code.

    Gustl

Reply
  • Thanks Erik,

    but this is not what I'm looking for. This is the code located in 1E00h. I already had that one. I was looking for the one in the bootrom 0FF00h.

    I don't want to bother Bill, but I think there is an error in it. This is the part:

    PROGRAM:
    MOV R3,NBYTES
    MOV A,R3
    JZ EOF
    MOV R5,ADR0
    MOV R4,ADR1
    MOV R7,#DBYTES
    MOV A,#PGMU
    EXEC: MOV R0,#KEY
    MOV @R0,#KEYVAL
    CLR F1
    MOV FMCON,#SET_WE
    MOV FMDATA,@R0
    CALL PGM_MTP
    JB F0,ERROR

    The LPC935 user manual says to check carry for errors, but he checks F0!

    Thats another reason why I'd like to get the bootrom code.

    Gustl

Children
No data