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 <[email protected]>
: :' : Debian GNU/Linux | GNU/Hurd: <http://www.debian.org>
`. `'` Debian BR: <http://debian-br.cipsga.org.br>
`- Be Happy! Be FREE!