Jump to content
43oh

boseji

Members
  • Content Count

    22
  • Joined

  • Last visited

Everything posted by boseji

  1. Hello, I have started a project in github to create the scripted compile and download of mspgcc components. https://github.com/AdharLabs/mspgcc-build-linux This project would provide with examples for makefile based projects for Launch Pad and also for advance MSP430 processors. There is also a plan to provide an easy to use makefile generator script to help speed up the project development. For the easy of the users, I did the complete build and packaging of the MSPGCC + MSP430libc + MCU files and mspdebug. The same has been tested for Ubuntu Linux 12.04. Hope that this release sh
  2. Hello, I was able to successfully compile the complete mspgcc and mspdebug. This compile has been perfomed with the most updated gcc compiler GCC4.7 http://m8051.blogspot.in/2012/07/compiling-msp430-gcc-in-linux-upto-date.html However this has a special provistion that C++ language is enabled and the installation is in a custom location at user space. I wish if any one could verify the compile steps and let me know the feeback. As this was the first time I compiled with C++ enabled. Thanks,
  3. Hello, mspdebug has a flash-bsl driver. This helps to.program the Msp430 using the preprogrammed boot loader via a serial port. Initially the Win32version of mspdebug was unable to communicate with Msp430 using FT232 like I did using slau319a BSL_Scripter mod. So I am recompiling the Mspdebug to make this work. The first step is to initialize and enter the boot loader thats what I have achieved as of now.
  4. Hello, MSPdebug is now able to make the MSP430 enter into boot mode using the similar FT232 configuration as earlier. This is first step. Sill the Communication needs to be worked out to make it program the MSP430 using the FT232.
  5. Hello, I have successfully compiled the Mspdebug on windows using MinGW. Have a look at my detailed build: http://m8051.blogspot.com/2011/11/compiling-mspdebug-for-windows-using.html If it really works for the MSP430 BSL_Scripter that I am trying with http://www.43oh.com/forum/viewtopic.php?f=35&t=1853 then it would make MSP430F5310 as boot loadable as Arduino. I would test this and post an update on my findings.
  6. Hello, Another good news! Boot loader on the MSP430F5310 is working with FT232. No special configuration is required for the FT232. The Source code for the MSP430 BSL Scripter available in Appnote: slau319a However TI's BSL_Scripter needs modification to make it work with normal FT232. For now the I have stripped out the DFU functionality for MSP430F55XX series from TI's code. The new code can be compiled using MinGW. And hence should also be possible to compile on Linux platform with gcc4.4 or higher. Also TI's code does not include the exit from boot loader mode. You
  7. Hello, If you think that the regulator is the problem check the voltage at pin 1 of the TPS77301 regulator. The voltage on this pin should be approximately 1.18 or less as this is the reference we need to maintain. If that's not the case then the voltage would keep on adjusting.
  8. Hello, I have designed a small breakout board using the MSP430F5310. This is one of the General purpose controllers from TI. Here is the project hosting on Github: https://github.com/boseji/MSP430-LaunchPad-Innovation/tree/master/hardware/5310breakout The Schematics: https://github.com/boseji/MSP430-LaunchPad-Innovation/blob/master/hardware/5310breakout/Schematics.png Picture of the Board Here is the Product Page for MSP430F5310 http://www.ti.com/product/msp430f5310 This microcontroller can be programmed using the MSP430 Launchpad. http://www.43oh.com/forum/viewt
  9. Hello, My friend has faced the same problem. It was after me trying to get him to embedded design, that he bough his first MSP430 Launch Pad kit. But then it was not working in the same way as you said. I suggested a simple route: 1. Disconnect the LaunchPad board from the PC 2. Remove the Socketed MCU 3. Use capacious amounts of IP(Isopropyle Alcohol) to clean the LaunchPad on both sides. (Take care for ESD damage) 4. Let is dry for some time till all the IP on the board has vaporized 5. Now remove the All Programming jumpers on J3 6. Connect the Board to PC a. Check it is being
  10. Hello, This is a Great Idea. I have not yet finished my MSP430F5310 board. I think I can modify it for making it into a shield for Launchpad. Check out my project on github: https://github.com/boseji/MSP430-Launch ... 10breakout Here is a schematics snapshot: https://github.com/boseji/MSP430-LaunchPad-Innovation/raw/master/hardware/5310breakout/Schematics.png Added the Project Post: http://www.43oh.com/forum/viewtopic.php?f=35&t=1853
  11. Hello, A few post from my blog: http://m8051.blogspot.com/search/label/MSP430 Might be helpful.
  12. Hello, I just found out that NJC's LaunchPad MSP430 blog have done the same thing for DEV.BO. Thanks to them the Image is quite clear and helpful. :thumbup: For More Info Refer to this link: http://www.msp430launchpad.com/2011/10/programming-devbo-and-external-targets.html
  13. Hello, There is some good news from my side that I would like to share in this same context. I have tested MSP430 LaunchPad to successfully program MSP430F5310, MSP430F5418 and MSP430F5438 over SBW!! :thumbup: I would detail the setup in my blog. These are all bigger microcontroller and have lots of features. They are the ones I use to make embedded products at work. Some of them can give a battery lifetime of 5years on 2.4G Wireless networks. Well now I can use them at home too. Thanks to TI , MSP430. And a Big Thanks to the 43oh Community :clap: I have new board c
  14. Thanks Got the solution: viewtopic.php?f=10&p=1803#p1803 Many thanks to NatureTM..
  15. Hello, Recently working on upgrading my Samay project, I wanted to use the Value Line controller MSP430G2331. For compiling the code I use CCS 4 version with all recent updates. The MSP430 standard header used for this was msp430g2331.h. Now I wanted to upgrade the CPU clock to 1MHz but also wanted to try out 4/8/16MHz. However while compiling there were errors as I tried to load the BCSCTL1 and DCOCTL registers with the Frquency constants: CALBC1_16MHZ and CALDCO_16MHZ respectively for 16MHz. Looking into the MSP430G2331.h file, I saw that the pointers only defined to CALBC1_1MHZ &a
  16. Hello, I think there is an issue with you using the WDT as an Timed interrupt source. in: // code also basically stolen from the temp sensor program #pragma vector=PORT1_VECTOR __interrupt void PORT1_ISR(void) { P1IFG = 0; P1IE &= ~BIT3; /* Debounce */ WDTCTL = WDT_ADLY_250; IFG1 &= ~WDTIFG; /* clear interrupt flag */ IE1 |= WDTIE; In order to correctly accept for the Debouce you need to exit the interrupt or use the TimerA or a simple For loop. Have a look at my post. I have come across this problem earlier and got it re
  17. Hello, Thanks for your Reply I have been able to successfully solve the problem of button de-bounce. This goes in two phases- Hardware : I attached the 10nF Caps to the button helps to reduce the chattering. Software : I fixed up some code with a Delay for De-bounce and checking the bits at proper times. Listed below are the code snippets: .... #define BTN1 BIT4 #define BTN2 BIT3 .... unsigned int button; .... void main() { ...... P1OUT |= BTN1+BTN2; // Btn1,Btn2: P1.4,P1.3 set, else reset P1REN |= BTN1+BTN2; // Btn1,Btn2: P1.4,P1.3 pullup P1IE
  18. Hello, Once suggestion that I would like to add here is that if we make the two launch pads stacked in an off-set fashion then we get double the chips plus more IO. The question remains how the chips interact. I have a solution, try One-Wire protocol. Not good for fast comm but enough for 200KHz. I tested with two MSP430F2013 tied on a single port (P1.0 for me) line with internal pull-up disabled. Bi-directional comm is possible but I made one micro master and another slave. I plan to use this as a part of my Small sensor network that I use for data-logging of various weather parameters.
  19. Hello, Thanks for your suggestion I would include this in my code and try it out. I am using this in one of my projects:Keeping Time with the MSP430. It got featured in this website. I would update the same and post it back. Warm Regards, Boseji http://m8051.blogspot.com
  20. Hello, I am trying to make the shortest Key denounce algorithm for the MSP430F2013. Listed below is a code: #include unsigned int button1,button2; #define BTN1 BIT4 #define BTN2 BIT3 . . . void main() { . . . //Initialization P1OUT |= BTN1+BTN2; //Btn1,Btn2: P1.4,P1.5 set, else reset P1REN |= BTN1+BTN2; //Btn1,Btn2: P1.4,P1.5 pullup P1IE |= BTN1+BTN2; //Btn1,Btn2: P1.4,P1.5 interrupt enabled P1IES |= BTN1+BTN2; //Btn1,Btn2: P1.4,P1.5 Hi/lo edge P1IFG &= ~(BTN1+BTN2); //Btn1,Btn2: P1.4,P1.5 IFG cleared
  21. Hello, I too am waiting for mine. But I have received the samples of MSP430G2231. Warm Regards, Boseji http://m8051.blogspot.com
  22. Hello, I would like to contribute and solve many of the common problems and gotchas that we come across while designing with MSP430. I have been working around this micro since 6years in my professional carrier and have seen it grow. Hope that my insight would grow as well as be beneficial to others. Warm Regards, Boseji http://m8051.blogspot.com
×
×
  • Create New...