IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


Release Notes – SC2x3 @CHIP-RTOS-PPC V1.02

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


RTOS - Debugger
Ticket: #10
Component: RTOS - Debugger
Type: defect
Summary: Debugger register report for blocked threads invalid
Description: Reporting of register values for blocked threads must be handled differently from interrupt preempted threads.
Solution: Report only IP/SP/LR registers for blocked threads which are deep in kernel.



Ticket: #68
Component: RTOS - Debugger
Type: defect
Summary: Debugging an application that consists of multiple tasks does not work accurate
Description: Breakpoint are not hit, if they are set inside a function of a thread. Also the application does not behave correctly, when this is tried.
Solution: Fixed.



Ticket: #94
Component: RTOS - Debugger
Type: defect
Summary: PROBE corrupts registers when task in system call is stopped
Description: When ONE-Workbench breakpoint is set in one task, and another task was within a system call which uses r4 as part of the long return value, this r4 register is corrupted.
Solution: Correct "Stop Neighbor Threads" method in PROBE.




RTOS - FTP server
Ticket: #124
Component: RTOS - FTP server
Type: defect
Summary: LIST command issue
Description: The command LIST drive:/filename does not work when it is executed from the virtual root directory.
Solution: Fixed.




RTOS - File system
Ticket: #114
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: #74
Component: RTOS - File system
Type: enhancement
Summary: No file time/date update unless file contents are 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: Do not write node if FS_DIRTY flag is not set.



Ticket: #115
Component: RTOS - File system
Type: enhancement
Summary: Add a CHKDSK command to file system
Description: Add a command to check for and recover any lost disk sectors in FAT, similar to DOS CHKDSK command.
Solution: CHKDSK console command added.




RTOS - SPI
Ticket: #101
Component: RTOS - SPI
Type: defect
Summary: SPI slave not working
Description: The SPI slave interrupt is not correctly cleared by the internal interrupt function.
The SPI slave API documentation misses some limitations regarding the used SPI mode.
Solution: Fixed. Also added some new SPI slave functions to operate the SPI slave in polling mode and retrieve some status information.



Ticket: #109
Component: RTOS - SPI
Type: enhancement
Summary: SPI on GPT pins (Timer2/3/4/5)
Description: The RTOS-PPC SPI API should support the processor mode where the dedicated SPI interface is mapped to the GPT pins (Timer2/3/4/5), instead to the PCS3 group.
Solution: Implemented.



Ticket: #111
Component: RTOS - SPI
Type: enhancement
Summary: GPIO control over not used pins in SPI bidirectional mode
Description: The RTOS SPI API should provide functions that allow to control the not used MISO pin (in master mode) or MOSI pin (in slave mode) as GPIO, when the SPI bidirectional mode is enabled.
Solution: Implemented.




RTOS - Serial ports
Ticket: #112
Component: RTOS - Serial ports
Type: defect
Summary: RS485 mode not working
Description: The deassertion of the TX-Enable pin (RTS) is not working correctly.
Solution: Fixed. Operating the TxEnable (RTS) pin in active high mode is now also possible.



Ticket: #123
Component: RTOS - Serial ports
Type: defect
Summary: UART1_BAUD entry does not work
Description: The CHIP.INI entry UART1_BAUD does not work. The baudrate remains at 19200.
Solution: Fixed.



Ticket: #76
Component: RTOS - Serial ports
Type: enhancement
Summary: Fossil callback function support
Description: Should add support for a fossil user callback function.
Solution: Implemented.



Ticket: #77
Component: RTOS - Serial ports
Type: enhancement
Summary: Fossil external port support
Description: Should add support for external fossil ports.
Solution: Implemented.




RTOS - System
Ticket: #82
Component: RTOS - System
Type: defect
Summary: Appl program time tag not passed to debugger by loader
Description: The BEX program launcher should pass the build time tag read out from the BEX file over to the debugger.
Solution: Read program time tag from BEX header and save in program object.



Ticket: #96
Component: RTOS - System
Type: defect
Summary: Program task count handling is not thread safe
Description: Some semaphore protection is needed around RTX program task count incrementing.
Solution: Add semaphore protection around task count changes.



Ticket: #105
Component: RTOS - System
Type: defect
Summary: Cache memory coherency bit missing in page tables
Description: The 'M' flag in the page table entries page rights field should be set for all PTE covering SDRAM space to provision for application program direct interface to DMA RAM areas.
Solution: Set 'M' bit in the constants controlling the PTE.



Ticket: #116
Component: RTOS - System
Type: defect
Summary: Dynamic memory is not aligned correctly in some cases
Description: The memory address returned from dynamic memory allocation functions malloc() and new() can be unaligned if the heap of the program needs to grow and the allocation size exceeds the defined heap increment size. The consequence is that the user program can be suspended with an alignment exception.
Solution: Fixed.



Ticket: #84
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_Set_Error_Handler() or BIOS_Install_Error_Handler().
Solution: Implemented function BIOS_Set_Error()



Ticket: #106
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.




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



Ticket: #120
Component: RTOS - TCP/IP
Type: defect
Summary: select() API is not working
Description: The select() API tends to return code 201 when called from applications. Also the fdset bit field macros are not set correctly.
Solution: Fixed.




RTOS - USB
Ticket: #104
Component: RTOS - USB
Type: defect
Summary: Call to usbHostClearQueue() could lead to corrupt memory
Description: In very rare cases a call to usbHostClearQueue() could lead to corrupt memory, if another task allocates the memory that is currently being freed by this function.
Solution: Fixed



Ticket: #110
Component: RTOS - USB
Type: defect
Summary: Problem with incomplete enumeration of USB devices
Description: If the USB stack is being de-initialised (de-initialisation of last driver) while a device is being enumerated, this may lead to problems after re-initialising the stack. Devices might not be enumerated anymore.
Solution: Fixed.



Ticket: #69
Component: RTOS - USB
Type: enhancement
Summary: USB hub support
Description: The RTOS' USB stack should be able to handle hubs.
Solution: Implemented




RTOS - Web server
Ticket: #98
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 SC2x3 the web server comes up with the message "Sorry, the requested page was not found!"

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



Ticket: #100
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: #107
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: #121
Component: RTOS - Web server
Type: defect
Summary: SSL web server drive is set to A: per default
Description: The documentation says that if the SSL_DRIVE entry is not present the normal web server/s root directory will be used. This was not the case.
Solution: Fixed.



Ticket: #75
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 64 kB.



Ticket: #78
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



Ticket: #99
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: #117
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: #118
Component: RTOS - Web server
Type: enhancement
Summary: Should make connection idle timeout of web server configurable
Description: On HTTP 1.1 the client (browser) must close the connection. The server only closes the connection after an idle timeout. This timeout is currently set to 60 seconds. This value should be settable with a CHIP.INI entry.
Solution: Implemented.



Ticket: #119
Component: RTOS - Web server
Type: enhancement
Summary: Possibility to switch the web server to HTTP 1.0 mode
Description: On HTTP 1.0 the web server closes the connection. Because the number of web server connections is limited on our server, there can be situations where it is desirable that the web server uses the HTTP 1.0 method. Should make a CHIP.INI entry that enables the HTTP 1.0 mode for the web server.
Solution: Implemented.




RTOS - Command shell
Ticket: #92
Component: RTOS - Command shell
Type: enhancement
Summary: Text editor and ONE-Workbench terminal
Description: Should make the integrated editor ("edit" command) compatible to the ONE-Workbench terminal emulation.
Solution: Changed ESC code sequences for compatibility to ONE-Workbench terminal.




RTOS - Hardware
Ticket: #86
Component: RTOS - Hardware
Type: enhancement
Summary: Power save modes
Description: Should support the power save mode settings of the processor.
Solution: 1) [DEVICE]POWERSAVE option added to CHIP.INI.
2) BIOS_Power_Save() option added.



Ticket: #91
Component: RTOS - Hardware
Type: enhancement
Summary: Should add periodic interrupt, alarm and stop watch RTC functions
Description: The RTC API should also support the periodic interrupt, alarm and stop watch functions of the integrated Real-Time-Clock.
Solution: Implemented.




RTOS - PPP
Ticket: #102
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: Implemented.








Top of page | Main page

Copyright © 2009 Beck IPC GmbH