Diagnostic

Property Description
Trace Buffer Size
traceBufferSize  – Integer
Set the number of trace entries that are recorded.

Loader

Property Description
No Load Sections
noLoadSections  – StringList
Names of (loadable) sections not to load.

Peripherals

Property Description
Enable Peripheral File
enablePeripheralFile  – Boolean
Enable JavaScript simulation of peripherals.
Interrupt poll interval
interruptPollInterval  – Integer
Poll for interrupts every N cycles.
Peripheral File
peripheralFile  – String
JavaScript file that simulates peripherals which contains the following functions:
  • reset() — this is called on reset and should reset all state.
  • pollForInterrupts(elapsedCycleCount) — this is called to check for interrupts. It is passed the elapsed number of cycles since the last time it was called. It should return -1 if no interrupt is outstanding or the interrupt number if an interrupt is outstanding.
  • loadPeripheral(address, size, debug) — this is called when a memory read is made to the peripheral memory region and should return a value. The address and size of the memory access are supplied as the first two parameters. If the access is for debug purposes the third parameter is set to 1.
  • storePeripheral(address, size, value) — this is called when a memory write is made to the peripheral memory region.

Target

Property Description
Device Type
device_id  – String
The detected type of the currently connected target device.