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
Hi Erik, is there a way to get the code that is located at 0FF00h (LPC935) TIA Bernhard 'Gustl' Bauer
Philips has not yet posted these for general consumption, but plan to do so in the near future. However Grant got it from them and posted it. http://www.8052.com/users/grantbt/LPC_ISP_8K_V04.a51 Is this the current revision? I have no idea. Erik
Oh by the way Bill posted: When I saw this, I mentioned it to my boss who then admitted that he arranged for its publication on another forum. He explained that anytime you publish source code you run the risk of it generating questions from people who want to modify it for their own needs. So you need to make sure you have the technical resources available to support it. This is the reason why it hasn't been published in other channels. But he felt that user forums usually have highly experienced people who are quite capable of handling the issues on their own and will also help less experienced members of the forum. So, use it, but please do not bugger them with it. I hate to post things like this which may cause a barrage of questions to the person I am quoting, so PLEASE DO NOT BUGGER BILL! It may be more likely to generate answers if questions are posted at the FlashMagic forum. Erik
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