|
DS1206 Platform |
Top Previous Next |
| • | Memory space |
RAM |
22,528* bytes for application variables and data |
Flash |
983,040 bytes for application and data storage (shared flash memory)** |
EEPROM |
2040 bytes for application data |
* RAM available in the debug mode is smaller by 257 bytes. All memory is available in the release mode.
** Some earlier devices had only 458,752 bytes of flash memory available
Supported Objects, variable types, and functions
| • | Sock — socket communications (up to 16 UDP, TCP, and HTTP sessions); |
| • | Net — controls Ethernet port; |
| • | Ser — in charge of serial ports (UART, Wiegand, and clock/data modes); |
| • | Ssi — implements up to four serial synchronous interface (SSI) channels, supports SPI, I2C, clock/data, etc.; |
| • | Io — handles I/O lines, ports, and interrupts; |
| • | Fd — manages flash memory file system and direct sector access; |
| • | Stor — provides access to the EEPROM; |
| • | Romfile — facilitates access to resource files (fixed data); |
| • | Pppoe — provides access to the Internet over an ADSL modem; |
| • | Ppp — provides access to the Internet over a serial modem (GPRS, POTS, etc.); |
| • | Pat — "plays" patterns on up to five LED pairs; |
| • | Button — monitors MD line (setup button); |
| • | Sys — in charge of general device functionality. |
These platforms support the standard set of variable types and functions (a.k.a. "syscalls").
Platform-specific constants
You can find them here.
Miscellaneous information
Available network interfaces |
Ethernet (net.)(1) |
Unidirectional |
|
Supported(2) |
|
This platform does not support Wi-Fi at all |
|
16 byte for TX, 16 bytes for RX |
|
PLL on (def): 88.4736Mhz, PLL off: 11.0592Mhz(3) |
|
8 bytes for MAC storage |
|
128 bytes: 64 OTP bytes + 64 fixed bytes(4) |
|
Shared |
|
Green (SG) and red (SR) Status LEDs Green (EG) and yellow (EY) Ethernet LEDs |
|
Ethernet / UDP Broadcast transport Ethernet /WinPCap transport |
Comments:
| 1. | The sock.allowedinterfaces property refers to the Ethernet interface as "NET". Sock.targetinterface and sock.currentinterface properties rely on the pl_sock_interfaces enum, whose members differ depending on the platform. |
| 2. | Default CTS/RTS mapping is different for each serial port. Notice that CTS and RTS lines in default mapping interfere with each other. Do remember to select meaningful mapping for these lines! |
|
RTS |
CTS |
Port 1 |
||
Port 2 |
||
Port 3 |
||
Port 4 |
| 3. | Default PLL state after the external reset is ON. |
| 4. | Older DS1206 and DS1206W devices did not contain the serial number. To find out if your DS1206(W) has the serial number onboard, try to read this serial number with the sys.serialnum R/O property. If this property returns an empty string, then the serial number is not present. Sys.serialnum returns all 128 bytes of the serial number. First 64 bytes are one-time-programmable (OTP) with the sys.setserialnum method. |