With a new, faster machine I'm unable to program boards which have a reset
chip, which slows the reset signal. I'd like to use --slowdown, as in
msp430-jtag -DImEpv --slowdown=20 file.ihex
but this fails on inability to find the slowdown file. Examining the code in
msp430-jtag we see during option processing:
elif o == "--slowdown":
slowdown = long(a)
import ctypes
if sys.platform == 'win32':
HIL_SetSlowdown = ctypes.windll.HIL.HIL_SetSlowdown
else:
# XXX and posix platforms?!
HIL_SetSlowdown = ctypes.cdll.HIL.HIL_SetSlowdown
HIL_SetSlowdown = ctypes.windll.HIL.HIL_SetSlowdown
HIL_SetSlowdown.argtypes = [ctypes.c_ulong]
HIL_SetSlowdown.restype = ctypes.c_int # actually void
# set slowdown
HIL_SetSlowdown(slowdown)
It looks as if the selection of the "XXX and posix platforms" is defeated by
the line following the "else" section. Since I'm on a Linux platform, this
will always ensure that the appropriate file is not found.
--
Rick Jenkins <[email protected]>
Hartman Technica http://www.hartmantech.com
Phone +1 (403) 230-1987
221 35 Avenue. N.E., Calgary, Alberta, Canada T2E 2K5