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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/14/07 04:51
Modified:
  04/14/07 04:54

Read: times


 
#137234 - trouble programming
Responding to: ???'s previous message
We figured out how to set the BOOTSTAT.0 bit to zero - it's part of the configuration options on the programmer we're using (Dataman-48XP). However, even when we try to execute some simple test code, it still won't work, even though we've verified that the code is being written to address 0000h. The code we're using to test is below. It should output the CCLK signal on pin 7 (at least, that's what we think). We compiled it using SDCC.

#include <reg9221.h>

void main (void){
P3M1 = 0x00;
P3M2 = 0x03;
TRIM |= 0x40;

while(1);}

We've also checked the power and ground connections to the chip. It's getting a steady 3.3 V, so that's not the issue.



List of 6 messages in thread
TopicAuthorDate
how to change p89lpc9221 BOOTSTAT            01/01/70 00:00      
   It's not clear            01/01/70 00:00      
      trouble programming            01/01/70 00:00      
         when checking such, do not use C            01/01/70 00:00      
            Do you trust your programmer?            01/01/70 00:00      
         reg9221.h            01/01/70 00:00      

Back to Subject List