hello pedro,

i used the same schematic for my pcb (with the exception that i had to use the
5V version of the CS8900)
and it's working fine.

so i think the schematic is ok - but i don't know if the easyWeb pcb is correct
???

for testing i added also a debug output (but after chip reset sequence) and i
got:
WR:0x0000
RD:0x630E
WR:0x0002
RD:0x0900

i recommend to request the chipo id after reset 

try this - then we'll se 

matthias

-----Ursprungliche Nachricht-----
Von: Pedro Zorzenon Neto [mailto:p...@terra.com.br]
Gesendet: Mittwoch, 30. April 2003 14:57
An: mspgcc list
Betreff: [Mspgcc-users] easyweb


Hi Folks,

  I don't know if this list is the best place to post this question,
anyway, I think it is a very good place. :-)

  I got 2 PCBs of MSP430-EasyWeb Project.

    References: http://www.olimex.com/dev/mspprojects.html
                http://www.olimex.com/dev/images/easyWeb.jpg
                http://www.elektroniknet.de/d&e/extraheft/dateien.htm
                http://www.elektroniknet.de/d&e/extraheft/data/Schaltplan.tif

  I assembled the two boards using CS8900A-CQ3 and MSP430F149 but they
did not work as expected. I used the sources from
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/mspgcc/msp430-libc/examples/tcpip
/

  With the serial port, I added a debug program to tell me every word
that is read/write to CS8900 (within the functions Read8900 and
Write8900).

  Then I modified Init8900, adding lines to receive CS8900 chip_id:

void Init8900(void) {
  unsigned int i;
  P3SEL = 0x30;
  P3OUT = IOR | IOW;
  P3DIR = 0xFF;
  P5SEL = 0;
  P5OUT = 0;
  P5DIR = 0xFF;
  Write8900(ADD_PORT, PP_ChipID);      /* I added this line */
  Read8900(DATA_PORT);                 /* I added this line */
  Write8900(ADD_PORT, PP_ChipID + 2);  /* I added this line */
  Read8900(DATA_PORT);                 /* I added this line */
...

  In the serial port, I notice this:

  data 0x0000 is written to address 0x000A
  data 0x0000 is read from address 0x000D
  data 0x0002 is written to address 0x000A
  data 0x0000 is read from address 0x000D

  This shows me that chip ID is 0x0000 which means some trouble.
  The assembler generated my mspgcc for the functions Read8900 and
Write8900 seems to be OK.

  I think that I have a problem... Any hint?

  Did anyone tested successfully the EasyWeb PCB?
   
  Thanks in advance,
    Pedro

-- 
  .''`.   Pedro Zorzenon Neto <p...@terra.com.br>
 : :'  :  Debian GNU/Linux | GNU/Hurd: <http://www.debian.org>
 `. `'`   Debian BR: <http://debian-br.cipsga.org.br>
   `-     Be Happy! Be FREE!


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to