dlbeer / mspdebug

Debugging tool for MSP430 MCUs
GNU General Public License v2.0
187 stars 80 forks source link

FYI: Update chipinfo.db with slac460x #51

Closed tgtakaoka closed 6 years ago

tgtakaoka commented 6 years ago

This also modifies struct chipinfo's mclk_control to uint32_t, since it contains 32 timers' information.

The updated chipinfo.db has been extracted from slac460x.

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.

The msp-ds-dumpdb command also can dump device database with XML format as MSP430_DumpDeviceDb() do.

tgtakaoka commented 6 years ago

With this updated chipinfo.db, msdebug tilib can recognize rather new EXP-MSP430FR2311 and EXP-MSP430FR2433.

$ mspdebug tilib
MSPDebug version 0.25 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2017 Daniel Beer <dlbeer@gmail.com>
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Chip info database from MSP430.dll v3.12.0.604 Copyright (C) 2018 TI, Inc.

Using new (SLAC460L+) API
MSP430_GetNumberOfUsbIfs
MSP430_GetNameOfUsbIf
Found FET: ttyACM0
MSP430_Initialize: ttyACM0
Firmware version is 31200604
MSP430_VCC: 3000 mV
MSP430_OpenDevice
MSP430_GetFoundDevice
Device: MSP430FR2311 (id = 0x01fb)
3 breakpoints available
MSP430_EEM_Init
Chip ID data:
  ver_id:         82f0
  ver_sub_id:     0000
  revision:       10
  fab:            55
  self:           5555
  config:         10
  fuses:          55
Device: MSP430FR2311 [FRAM]
$ mspdebug tilib
MSPDebug version 0.25 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2017 Daniel Beer <dlbeer@gmail.com>
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Chip info database from MSP430.dll v3.12.0.604 Copyright (C) 2018 TI, Inc.

Using new (SLAC460L+) API
MSP430_GetNumberOfUsbIfs
MSP430_GetNameOfUsbIf
Found FET: ttyACM0
MSP430_Initialize: ttyACM0
Firmware version is 31200604
MSP430_VCC: 3000 mV
MSP430_OpenDevice
MSP430_GetFoundDevice
Device: MSP430FR2433 (id = 0x01c6)
3 breakpoints available
MSP430_EEM_Init
Chip ID data:
  ver_id:         8240
  ver_sub_id:     0000
  revision:       10
  fab:            55
  self:           5555
  config:         10
  fuses:          55
Device: MSP430FR2433 [FRAM]
dlbeer commented 6 years ago

Thanks for this, and for taking the time to produce new extraction patches!