AN 425: Using the Command-Line Jam™ STAPL Solution for Device Programming

ID 683089
Date 10/14/2024
Public
Document Table of Contents

1.7.1. The Jam STAPL Byte-Code Player

The Jam STAPL Byte-Code Player is coded in the C programming language for 16 bit and 32 bit processors. A specific subset of the player source code also supports some 8 bit processors.

The source code for the 16 bit and 32 bit Jam STAPL Byte-Code Player is divided into two categories:

  • jbistub.c—platform-specific code that handles I/O functions and applies to specific hardware.
  • All other C files—generic code that performs the internal functions of the player.
Figure 10. Jam STAPL Byte-Code Player Source Code StructureThis shows the organization of the source code files by function. The process of porting the Jam STAPL Byte-Code Player to a particular processor is simplified because the platform-specific code is all kept inside jbistub.c.