Tadashi G. Takaoka
8db02ae3d4
[simio] Fix timer capturing by software
2018-07-21 16:48:45 +09:00
Tadashi G. Takaoka
d49dcefec6
[simio] Fix changing timer period
2018-07-21 16:42:59 +09:00
Tadashi G. Takaoka
b323849d8a
[simio] Add timer tests
2018-07-21 16:00:12 +09:00
Daniel Beer
844c322721
Merge pull request #71 from tgtakaoka/fix-disassemble
...
Fix repeated disassemble
2018-07-18 08:02:26 +12:00
Tadashi G. Takaoka
25959448ab
Fix repeated disassemble
...
- An odd disassemble length is rounded up to the next even length.
- A repeated disassemble starts from the next possible instrunction address.
2018-07-16 21:31:35 -07:00
Daniel Beer
1b13979594
Merge pull request #62 from tgtakaoka/fix-simio-timer
...
Fix sim driver and simio_timer
2018-07-01 08:46:09 +12:00
Tadashi G. Takaoka
00fde4a2f2
Fix sim driver and simio_timer
...
- Fix sim driver so that it can handle two bytes read/write.
- Add error message regarding odd size write to sim driver.
- Fix simio_timer constructor so that can accept size.
- Fix simio_timer so that we read/write channels' registers.
2018-06-29 14:11:41 +09:00
Daniel Beer
4d3a437196
Merge pull request #60 from hosewiejacke/master
...
simio: console can print to file
2018-06-28 09:08:10 +12:00
Hose wie Jacke
8ce536556a
simio: console can print to file
...
This is usefull for `tail -f`.
2018-06-27 15:10:37 +02:00
Daniel Beer
1cb2e5664b
Merge pull request #61 from tgtakaoka/fix-linux-build
...
Fix linux build caused by pull request #58
2018-06-27 15:19:22 +12:00
Tadashi G. Takaoka
c325b5e80a
Fix linux build caused by pull request #58
2018-06-27 10:40:27 +09:00
Daniel Beer
b30bf6ac30
Merge pull request #58 from tgtakaoka/rf2500-fallback
...
Fallback to libusb backend when rf2500hidapi fails
2018-06-27 11:58:41 +12:00
Tadashi G. Takaoka
915ee94e02
Fallback to libusb backend when rf2500hidapi fails
...
In some macOS configurations, macOS 10.13.5 on Macmini4,1 in my case,
rf2500hidapi transport fails to open RF2500 device with unknown
reason. This CL enables mspdebug to fallback to libusb backend in such
situation.
2018-06-25 23:55:52 +09:00
Daniel Beer
9032544df1
Merge pull request #56 from tgtakaoka/update-chipinfo-slac460y
...
Update chipinfo.db with slac460y
2018-05-18 17:07:50 +12:00
Tadashi G. Takaoka
246a7c48e0
Update chipinfo.db with slac460y
...
The updated chipinfo.db has been extracted from slac460y.
http://www.ti.com/lit/sw/slac460y/slac460y.zip
You can find the release note at version 3.13.0.1 of
http://www.ti.com/tool/mspds
To extract chipinfo.db, the following patches are necessary to make
msp-ds-dumpdb command from slac460y, and corresponding Homebrew
formula, msp-ds.rb may help.
https://raw.githubusercontent.com/tgtakaoka/homebrew-tinyos-msp430/master/patches/msp-ds-slac460y-1-patches.tar.xz
https://github.com/tgtakaoka/homebrew-tinyos-msp430/blob/master/msp-ds.rb
The msp-ds-dumpdb command also can dump device database with XML
format as MSP430_DumpDeviceDb() do.
2018-05-18 07:16:02 +09:00
Daniel Beer
0b10647c5d
Merge pull request #55 from tgtakaoka/dis-byte-data
...
Print immediate byte data in 2-digits hex
2018-04-07 21:51:10 +12:00
Tadashi G. Takaoka
e5e3dd13eb
Print immediate byte data in 2-digits hex
2018-04-06 00:17:56 +09:00
Daniel Beer
b294df8cc0
Merge pull request #50 from tgtakaoka/opt-lowercase-dis
...
Add lowercase_dis option
2018-04-04 12:28:27 +12:00
Daniel Beer
d2421cae9d
Merge pull request #51 from tgtakaoka/update-chipinfo-slac460x
...
FYI: Update chipinfo.db with slac460x
2018-04-04 12:27:03 +12:00
Daniel Beer
061c7ac7da
Merge pull request #52 from tgtakaoka/macos-dylib-name
...
Fix MSP Debug Stack dynamic library name on macOS
2018-04-04 12:26:22 +12:00
Daniel Beer
312d69eb50
Merge pull request #54 from tgtakaoka/macos-brew-libusb
...
Fix compiler flag on macOS to include libusb
2018-04-04 12:25:57 +12:00
Tadashi G. Takaoka
377f1d772f
Fix comiler flag on macOS to include libusb
...
This fixes the compilation error on utils/usbutil.c:22, 'usb.h' file
not found.
2018-04-03 23:18:18 +09:00
Tadashi G. Takaoka
c9af50666d
Fix MSP Debug Stack dynamic library name on macOS
...
On macOS, a dynamic loadable library has .dylib suffix.
2018-04-03 23:00:32 +09:00
Tadashi G. Takaoka
c9c7cf546b
FYI: Update chipinfo.db with slac460x
...
This also modifies struct chipinfo.mclk_control to uint32_t, since it
contains 32 timers' information.
The updated chipinfo.db has been extracted from slac460x.
http://www.ti.com/lit/sw/slac460x/slac460x.zip
To extract chipinfo.db, the following patches are necessary to make
msp-ds-dumpdb command from slac460x, and corresponding Homebrew
formula, msp-ds.rb may help.
https://raw.githubusercontent.com/tgtakaoka/homebrew-tinyos-msp430/master/patches/msp-ds-slac460x-2-patches.tar.xz
https://github.com/tgtakaoka/homebrew-tinyos-msp430/blob/master/msp-ds.rb
The msp-ds-dumpdb command also can dump device database with XML
format as MSP430_DumpDeviceDb() do.
2018-04-03 22:22:10 +09:00
Tadashi G. Takaoka
5549f35977
Move lowercase conversion to output_util.c
2018-04-03 22:07:07 +09:00
Tadashi G. Takaoka
5b9bdbc2aa
Add lowercase_dis option
...
The lowercase_dis option, if set to true, changes instruction and
register names of disassembler command to lower case. This can be
matched with hexadecimal dump of raw instruction and address. It also
matches with GNU debugger and assembler.
2018-04-02 23:28:11 +09:00
Daniel Beer
7c41acd418
Merge pull request #49 from brunompena/master
...
Fix MinGW compilation under Windows.
2018-03-02 07:28:03 +13:00
Bruno Pena
3c19304af3
Fix MinGW compilation under Windows.
...
Added missing header.
Signed-off-by: Bruno Pena <brunompena@gmail.com>
2018-03-01 18:31:17 +01:00
Daniel Beer
d54d6ec6c0
Merge pull request #47 from brunompena/get_arg-single_quote
...
Add logic for single quote arguments (verbatim)
2018-02-28 13:47:52 +13:00
Bruno Pena
4401f60d91
Escape single quotes inside double quote.
...
Signed-off-by: Bruno Pena <brunompena@gmail.com>
2018-02-27 23:18:57 +01:00
Bruno Pena
ad8063166e
Added logic for single quote arguments (verbatim).
...
This can then be used to quote Windows paths that are passed to mspdebug
by Energia:
> mspdebug ... "prog 'C:\Users\Path with Spaces\...\file.hex'"
Signed-off-by: Bruno Pena <brunompena@gmail.com>
2018-02-27 22:55:05 +01:00
Daniel Beer
e88302e356
Merge pull request #46 from bradfa/trivial-spelling-fixes
...
Trivial spelling fixes found by lintian
2018-02-28 09:09:04 +13:00
Andrew Bradford
622ea72431
Trivial spelling fixes found by lintian
...
Signed-off-by: Andrew Bradford <andrew@bradfordembedded.com>
2018-02-27 11:50:41 -05:00
Daniel Beer
d49fad945e
Merge pull request #45 from bradfa/bus-pirate-misleading-indent
...
drivers/jtdev_bus_pirate: Fix GCC 7 misleading indent warning
2018-02-10 11:46:00 +13:00
Andrew Bradford
1ca3919a1c
drivers/jtdev_bus_pirate: Fix GCC 7 misleading indent warning
...
Indent the jtbp_close() function consistently with tabs in order to fix
for GCC 7's flagging of this warning:
drivers/jtdev_bus_pirate.c: In function ‘jtbp_close’:
drivers/jtdev_bus_pirate.c:189:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(write(p->port, &out_buff, 1));
^~
drivers/jtdev_bus_pirate.c:191:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
close(p->port);
^~~~~
Signed-off-by: Andrew Bradford <andrew@bradfordembedded.com>
2018-02-09 13:42:46 -05:00
Daniel Beer
973f0df956
chipinfo.db: update to add MSP430FR5969.
...
Changes contributed by Yuriy Vlasenko <drvlas@gmail.com>.
2017-12-05 11:52:35 +13:00
Daniel Beer
2b4b40938c
fet_db: support for more FRAM chips.
...
Patch contributed by Yuriy Vlasenko <drvlas@gmail.com>.
2017-10-24 11:01:46 +13:00
Daniel Beer
b9da911eae
Version 0.25.
2017-07-24 18:58:05 +12:00
Daniel Beer
21c0e7863c
Merge pull request #37 from CrazyCasta/config_fuses
...
Add a function to the device struct to handle config fuses.
2017-06-16 00:49:25 +12:00
Alex Orange
682d7ecc9c
Add a bus pirate driver.
...
This is extremely slow at programming things, but is very useful for
unbricking an MSP-FET430UIF if you have a bus pirate and no other
programmers around.
2017-06-14 13:53:03 -06:00
Alex Orange
8a1afe6c91
Add a function to the device struct to handle config fuses.
...
Also provide a getconfigfuses implementation for the pif based drivers (pif
and gpio).
2017-06-14 13:28:07 -06:00
Daniel Beer
33cd9ba4cd
Merge pull request #35 from eblot/rf2500_hidapi
...
HIDAPI implementation for Rf2500 (TI Launchpad) for macOS
2017-04-27 11:05:19 +12:00
Emmanuel Blot
2d5bafe3fc
Code cleanup
2017-04-26 16:24:28 +02:00
Emmanuel Blot
2bedf39532
Proper serial number management to select USB device
2017-04-26 13:04:34 +02:00
Emmanuel Blot
95dd38b52a
Replace libusb with hidapi on macOS
...
macOS won't let libusb access the RF2500 HID device, but hidapi does.
2017-04-25 19:30:17 +02:00
Emmanuel Blot
587dbf1516
Duplicate RF2500 transport for HIDAPI backend
2017-04-25 19:06:38 +02:00
Daniel Beer
0666a32517
Merge pull request #31 from xhpohanka/slac460s
...
Support for slac460s (loadDeviceDb)
2017-02-21 12:08:05 +13:00
Jan Pohanka
721a012e81
Support for slac460s (loadDeviceDb)
2017-02-17 08:44:19 +01:00
Daniel Beer
abced5d1b4
Merge pull request #30 from xhpohanka/rom_bsl
...
MSP430 BSL needs even counts and addresses
2017-02-17 09:55:39 +13:00
Jan Pohanka
bc57871a2e
MSP430 BSL needs even counts and addresses
...
According to (not very good) documentation and empiric testing
BSL expects sizes of buffers sends to both sides to be even.
The same applies to memory addresses.
2017-02-15 10:29:59 +01:00