163 - Lattice ispVM: What is the difference between ispVM Embedded and the EPROM version?

163 - Lattice ispVM: What is the difference between ispVM Embedded and the EPROM version?

The difference is in how and when the VME data is linked to the executable. ispVM Embedded uses a pointer to link the VME data at run-time. The default implementation uses a file pointer with the filename passed in via command-line arguments, but can be changed to a simple memory pointer.

The advantage of this configuration is that the data can be updated separately without recompiling any source code. ispVM Embedded EPROM includes the VME data at compile-time. The resulting executable contains both the code and data combined together. The VME2HEX utility can be run within the ispVM System GUI or stand-alone to convert the binary VME data into arrays of data in C format. These arrays are then referenced by the ispVM Embedded EPROM source code to be embedded in the final executable.