IPC@CHIP® RTOS – API Documentation

Header image

Main page


Release Notes – SC2x @CHIP-RTOS V1.30 Beta

The tickets are grouped by component and then sorted by type and ticket number.


RTOS - Web server
Ticket: #2001
Component: RTOS - Web server
Type: defect
Summary: Web server's default page cannot be a CGI
Description: The CHIP.INI syntax to set a CGI page as the web server's main page has slightly changed. The following CHIP.INI syntax could be used on SC1x:
[WEB]
MAINPAGE=/mycgipage

On SC1x3/SC2x the web server comes up with the message "Sorry, the requested page was not found!"

However the following syntax works on SC2x/SC1x3:
[WEB]
MAINPAGE=mycgipage
Solution: Fixed.



Ticket: #2002
Component: RTOS - Web server
Type: defect
Summary: SSI settings lost after some API calls
Description: Installed user SSI file filter and handler are lost after execution of BIOS_Server_ON_Off(), CGI_SetRootDrive() and CGI_SetRootDir().
Solution: Fixed.



Ticket: #2062
Component: RTOS - Web server
Type: defect
Summary: Web server can not handle empty realm string
Description: The web server does not handle the case correcly, when the response code is set to "CgiHttpUnauthorized" and no realm is given in the response buffer (buffer length = 0).

This used to work well on the SC1x web server.
Solution: Fixed.



Ticket: #2005
Component: RTOS - Web server
Type: enhancement
Summary: SSI_Get_Connection_Params() from SC2x3 RTOS
Description: Should add the SSI function SSI_Get_Connection_Params() to the SC2x/SC1x3 RTOS. This functions is already available at the SC2x3 RTOS.

It can be called inside the SSI handler and returns additional information like the IP address.
Solution: Implemented



Ticket: #2006
Component: RTOS - Web server
Type: enhancement
Summary: Improve Web server File Upload features
Description: Should improve the possibilities of the web server File Upload feature. These are:
- The user should be able to configure the maximum file size for the upload.
- The user should be able to enable/disable the file upload during runtime.
- The user should be able to specify a directory, which is used for the uploaded files, to assure that system files can not be touched.
Solution: Implemented new CHIP.INI entries and new CGI API functions.



Ticket: #2012
Component: RTOS - Web server
Type: enhancement
Summary: SEC_REALMx from SC2x3 RTOS
Description: According to SEC_URLx we should define a new tag inside the CHIP.INI for SEC_REALMx, which should specify the realm name, like already implemented in the SC2x3 RTOS.

Currently the realm names "Secure URL0" and "Secure URL1" are hardcoded.
Solution: Implemented



Ticket: #2021
Component: RTOS - Web server
Type: enhancement
Summary: Support the fields "fRefererPtr", "fAgentPtr" and "fLanguagePtr" in CGI request structure
Description: Currently the Referrer, User Agent and Accept-Language fields of CGI requests are empty. These fields should be filled in.
Solution: Filled fields with values. Increased also the maximum allowed CHIP.INI values for BODY_SIZE and HEADER_SIZE.



Ticket: #2054
Component: RTOS - Web server
Type: enhancement
Summary: Web server stack limit
Description: Should increase the allowed maximum web server stack size.
Solution: Maximum web server stack is now 65500 bytes.



Ticket: #2055
Component: RTOS - Web server
Type: enhancement
Summary: Display maximum number of web server connections in WEBSTAT command
Description: The WEBSTAT command should display the number of web server connections that have been used simultaneously.
Solution: Implemented




RTOS - TCP/IP
Ticket: #2023
Component: RTOS - TCP/IP
Type: defect
Summary: Chip.ini option [IP] DHCP_TRIALS only affects ETH0
Description: The option DHCP_TRIALS in the IP section of the CHIP.INI configuration file doesn't affect any interface, but the first Ethernet interface.
Solution: Fixed.



Ticket: #2048
Component: RTOS - TCP/IP
Type: enhancement
Summary: TFTP server task start
Description: For saving RTOS resources the TFTP server task should not come up after RTOS start, if the server was disabled. The server can be started and activated at runtime by typing the shell command "TFTP 1".
Solution: Implemented




RTOS - System
Ticket: #2034
Component: RTOS - System
Type: defect
Summary: Corrupted TCPIP memory on SSL server connections
Description: Occurs with example application sslserv.exe and provided example certificates and key file. TCPIP memory becomes corrupted, if a wget application running at a windows PC (GNU wget 1.8.1) tries to establish a connection with Diffie-Hellman protocal to the SSL server.
Solution: Pass ownership of DH key memory blocks over to SSL so release will occur only once.



Ticket: #2015
Component: RTOS - System
Type: enhancement
Summary: New API for server state
Description: Should add a BIOS_Server_State() API that reports the suspended/resumed server state.

Currently the server state can only be read by changing the server state with the BIOS_Server_On_Off() API.
Solution: Implemented.



Ticket: #2050
Component: RTOS - System
Type: enhancement
Summary: Improve visibility over system resources
Description: At end of console output for the MEM command, it would be helpful to also indicate what RTX resources are available and in use.

Add a status bit to TASKS state to indicate that the task is using one of the File System access slots ("signed in").
Solution: Append RTX resource usage counts to MEM command console output.
Adjust TASKS display and state documentation for Task?StateData structure's taskState member.



Ticket: #2056
Component: RTOS - System
Type: enhancement
Summary: SAFEMODE from SC2x3 RTOS
Description: Should add the SAFEMODE CHIP.INI entry from the SC2x3 RTOS.

If the user enables the safe mode setting, all internal services are disabled per default. Services must be enabled explicitly. This mode is useful when preparing for a release. It also assures that after an update to a future RTOS release, all possible new services that this release implements are disabled per default.
Solution: Implemented.



Ticket: #2057
Component: RTOS - System
Type: enhancement
Summary: Facility to set fatal error record
Description: It should be possible to set the fatal error record from a driver or application program. Currently this record can only be set by the RTOS. Applications can register a callback function which is invoked when the record is set using BIOS_Install_Error_Handler().
Solution: Implemented function BIOS_Set_Error()




RTOS - File system
Ticket: #2035
Component: RTOS - File system
Type: defect
Summary: FAT12-FAT16 "Extended File Attributes" cause problems
Description: The field of the DOS file directory node which conveys the upper 16 bits of the files first cluster number cannot be assumed to be zero for FAT16 or FAT12 drives. There appears to be Extended File Attribute flags placed here.
Solution: Correct file system



Ticket: #2036
Component: RTOS - File system
Type: defect
Summary: Long File name directory entries are spent on A: and C: drive for 8.3 names.
Description: When lower case letters are used, extra file directory entries are used to store the exact case of the 8.3 DOS file name. For small drives A: and C: this was not desired.
Solution: Code correction made.



Ticket: #2040
Component: RTOS - File system
Type: defect
Summary: DIR command's file filter for *xx not working correctly
Description: When letters to be matched follow the star '*', the file system is not handling the filtering correctly.
Solution: Correct file name filtering code in RTOS.



Ticket: #2051
Component: RTOS - File system
Type: defect
Summary: File open for write fails during FTP directory listings
Description: When another thread attempts to open a file for writing, this can fail if concurrently the FTP server is listing the contents of a directory. And more generally, if anywhere in the system is listing a directory with file find first/find next services of the file system.
Solution: Release file node after each find operation used for DIR listings.



Ticket: #2059
Component: RTOS - File system
Type: defect
Summary: Should lock or close the file system during an RTOS update
Description: The Chiptool can transfer a RTOS image that holds the RTOS and the file system of drive A:. We should close or lock the file system, during the RTOS update. Applications should not be allowed to read or write from drive A: during an update.
Solution: Add method to file system which allows RTOS Configuration Server to lock the A: drive after closing it. The RTOS configuration server locks the file system, if the received RTOS image contains filesystem data. The file system is no longer accessible by any other application or RTOS task until the system executes a reboot.



Ticket: #2066
Component: RTOS - File system
Type: defect
Summary: BIOS_Disk_Space() does not abort on read errors
Description: The BIOS_Disk_Space() function should abort if the reading of the drive fails. If the drive is removed during this function call, then this functions currently takes a very very long time to finish.
Solution: Fixed.



Ticket: #2047
Component: RTOS - File system
Type: enhancement
Summary: Limit of 15 tasks permitted access to file system should be increased
Description: The SC1x3 / SC23 systems have sufficient memory to support 35 tasks.
Solution: Increase limit on number of tasks given access to file system from 15 up to 35. Also increase maximum open files limit from 20 to 40.



Ticket: #2053
Component: RTOS - File system
Type: enhancement
Summary: No file time-date update unless file contents have been changed
Description: When files are opened for read-write and no write is performed, then the file time-date should not be updated if no actual write to the file is performed.
Solution: Implemented




RTOS - Telnet server
Ticket: #2037
Component: RTOS - Telnet server
Type: defect
Summary: TELNET flush can malfunction after new session established
Description: The control used to bundle TELNET output can be left in the accumulate state across sessions, resulting in data not flushing properly to the output.
Solution: Make the telnet accumulate flag a member of session object.



Ticket: #2039
Component: RTOS - Telnet server
Type: defect
Summary: Possible blockade of Telnet server
Description: It is possible to block the Telnet server by establishing a TCP connection without executing the further login process.
Solution: Fixed.




RTOS - Serial ports
Ticket: #2045
Component: RTOS - Serial ports
Type: defect
Summary: Software interrupt for function fossil_setbaud()
Description: The function fossil_setbaud() is implemented in the CLIB and either calls the software interrupt for fossil_setbaud_std() or fossil_set_extctrl() depending on the desired baud rate. When implementing an external serial port driver, the function fossil_set_extctrl() might be useless if the device uses a separate clock. The divider will be wrong. There's no solution if the application program calls the deprecated function fossil_set_extctrl(). But for fossil_setbaud() there should be a real software interrupt, which could be called for external serial ports.
Solution: Implemented



Ticket: #2058
Component: RTOS - Serial ports
Type: defect
Summary: Received character lost in RS485 mode
Description: When the RS485 mode is enabled and the RS485 hardware functionality is not used it can happen that received characters are lost. The characters can get lost during the phase where the software waits for the UART transmitter to become empty, in order to disable the RS485 TxEnable pin.

Platforms without a serial FIFO (SC12) are more affected.
Solution: Fixed.




RTOS - Hardware
Ticket: #2060
Component: RTOS - Hardware
Type: defect
Summary: Failure reading/writing retentive data
Description: The usage of non-volatile data with an odd number of bytes is not possible. Saved data is not restored in this case.
Solution: Fixed retentive data checksum generation.




RTOS - FTP server
Ticket: #2000
Component: RTOS - FTP server
Type: enhancement
Summary: FTP server features of SC2x3 RTOS
Description: Should add the enhanced FTP features of the SC2x3 RTOS-PPC also to the SC1x3/SC2x/SC1x FTP server. These are:
- Increase and configure the number of concurrent FTP connections (SC2x/SC1x3 only)
- FTPS SSL support (SC2x/SC1x3 only)
- Add virtual root directory that lists the available drives
Solution: Implemented




RTOS - PPP
Ticket: #2016
Component: RTOS - PPP
Type: enhancement
Summary: DCD signal check
Description: For a better detection of a "carrier lost" situation a PIO should be provided in an CHIP.INI entry, which is connected to the DCD pin of the PPP serial port.

This PIO can be polled by the system software to detect this situation.
Solution: At chip.ini section [PPPSERVER] the user can now define a low-active DCD pio.



Ticket: #2063
Component: RTOS - PPP
Type: enhancement
Summary: PPP client/server suspend/resume
Description: The user should be able to suspend and resume the PPP client and server task without terminating an open PPP connection. This allows the usage of the serial port and modem for other purposes, e.g. for sending a SMS.
Solution: The API functions PPP_Client_Pause() and PPP_Server_Pause will provide the requested functionality.




RTOS - SSH server
Ticket: #2049
Component: RTOS - SSH server
Type: enhancement
Summary: Default RSA key and user name / password from SC2x3 RTOS
Description: Like on the SC2x3, the SSH server should use a default RSA key and the default user name / password 'ssh'.
This is required for a smooth integration into the ONE-Workbench.

'''Important:''' If you have not used the SSH server in your application, you have to disable the SSH server now in your CHIP.INI, because it will now be enabled per default.
Solution: Implemented




RTOS - Command shell
Ticket: #2052
Component: RTOS - Command shell
Type: enhancement
Summary: Support for REM in batch files
Description: It should be possible to comment out single lines in a batch file by prepending 'REM'.
Solution: Implemented








Top of page | Main page

Copyright © Beck IPC GmbH