Hi Phil,
> I'm trying to use my Netzer (base firmware) as an http client, but I
> cannot get the connection to the remote server.
I assume you already use the base version 1.4, right?
> Reading the registers 01 and 02 gives 0x03 and 0x00, but when I write
> to register 2 with value 0x02 to start the connection, the socket state
> register returns the binary value %100 which means IS_SERVER instead of
> %010 (CONNECTED) !?
There is a bug in the documentation. Simply count down:
Name Bit Description
RX_BUFFER_FULL 0 The Netzer receive buffer is full. STOP transfering
data to Netzer until this bit is gone!
TX_DATA_PENDING 1 New data has arrived from TCP/IP connection. Read
out via data address (0x1F)!
CONNECTED 2 Netzer is connected via TCP/IP with a remote
device.
IS_SERVER 3 Netzer is server now. If set, this bit can
not be reset until shutdown.
MAILBOX_BUSY 4 Netzer processes the last socket command. Not
finished yet.
-> %100 means that you get CONNECTED here what should be the intended state.
I will fix this typo, sorry!
> PS: Are the firmware sources available ? It could help ...
Not for free. If you interested in please request license prices via mail.
Best regards,
Sven