The basic difference between the Base Edition and the Professional Edition is as follows:
For this problem out of environment you can edit the Batch File. \HyNetOS\SYSTEM\BIN\_START.BAT
and increase the environment space by changing the value
/E:4096 to a higher value.
The line does look like this initially command.com /E:4096 /C %0 begin %2 %3 %4
/E:nnnnn
Sets the initial environment size to nnnnn bytes.
(nnnnn should be between 256 and 32,768).
This happens when some cygnus tools have been installed and removed. Even if you re-install hyTools, the problem remains. You MUST change some entries in the REGISTRY:
[HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2] "cygdrive flags"=dword:00000022 [HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/] "flags"=dword:0000000aChange into:
[HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2] "cygdrive flags"=dword:00000020 [HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/] "flags"=dword:00000008Now try again. If the problem remains, you will have to change the same entries under "HKEY_USERS" which is described in Hyperstone+FAQ.pdf, where you can also find more information.
Version V2.2 and V2.3
If you can’t see any error messages and no Project was built please check if the File PROJECT.ECF is in the same directory.
The Contents of PROJECT.ECF are
OUTPUT = PROJECT.HEX ; Binary Output File USER = PROJECT.HYE ; User Program EPROMWIDTH = 16 ; Data Bus Width of EPROM MEMBUSWIDTH = 16 ; Bus Width of MEM3
If you are not able to create a Project.hex and you get the Microsoft Error message
“The system file is not suitable for running MS-DOS and Microsoft Windows application”, unfortunately this is a common occurrence
Especially after installation of Service Pack 2, Windows XP may display an error message relating to "AUTOEXEC.NT"
when trying to run certain 16-bit applications. Office 97 can also cause this .
Check the Config.nt, Autoexec.nt and Command.com in \WINNT\System32.
Please also read the Microsoft Article ID:324767
http://support.microsoft.com/kb/324767/EN
Please follow the Example TCP_SRV.C
//First transmit buffer lref->sfree = 8192;
memcpy(&lref->sfree, m->data, 2);
sendcount = MIN(lref->lefttosend, lref->sfree);
Please check the File How_to_connect_to_EPL_gateway.pdf
The Debug_over_serial_Port.pdf is describing how to use the an alternative method of redirecting any trace information to any free serial port commonly referred to as debug immediate in the HyNetOS documentation.
This “HowTo” describes the procedure to find the memory trace and is only valid for HyNetOS > V2.2 and 2.n malloc_test.pdf
Search for: TASKERROR(RESET) in your source code and replace it with TASKERROR(PRINT).
Example
StackLevelTCB(HttpSrvTask, 22, HttpSrvTaskEntry, TASKERROR(RESET), NULL, 65536,16384);
StackLevelTCB(HttpSrvTask,22,HttpSrvTaskEntry,TASKERROR(PRINT),NULL,65536, 16384);
Please see the Demo Error Example 2 and the Documentation in
DOCUMENTATION\ TaskErrors.html or the
TaskErrors.pdf
Bootloader.pdf describes the new functions in the Bootloader and Monitor Release V2.3.
see How_to_use_the_IO_Ports_at_the_Expansion_Connector_3.pdf
The following macro is used to create a new task and requires 2 parameters to set the size of the different stacks which are Hardware Stack and Aggregate Stack. The original syntax of this macro is:
TCBLabel: StackLevelTCB TaskPriority, OnCreate, OnError, OnReset,
HardwareStackSize, AggregateStackSize
HardwareStack
The hardware stack is the stack where the contents of the local registers
and the return Program Counter (PC) as well as the return Status Register (SR) are
pushed on and popped off.
An example to determine the size of the hardware stack for a single-task
Application is below:
void main()
{
void *HardwareStackBase;
unsigned long int HardwareStackSize;
HardwareStackBase = InitHardwareStack();
/* start of stack-level task main */
... /* task execution */
/* end of stack-level task main */
HardwareStackSize = GetHardwareStackSize(HardwareStackBase);
}
void main()
{
void *AggregateStackBase;
unsigned long int AggregateStackSize;
AggregateStackBase = InitAggregateStack();
/* start of stack-level task main */
... /* task execution */
/* end of stack-level task main */
AggregateStackSize = GetAggregateStackSize(AggregateStackBase);
}
Start the Program IdentVer.exe located in the Folder .. \HyNetOS\SYSTEM\BIN\
with the parameter
c:\HyNetOS\SYSTEM\BIN\IdentVer.exe c:\HyNetOS\SYSTEM\LIB\*.lib
The Program will now show the Version of all installed Libraries.