Jump to content

jazz

Members
  • Content Count

    441
  • Joined

  • Last visited

  • Days Won

    21

Reputation Activity

  1. Like
    jazz reacted to bluehash in NXP and Freescale to Merge   
    Via EE Times
     
  2. Like
    jazz got a reaction from vin43 in What is the significance of Boot Strap Loader in MSP430?   
    There is Open Source Release section on wiki MSP Debug Stack linked page, that will lead you to TI open source slac460 MSP430 DLL. It contains PC side and micro side for TI FET's, so everything you want to know is there.
  3. Like
    jazz reacted to dylek in MSP430 Bootloader   
    Hi All !
    I am new in this forum so firstly I would like to say Hello
     
    About half year a go I was looking for MSP430 Bootloader for value line like MSP340G2553, unfortunately I was not able to find anything.
    Now when I entered this forum I see that there ware some works around this topic.
     
    Nevertheless I would like to share with you my MSP430 Bootloader which I was able to do from scratch using TI datasheets.
    It is not fully tested yet, but with simple "Hello world " program it works.
     
    Detailed description and svn repository you can find on my WIKI here:
    https://daniel.duchna.pl/index.php/Msp430_bootloader
     
    Please feel free to test it and any comments are welcome. 
    You can post here or add comments on my WIKI (after registration)
  4. Like
    jazz got a reaction from vin43 in What is the significance of Boot Strap Loader in MSP430?   
    BSL is covered by slau319 MSP430 Programming Via the Bootstrap Loader, and SBW / JTAG is covered by slau320 MSP430 Programming Via the JTAG Interface. As already mention BSL request some simple / cheap glue logic, with simple PC software side. SBW / JTAG need master device, and it is more expensive for sure than BSL implementation. In general, SBW / JTAG is used for developement, and BSL is used for firmware updates on finished product. With open SBW / JTAG access device is unprotected, and there is software / hardware JTAG fuse for disabling SBW / JTAG. With blown JTAG fuse, BSL is used for simple firmware updates on customer side. With 2xx devices there is ROM BSL, while with F5xx/6xx family devices BSL is stored in flash and full customization is possible. For example, my CDC BSL has AES.
  5. Like
    jazz got a reaction from yakkov in Can't get to Square One   
    AFAIK MSP430F5529 LP EZ-FET Lite is CDC+CDC composite device (one port for debugger and another one for USB-UART bridge). WinXP SP2  due to the bug (usbser.sys) are not able to work with  CDC+CDC composite device. I deeply dubt that this is not included in TI installation (if they use usbser.sys). Anyway, patch is here...
     
    Win XP SP2 composite upd.rar
     
    For firmware update on target device (MSP430F5529) without FET can be used USB BSL. Just download MSP430 USB Firmware Upgrade Example from... http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSP430_USB_Developers_Package/latest/index_FDS.html
     
    Plug USB cable from PC to USB target device connector (not FET). And for entering in USB BSL mode, there is no need to plug/unplug cable every time with pressed BSL button. It is enough to press RESET/BSL button together, first release RESET, and 1 second after release BSL.
  6. Like
    jazz got a reaction from jelledebock in Launchpad as USB to Serial programmer   
    Old MSP430G2 LP has 9600 bps limitation related to USB / UART bridge on board, not to MSP430 (that can go over 1 Mbps). There is no 9600 bps limitation in new MSP430x5xx LP's.
  7. Like
    jazz reacted to rebeltaz in just wanted to show off my latest clock :)   
    Ok... so compared to some of the projects I see on here, I feel like amateur hour at the Apollo, but.... Here goes:
     
    I love building clocks, but I have no use for time itself. So a long time ago, I thought of doing this project. It wasn't until I fell in love with the MSP430 that I dusted it off and got to it. I call this piece "Beyond Time & Space."  It is 12"x24" and every bit is custom built and hand painted.
     
    I would love to be able to post this to Etsy or something and sell a few, but with what I have in this, both in materials and time, I'd have to charge close to $600 for it and I doubt anyone would be willing to pay that
     
    I need to get better pictures of the actual finished product, but I enjoy it and I hope you guys do, too!
     

  8. Like
    jazz got a reaction from Soho in Uart configurator   
    I was playing last days with MSP5xx UART, and every time after changing baud rate, need to calculate configuration again, and again, and again...
     
    I write small program for making configuration depending on clock and baud rate. After generation, just press mouse button on first/second listing (nothing will happen) and use [CTRL]+[C] for copy listing to clipboard.
     

    MSP430UartCalc.rar
  9. Like
    jazz got a reaction from rampadc in Program MSP430 from memory card   
    I believe that one day my flasher (much faster / simpler / smaller than MSP-GANG, and affordable too) will work with any android mobile phone. So txt/hex firmware file will be transferred from PC to phone, and later flashed with flasher connected to phone, anytime, anywhere.
  10. Like
    jazz got a reaction from rampadc in Program MSP430 from memory card   
    I believe that one day my flasher (much faster / simpler / smaller than MSP-GANG, and affordable too) will work with any android mobile phone. So txt/hex firmware file will be transferred from PC to phone, and later flashed with flasher connected to phone, anytime, anywhere.
  11. Like
    jazz reacted to username in DAC GUI V2   
    Hey all,
     
    Round 2: This extends the peripherals of the MSP430 to a UART based ascii AT command set. For example, send "AT+GET_ADC" over the USB->Serial bridge to get all the ADC values returned. Since I released my first GUI there have been a couple others like it. You will find that this version's strength is that the underlying C driver set is my personal driver set which is quite powerful XD . I then wrote a C# GUI as a wrapper around this command set.
     
    Features Implemented: Digital IO, Analog I, PWM, SPI

     
    PWM Example:

     
    Steps to use:
    1. Download code & .exe file here: https://github.com/NateZimmer/ICBM
    2. Import C code into CCSV5.1 (haven't tested with other versions) and flash to launchpad.
    3. Ensure UART jumpers on the MSP430 Launchpad are set to Hardware based UART on a msp430g2553 launchpad Rev 1.5
    4. Run GUI and connect to launchpad.
    5. Enjoy!
     
    Skip to 10:35 for setup instructions:
     
     


     
    Todo:
    Implement DCO Calibration for better CLK accuracy
    Implement I2C
    Implement Graphing/Logging
    Implement more flexible spi chip select features
     
    Please let me know if this does not work for you
  12. Like
    jazz reacted to maelli01 in decode the LEGO power functions protocol   
    LEGO power functions is a system of electronic components, motors,
    lights, remote controls to power various LEGO models.
    The remote control works with IR, but works surprisingly well even
    when there is no direct visual contact. The handheld unit is small,
    has two joystick-buttons, and allows 4 different channels to be selected.
    Much cooler than a TV remote!
     
    Interesting for hacking, LEGO has made the protocol open source, so 
    anybody can play with it, as long as not making it commercial.
    The protocol can be found here:
    http://powerfunctions.lego.com/en-us/ElementSpecs/8884.aspx
     
    So I decoded the powerfuctions protocol with the launchpad/energia:
     
    Apart from the lauchpad, I only needed a IR receiver. I tested with 
    a Vishay TSOP38338, other sensors might work as well.
     
    The processor sleeps when doing nothing, wake up only when there is 
    something to do. It is low power, but not ultra low, since the IR
    receiver needs around 0.4mA.
     


    //example program f
  13. Like
    jazz reacted to greeeg in Custom EzFet Lite   
    Soldered up a new board. Works like a charm, unfortunately I don't know actually have any target boards to use this with, as it's a different pinout.
     

     
    Fuse is a 1206 footprint, but I ordered 0805's No big deal, just looks funny.
  14. Like
    jazz got a reaction from spirilis in TI MSP430 Wolverine now in production   
    I already made 2 boards, one with MSP40FR5949 and another with MSP430FR5959, for testing my flasher. Both TSOP (DA) packages have same pinout as older MSP430FR5739, except there is no external vcore cap.
    D:\msp430>flash -p com21 -f test_msp430fr5959.txt -w -v File: "test_msp430fr5959.txt" Address: 04400 Words: 32256 Size: 64512 bytes Get Device # JTID Fuse Device Core Hard Soft LotWafer DieX DieY 0 99 OK 6581 1106 30 30 E1271D07 2F00 1900 1 99 OK 6181 1106 30 30 C1F22407 2B00 2200 Write Time: 310 ms Speed: 202,9 KB/s Verify Time: 297 ms Speed: 211,9 KB/s Release Device Total Time: 750 ms D:\msp430>   First TI FRAM member with 128 KB, now waiting for non XMS part.
  15. Like
    jazz reacted to bluehash in CC3200 LaunchPad Discussion   
    @@jazz It is EVQ-11A04M from Panasonic. It is in the BOM list.
  16. Like
    jazz reacted to bluehash in CC3200 LaunchPad Discussion   
    CC3200-LAUNCHXL - SimpleLink Wi-Fi CC3200 LaunchPad

     

    43oh blog link. x-post from this 43oh forum.

     

    CC3200 Launchpad Features:

    CC3200 Wi-Fi application processor
    USB interface to PC for CCS/IAR using FTDI USB drivers
    Flash update over the USB using SimpleLink Programmer
    2 20-pin connectors enables compatibility with other TI LaunchPads with added functions
    Standalone development platform featuring sensors, LEDs and push-buttons
    Power from USB for the LaunchPad as well as external BoosterPack
    Operates from 2 AA alkaline batteries
    On-board antenna and U.FL connector selectable using a capacitor re-work
    Supports 4 wire JTAG and 2 Wire SWD
    GNU Debugger (GDB) support over Open On chip debugger (OpenOCD)
    BoosterPack headers

  17. Like
    jazz got a reaction from thomassss in BSL   
    MSP-FET430UIF is SBW / JTAG tool, not BSL. BSL password can be programmed by SBW / JTAG / BSL. If you want to play with BSL there is slaa535 LaunchPad-Based MSP430 UART BSL Interface where MSP430G2 LP can be used as BSL base.
     
     
    Yes
  18. Like
    jazz reacted to reaper7 in Mailbag   
    black is better
     

  19. Like
    jazz reacted to rampadc in Mailbag   
    High resolution is quite hard to get with my phone camera
    :
     
    and here's a close-up on the QFN pad: 

  20. Like
    jazz got a reaction from thomassss in BSL   
    SBW is able to blow the fuse and slau320 covering this, no need for JTAG and 4 extra wires.
     
    Open source TI FET's are able for JTAG fuse blow software update, for example using MSP-FET430UIF source for updating eZ-FET Lite. Function BlowFuseXv2.c from open source MSP430.DLLv3 ...
    /** BlowFuse Blow JTAG security fuse. After calling this function JTAG access is not possible anymore. inData: <tgtHasTest(8)> outData: - tgtHasTest: specifies if target device has TEST pin or not (bool) */ //! \todo implementation & rename to jtag access protection #ifdef MSP430_UIF HAL_FUNCTION(_hal_BlowFuseXv2) { decl_out_long short ret_value = 0; short bslValue = 0; StreamSafe stream_tmp; unsigned char stream_in_tmp[26]; unsigned short i =0; WriteMemWordXv2(0x182, 0x0003); ReadMemWordXv2(0x182, bslValue); if( (bslValue & 0x8000) == 0 ) { // Coppy incoming stream to forward it to HAL_ExecuteFuncletXv2 for(i=0;i<(sizeof(stream_in_tmp) - 4);i++) { STREAM_get_byte(&stream_in_tmp[i]); } // add Password to stream stream_in_tmp[i] = 0xDE; stream_in_tmp[i+1] = 0xAD; stream_in_tmp[i+2] = 0xBA; stream_in_tmp[i+3] = 0xBE; // Write password into device STREAM_internal_stream(stream_in_tmp, sizeof(stream_in_tmp), MESSAGE_OUT_TO_DLL, 0, &stream_tmp); HAL_ExecuteFuncletXv2(MESSAGE_NEW_MSG | MESSAGE_LAST_MSG); // Data from DLL Stream STREAM_external_stream(&stream_tmp); // now perform a BOR via JTAG - we loose control of the device then... test_reg SetReg_32Bits_(0x00000200); } else { ret_value = HALERR_UNDEFINED_ERROR; } return ret_value; } #endif #ifdef EZ_FET HAL_FUNCTION(_hal_BlowFuseXv2) { // fuseblow is not supported on eZ-FET return API_CALL_NOT_SUPPORTED; } #endif Blowing non-soft fuse on MSP430x2xx devices need also some hardware update. If 3 / 3.3 V are available on-board, voltage doubler can be used for Vpp (6 - 6.6V). Or external (6 - 7V) Vpp supply. For applying Vpp on device TEST pin can be used combination of digital transistor / P MOSFET, or P MOSFET with integrated GATE logic (for example MIC2514). Also, there are logic chips able for delivering 6.5V / 100mA, for example NC7WZ04.
     
    For example, adding fuse blow to custom eZ-FET Lite, that is @@greeeg working on (http://forum.43oh.com/topic/5530-custom-ezfet-lite), and where 3.3 V reg is on-board, is possible with adding voltage doubler (with true out disconnection when doubler is disabled, and connecting doubler output directly to TEST pin) and customizing software, with no much extra parts or need for resizing board.
  21. Like
    jazz got a reaction from thomassss in BSL   
    SBW is able to blow the fuse and slau320 covering this, no need for JTAG and 4 extra wires.
     
    Open source TI FET's are able for JTAG fuse blow software update, for example using MSP-FET430UIF source for updating eZ-FET Lite. Function BlowFuseXv2.c from open source MSP430.DLLv3 ...
    /** BlowFuse Blow JTAG security fuse. After calling this function JTAG access is not possible anymore. inData: <tgtHasTest(8)> outData: - tgtHasTest: specifies if target device has TEST pin or not (bool) */ //! \todo implementation & rename to jtag access protection #ifdef MSP430_UIF HAL_FUNCTION(_hal_BlowFuseXv2) { decl_out_long short ret_value = 0; short bslValue = 0; StreamSafe stream_tmp; unsigned char stream_in_tmp[26]; unsigned short i =0; WriteMemWordXv2(0x182, 0x0003); ReadMemWordXv2(0x182, bslValue); if( (bslValue & 0x8000) == 0 ) { // Coppy incoming stream to forward it to HAL_ExecuteFuncletXv2 for(i=0;i<(sizeof(stream_in_tmp) - 4);i++) { STREAM_get_byte(&stream_in_tmp[i]); } // add Password to stream stream_in_tmp[i] = 0xDE; stream_in_tmp[i+1] = 0xAD; stream_in_tmp[i+2] = 0xBA; stream_in_tmp[i+3] = 0xBE; // Write password into device STREAM_internal_stream(stream_in_tmp, sizeof(stream_in_tmp), MESSAGE_OUT_TO_DLL, 0, &stream_tmp); HAL_ExecuteFuncletXv2(MESSAGE_NEW_MSG | MESSAGE_LAST_MSG); // Data from DLL Stream STREAM_external_stream(&stream_tmp); // now perform a BOR via JTAG - we loose control of the device then... test_reg SetReg_32Bits_(0x00000200); } else { ret_value = HALERR_UNDEFINED_ERROR; } return ret_value; } #endif #ifdef EZ_FET HAL_FUNCTION(_hal_BlowFuseXv2) { // fuseblow is not supported on eZ-FET return API_CALL_NOT_SUPPORTED; } #endif Blowing non-soft fuse on MSP430x2xx devices need also some hardware update. If 3 / 3.3 V are available on-board, voltage doubler can be used for Vpp (6 - 6.6V). Or external (6 - 7V) Vpp supply. For applying Vpp on device TEST pin can be used combination of digital transistor / P MOSFET, or P MOSFET with integrated GATE logic (for example MIC2514). Also, there are logic chips able for delivering 6.5V / 100mA, for example NC7WZ04.
     
    For example, adding fuse blow to custom eZ-FET Lite, that is @@greeeg working on (http://forum.43oh.com/topic/5530-custom-ezfet-lite), and where 3.3 V reg is on-board, is possible with adding voltage doubler (with true out disconnection when doubler is disabled, and connecting doubler output directly to TEST pin) and customizing software, with no much extra parts or need for resizing board.
  22. Like
    jazz reacted to Lukasz Iwaszkiewicz in The any key   
    Hi
     
       My humble project implements button HID keyboard in fancy "emergency-button" casing, which you can reprogram to be any key or combination of keys you wish (open source hardware and software). It is made using Texas Instruments TIVA TM4C123 which is some kind of new incarnation of Stellaris micro as far as I know. The device was prototyped using Launchpad (http://www.ti.com/tool/ek-tm4c123gxl) which is great and I really love it. Then the PCB was designed (the launchpad schematic was invaluable) and programmed with the same Launchpad it was tested on. PCB mounted inside the case looks like that:
     

     
    The case is some (rather cheap like $8 here where I live) Chinese "emergency-button" which originally was meant to turn a machine off in case of accident or something:
     

     
    Firmware implements two interface USB HID device. HID Keyboard Descriptors were found on the Internet and modified by myself. Then additional software was made (GTK+ & C++) which interacts with the button (which at this time is also visible to the OS as ordinary keyboard) and enables the user to store almost any combination of keys (8 control keys + 6 regular keys) in the device. Finally after user presses the button the combination is sent. It may be Play/pause (original intention before the reprogramming idea), Power, or Ctrl-Alt-Del and so on. Like hardware inverted keyboard-shortcut. More info at http://www.iwasz.pl/electronics/the-any-key/ . 
     
    Oh, and of course this is an open source project, SVN repo links can be found in the original blog post somewhere near the top. 
    Best regards to everyone!
     
  23. Like
    jazz reacted to yosh in Mailbag   
    That's the best I can do for now ...
     


  24. Like
    jazz reacted to rampadc in Mailbag   
    PCBs from DirtyPCB.com arrive today. It's just like Elecrow, but $2 cheaper.
     

  25. Like
    jazz reacted to yosh in Mailbag   
    Second PCB from Oshpark...
    This is the first revision of a PCB I designed together with @@reaper7 - I had to order a new one because I "forgot" a power switch in the first layout :-D
    It's a TSSOP board for the G2553 with LDO (MCP1703), LiPo Charger (MCP73831) and EEPROM (24LCxxx). Dimensions of the board are 36x36 mm (as in all my PCBs) to match the iTead 0.96" OLED (and the Sharp Display, see post before).


×