| ??? 07/13/04 19:41 Read: times |
#74192 - RE: NoTouch for LPC935 Responding to: ???'s previous message |
Lex,
Good work, but there are a few 'asm done in C' things in your code that I have clared up You, of course, retain the authorship. Please post it at www.esacademy.com to have it included in the code library there.
NAME NOTOUCH935
PGM_MTP EQU 0FF03H
?PR?no_touch935?NOTOUCH935 SEGMENT CODE
PUBLIC no_touch935
; void no_touch935(){
RSEG ?PR?no_touch935?NOTOUCH935
no_touch935:
push ie
clear EA
mov R0, #0FFH ;IAP authorization key first
mov @R0,#96H
mov A, #02
mov R5,#01 ;write BOOTSTAT with 01H
mov R7,#03
lcall PGM_MTP
pop ea
RET
; }
; END OF no_touch935
END
Erik |
| Topic | Author | Date |
| NoTouch for LPC935 | 01/01/70 00:00 | |
| RE: NoTouch for LPC935 | 01/01/70 00:00 | |
| RE: NoTouch for LPC935 | 01/01/70 00:00 | |
| NoTouch for LPC935; problem solved | 01/01/70 00:00 | |
| RE: NoTouch for LPC935 | 01/01/70 00:00 | |
| RE: oops | 01/01/70 00:00 | |
RE: oops,oops | 01/01/70 00:00 |



