
RAM_SIZE
Purpose
To get the size of data memory (SRAM) in kilo-bytes.
Syntax
A% = RAM_SIZE
Remarks
"A%" is an integer variable to be assigned to the result.
Example
PRINT "SRAM size = ", RAM_SIZE
See Also
FREE_MEMORY, ROM_SIZE
ROM_SIZE
Purpose
To get the size of program memory (Flash) in kilo-bytes.
Syntax
A% = ROM_SIZE
Remarks
"A%" is an integer variable to be assigned to the result.
Example
PRINT "Flash size = ", ROM_SIZE
See Also
FREE_MEMORY, RAM_SIZE
5.22 Debugging Commands
The command START_DEBUG will write the activities happening on the system to a
specified COM port. It is very useful when the user needs to monitor the system or diagnose
the problem.
When START_DEBUG is executed, the system will send a series of messages to a specified
COM port until the command STOP_DEBUG is executed. The following is a list of the
debug messages received when executing a sample BASIC program.
Note: Please refer to Appendix III for a description of the debug messages.
* L(7), T(0)
ADD_RECORD(1,"10001 Justin Jan
08300930113013001130150018002000")
* L(42), T(0)
ON_NET(316)
Kommentare zu diesen Handbüchern