Skip to content

Instantly share code, notes, and snippets.

@bandwidthcrunch
Created September 21, 2013 19:00
Show Gist options
  • Save bandwidthcrunch/6653213 to your computer and use it in GitHub Desktop.
Save bandwidthcrunch/6653213 to your computer and use it in GitHub Desktop.
mote play
1398 sudo mspdebug uif -d /dev/ttyUSB1 "prog sos.elf"
1399 sudo mspdebug uif -d /dev/ttyUSB1 gdb &
1400 locate msp430-gdb
1401 /home/manav/work/python-msp430-tools/scripts/msp430-gdb.py
1402 msp430gdb
1403 sudo apt-get install gdb-msp430
1418 ls reference/
1419 ls
1420 ls tools/
1421 ls tools/Mangler/
1422 ls tools/Mangler/src/
1423 grep -inr "0451" *
1424 vi hardware/msp430/libraries/USBSerial/descriptors.c
1425 grep -inr "432" *
1426 vi hardware/msp430/libraries/USBSerial/descriptors.c
1427 vi hardware/msp430/libraries/USBSerial/defMSP430USB.h
1428 ./energia --help
1429 find . -name usbutil
1430 find . -name usbutil*
1431 find . -name *usbutil*
1432 ls
1433 ls tools/
1434 ls tools/Mangler/
1435 ls tools/Mangler/src/
1436 ls
1437 ls examples/
1438 ls hardware/
1439 ls hardware/tools/
1440 ls hardware/tools/msp430/
1441 ls hardware/tools/msp430/msp430/
1442 ls hardware/tools/msp430/msp430/bin/
1443 ls hardware/tools/msp430/msp430/lib/
1444* ls hardware/tools/msp430/msp430/lib/mcpu-430x/
1445 ls
1446 ls lib/
1447 vi lib/preferences.txt
1448 ls
1449 ls reference/
1450 grep -inr "f432" *
1451 ./energia --help
1452 grep -inr "unable to find" *
1453 find . -name usb*
1454 find . -name *usb*
1455 find . -name *224*
1456 vi ./hardware/tools/msp430/msp430/include/msp430f5224.h
1457 vi ./hardware/tools/msp430/msp430/lib/ldscripts/msp430f2013/memory.x
1458 vi ./hardware/tools/msp430/msp430/lib/ldscripts/msp430f2013/periph.x
1459 ./energia --help &
1460 find . -name *2231*
1461 vi ./hardware/tools/msp430/msp430/include/msp430g2231.h
1462 sudo vi /etc/udev/rules.d/71-persistent-msp430.rules
1463 sudo adduser user plugdev
1464 sudo adduser manav plugdev
1465 sudo service udev restart
1466 lsusb
1467 dmesg
1468 udevadm
1469 udevadm info
1470 udevadm monitor
1471 ./energia &
1472 sudo vi /etc/udev/rules.d/71-persistent-msp430.rules
1473 sudo modinfo cdc-acm
1474 dmesg
1475 lsusb
1476 sudo modinfo cdc-acm
1477 modinfo cdc-acm
1478 modinfo cdc
1479 modinfo cdc-acm
1480 sudo modprobe ehci-hcd
1481 dmesg
1482 modprobe cdc-acm
1483 sudo modprobe cdc-acm
1484 dmesg
1485 lsusb
1486 sudo vi /etc/udev/rules.d/71-persistent-msp430.rules
1487 sudo /etc/init.d/udev restart
1488 dmesg
1489 sudo modprobe cdc-acm
1490 dmesg
1491 sudo modprobe cdc-acm product
1492 sudo modprobe cdc-acm idVendor=0451 idProduct=f430
1493 dmesg
1494 sudo modprobe cdc-acm idVendor=0451 idProduct=f430
1495 dmesg
1496 lsusb
1497 lsmod
1498 modinfo ti_usb_3410_5052
1499 sudo modprobe ti_usb_3410_5052 product_3410:430
1500 dmesg
1501 modinfo ti_usb_3410_5052
1502 sudo modprobe ti_usb_3410_5052 product_3410:430 vendor_3410
1503 dmesg
1504 sudo modprobe ti_usb_3410_5052 product_3410=0xf430 vendor_3410=0x0451
1505 dmesg
1506 lsusb
1507 sudo modprobe ti_usb_3410_5052 product_3410=0xf430 vendor_3410=0x0451
1508 dmesg
1509 ./energia &
1510 ls /sys/bus/usb/devices/6-2/idProduct
1511 cat /sys/bus/usb/devices/6-2/idProduct
1512 sudo -c echo2 > /sys/bus/usb/devices/6-2/bConfigurationValue
1513 sudo -c "echo 2 > /sys/bus/usb/devices/6-2/bConfigurationValue"
1514 sudo sh -c "echo 2 > /sys/bus/usb/devices/6-2/bConfigurationValue"
1515 dmesg
1516 sudo sh -c "echo 2 > /sys/bus/usb/devices/6-2/bConfigurationValue"
1517 dmesg
1518 sudo sh -c "echo 2 > /sys/bus/usb/devices/6-2/bConfigurationValue"
1519 dmesg
1520 sudo modprobe ti_usb_3410_5052 product_3410=0xf430 vendor_3410=0x0451
1521 dmesg
1522 ./energia &
1523 sudo modprobe ti_usb_3410_5052 product_3410=0xf430 vendor_3410=0x0451
1524 dmesg
1525 modprobe ti_usb_3410_5052 product_3410=0xf430 vendor_3410=0x0451
1526 dmesg
1527 modprobe ti_usb_3410_5052 product_3410=0xf430 vendor_3410=0x0451
1528 dmesg
1529 modprobe ti_usb_3410_5052 product_3410=0xf430 vendor_3410=0x0451 debug=1
1530 dmesg
1531 modprobe ti_usb_3410_5052 product_3410=0xf430 vendor_3410=0x0451 debug=1
1532 dmesg
1533 ls
1534 grep -inr "device matching" *
1535 ./energia
1536 ls
1537 ./energia &
1538 gdb
1539 ls -lrt
1540 cat 0x10000\ image.hex
1541 head image.hex
1542 head 0x10000\ image.hex
1543 msp430-objdump -m msp430 -D 0x10000\ image.hex > image.s
1544 ls -lrt
1545 cat image.s
1546 ls
1547 cat revisions.txt
1548 ls
1549 m4s init < image.s
1550 man m4a
1551 man m4s
1552 man 7 m4s
1553 man 7 undocumented m4s
1554 m4s
1555 which m4s
1556 cat /usr/local/bin/m4s
1557 perl -MCPAN -e shell
1558 sudo g-cpan -i GD
1559 perl -MCPAN -e shell
1560 sudo perl -MCPAN -e shell
1561 which m4s
1562 /usr/local/bin/m4s
1563 sudo perl -MCPAN -e shell
1564 /usr/local/bin/m4s
1565 sudo perl -MCPAN -e shell
1566 gdlib-config
1567 sudo apt-get install libgd2-xpm-dev
1568 sudo perl -MCPAN -e shell
1569 m4s
1570 sudo perl -MCPAN -e shell
1571 m4s
1572 sudo perl -MCPAN -e shell
1573 m4s
1574 m4s init < image.s
1575 ls -lrt
1576 cat 430static.db
1577 history
1578 m4s .summary
1579 m4s .callgraph.ps >foo.ps
1580 ls -lrt
1581 cat 430static.db-journal
1582 m4s init < image.s
1583 ls -lrt
1584 ls -lrta
1585 ls -lrt
1586 cat image.s
1587 ls
1588 m4s .lib.import.gnu >>/dev/null
1589 ls
1590 ls -lrt
1591 m4s macros
1592 m4s .macros
1593 m4s shell
1594 ps -ax
1595 mspdebug
1596 mspdebug --help
1597 ls -lrt
1598 xview 430static.db
1599 sudo apt-get install xloadimage
1600 m4s .macros
1601 msp430static
1602* msp430static
1603 msp430static shel
1604 msp430static shell
1605 ps -ax
1606 msp430static shell
1607 ls
1608 man m4s
1609 which m4s
1610 cat /usr/local/bin/m4s
1611 msp430static help
1612 msp430static --help
1613 msp430static graph
1614 history
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment