Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/27/08 23:20
Read: times


 
#155190 - Re: check
Responding to: ???'s previous message
Hello Steve,

This is the first program I am tring to write on this microcontroller (LPC9107), i have used ICP and ISP both for LPC952 and LPC954.

following is the .LST file, it looks fine too me. please let me know if you find some problem.


C51 COMPILER V8.09 MAIN 05/27/2008 16:17:34 PAGE 1


C51 COMPILER V8.09, COMPILATION OF MODULE MAIN
OBJECT MODULE PLACED IN Main.OBJ
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE Main.c BROWSE DEBUG OBJECTEXTEND

line level source

1 #include <stdio.h>
2 #include "reg9107.h"
3
4 void main()
5 {
6 1 TRIM |= 0x40; // Clock out enable, clock = 7.327MHz internal RC oscillator
7 1
8 1 P0M1 &= 0x7D; // Pin 0.7 (clock out) and Pin 0.2 in push pull configuration
9 1 P0M2 |= 0x82;
10 1
11 1 // EA = 1; // Enable all interrupts.
12 1
13 1 P0 = 0xFF; // Port 0 = 0xFF, pin 0.2 should be high and clock/2 as output on pin 0.7
14 1
15 1 while(1); // Infinite loop
16 1 }


MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE = 14 ----
CONSTANT SIZE = ---- ----
XDATA SIZE = ---- ----
PDATA SIZE = ---- ----
DATA SIZE = ---- ----
IDATA SIZE = ---- ----
BIT SIZE = ---- ----
END OF MODULE INFORMATION.


C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)


List of 13 messages in thread
TopicAuthorDate
Not getting response from P89LPC9107            01/01/70 00:00      
   Pin connected ?            01/01/70 00:00      
      Re: Pin connected?            01/01/70 00:00      
         Read the data sheet?            01/01/70 00:00      
            Re: Read datasheet            01/01/70 00:00      
   Code with comments            01/01/70 00:00      
      Interrupts ?            01/01/70 00:00      
         RE: Interrupts            01/01/70 00:00      
            Check            01/01/70 00:00      
               Re: check            01/01/70 00:00      
                  Not quite            01/01/70 00:00      
                     Re : check            01/01/70 00:00      
   I got it, IDATA length parameter is wrong            01/01/70 00:00      

Back to Subject List