|
|
|
|
|
|
|
|
|
|
|
|
|
|
serInit(self,
port=None,
timeout=2,
attemptlimit=None)
Open a serial port of some kind. |
source code
|
|
|
|
btInit(self,
port,
timeout,
attemptlimit)
Open a bluetooth port. |
source code
|
|
|
|
pyserInit(self,
port,
timeout,
attemptlimit)
Open the serial port |
source code
|
|
|
|
|
|
|
telosSetSCL(self,
level)
Helper function for support of the TelosB platform. |
source code
|
|
|
|
telosSetSDA(self,
level)
Helper function for support of the TelosB platform. |
source code
|
|
|
|
telosI2CStart(self)
Helper function for support of the TelosB platform. |
source code
|
|
|
|
telosI2CStop(self)
Helper function for support of the TelosB platform. |
source code
|
|
|
|
telosI2CWriteBit(self,
bit)
Helper function for support of the TelosB platform. |
source code
|
|
|
|
telosI2CWriteByte(self,
byte)
Helper function for support of the TelosB platform. |
source code
|
|
|
|
telosI2CWriteCmd(self,
addr,
cmdbyte)
Helper function for support of the TelosB platform. |
source code
|
|
|
|
|
|
|
writepicROM(self,
address,
data)
Writes data to @address |
source code
|
|
|
|
readpicROM(self,
address)
reads a byte from @address |
source code
|
|
|
|
|
|
|
|
|
|
telosBReset(self,
invokeBSL=0)
Helper function for support of the TelosB platform. |
source code
|
|
|
|
|
|
|
writecmd(self,
app,
verb,
count=0,
data=[])
Write a command and some data to the GoodFET. |
source code
|
|
|
|
readcmd(self)
Read a reply from the GoodFET. |
source code
|
|
|
|
glitchApp(self,
app)
Glitch into a device by its application. |
source code
|
|
|
|
glitchVerb(self,
app,
verb,
data)
Glitch during a transaction. |
source code
|
|
|
|
glitchstart(self)
Glitch into the AVR application. |
source code
|
|
|
|
glitchstarttime(self)
Measure the timer of the START verb. |
source code
|
|
|
|
glitchTime(self,
app,
verb,
data)
Time the execution of a verb. |
source code
|
|
|
|
|
|
|
glitchRate(self,
count=2048)
Set glitching count period. |
source code
|
|
|
|
silent(self,
s=0)
Transmissions halted when 1. |
source code
|
|
|
|
mon_connected(self)
Announce to the monitor that the connection is good. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MONpeek8(self,
address)
Read a byte of memory from the monitor. |
source code
|
|
|
|
MONpeek16(self,
address)
Read a word of memory from the monitor. |
source code
|
|
|
|
peek(self,
address)
Read a word of memory from the monitor. |
source code
|
|
|
|
eeprompeek(self,
address)
Read a word of memory from the monitor. |
source code
|
|
|
|
peekbysym(self,
name)
Read a value by its symbol name. |
source code
|
|
|
|
pokebysym(self,
name,
val)
Write a value by its symbol name. |
source code
|
|
|
|
pokebyte(self,
address,
value,
memory='vn')
Set a byte of memory by the monitor. |
source code
|
|
|
|
poke16(self,
address,
value)
Set a word of memory by the monitor. |
source code
|
|
|
|
MONpoke16(self,
address,
value)
Set a word of memory by the monitor. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
monitor_ram_pattern(self)
Overwrite all of RAM with 0xBEEF. |
source code
|
|
|
|
monitor_ram_depth(self)
Determine how many bytes of RAM are unused by looking for 0xBEEF.. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
monitortest(self)
Self-test several functions through the monitor. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
monitorclocking(self)
Return the 16-bit clocking value. |
source code
|
|
|
|
monitorsetclock(self,
clock)
Set the clocking value. |
source code
|
|
|
|
monitorgetclock(self)
Get the clocking value. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
flash(self,
file)
Flash an intel hex file to code memory. |
source code
|
|
|
|
dump(self,
file,
start=0,
stop=65535)
Dump an intel hex file from code memory. |
source code
|
|
|
|
peek32(self,
address,
memory='vn')
Peek 32 bits. |
source code
|
|
|
|
peek16(self,
address,
memory='vn')
Peek 16 bits of memory. |
source code
|
|
|
|
peek8(self,
address,
memory='vn')
Peek a byte of memory. |
source code
|
|
|
|
peekblock(self,
address,
length,
memory='vn')
Return a block of data. |
source code
|
|
|
|
pokeblock(self,
address,
bytes,
memory='vn')
Poke a block of a data into memory at an address. |
source code
|
|
|
|
loadsymbols(self)
Load symbols from a file. |
source code
|
|