??? 01/01/07 10:33 Read: times |
#130279 - 89lpc922 programing Responding to: ???'s previous message |
Thank for your reply
I have done the following thing for 89lpc922. I am using c ride compiler .I write a small program for display routing in c for checking the microcontroller. In main loop call following assembly routine using pragma derivative for NO TOUCH. #define PGM_MTP 0FF03H if (!pgm_mode) // if port p0.3 is low { #pragma asm mov 0A8H,#00H; mov R0,#0ffH mov @R0,#96H mov A,#02H mov R5,#01H mov R7,#03H lcall PGM_MTP RET END #pragma endasm } But when I program the IC it will work for first time as factory default in program mode. But next time it does not go to program mode. It any thing wrong in above program |
Topic | Author | Date |
89lpc922 programing | 01/01/70 00:00 | |
NoTouch | 01/01/70 00:00 | |
Typo | 01/01/70 00:00 | |
89lpc922 programing | 01/01/70 00:00 | |
ISP and IAP | 01/01/70 00:00 | |
89lpc programing![]() | 01/01/70 00:00 | |
I to am having issues with ISP | 01/01/70 00:00 | |
Solved - My ISP issues | 01/01/70 00:00 | |
ISP and IAP Understanding LPC925 | 01/01/70 00:00 |