admirlk

Members
  • Content count

    19
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by admirlk

  1. Cool, it is certainly cheap enough, that I will probably go ahead and order one. Not sure when I will get to use it, but it never hurts to have test gear.
  2. Since I am liable to have a lot of these, I figure it is best to just consolidate them all into one thread. I think I am fairly competent in C++, for desktop, but am new to embedded. My electronic knowledge is very basic, at best. Most of my questions will most likely concern the architectural, or electronic, elements of the msp430g2553 in general, since that is what I am working with, although they could be more general, or involve code, as I learn more. I am currently reading MSP430 Microcontroller Basics . If you are familiar with the book , you will know it involves a different chip and was probably written before the Launchpad came out(?). I am definitely not using the same board anyway. Instead of trying to use the on-board stuff, I am working with a breadboard, also. Everything else aside, this means that is not possible for me to just copy the code and see how it works. This brings me to stupid question #1. The second program involved using a button to turn the LED on/off. I figured out how to enable the internal pull up/pull down resistor, but did not find anything about how to set it to one or the other. Since what I did worked, is it safe to assume that the chip is smart enough to figure out witch one you want?
  3. That is exactly what I was looking for. Switching all at once would be better, but cannot have everything. I started with the value line workshop, but did not care for all the C&P involved. The book seems to give better detail on why you are doing something, as you are doing it. Plus it allows me to work on a breadboard, and figure out how I need to write the code to make it work, as my first question shows. Unfortunately I have not had time to move onto the next step; adding a second LED and button. I have taken a little time to look into logic analyzers, and found this one on ebay, that should work with sigrok. I assume that is what you all are referring to.
  4. I was hoping there was a setting, or something, I did not find. If I remember right, it was easy to switch back and forth in VS. I have a PDF that goes up to 0xff, on one page, so that is handier than using a calculator. I could probably whip up a converter to do the same easy enough also. I did that for converting to/from metric because I got tired of looking it up all the time. I hope to get past the LEDs eventually, but there is a lot more for me to learn, and I cannot just breeze through it all, like with Arduino. And before someone says look into Energia, I am not looking for the easy way out. I am hoping to eventually find employment.
  5. Hi, I have not gotten to interrupts yet, just just the cheap and dirty way the book describes. I need to wrap my head around bitwise operations first. I also need to get used to CSS. I never looked at registers before, except for the little assembly programing I have done, so I did not think to do so originally. I did find them, and found out why I got lucky, all the pins were set at the start. That leads me to another question: is there a way to switch to binary from hex? It would save me having to look at a chart to see what actually changes. veryalive, I have an analog scope, I think that would work as a limited logic analyzer? At this point I have only turned an LED on/off with a button, so there is not much to see with either one.
  6. Ahh, I kept missing that second part, and it makes sense. It is good to know that I just got lucky on my first try. Now I will not be scratching my head, next time when I would probably not be so lucky. Much thanks!
  7. Oops. I kind of mixed several things into one there. I should have said; I only have a 32bit Linux VM, so I would have to install a 64bit one. It seems to be working, on Windows, for now, so I should be OK. Going back to CCS6 will be the next thing I try, if I run into problems I cannot find a work around for. I am not sure what to make of the advice/problems part of CCS. Since the code I copied is supposed to be what comes installed with LP, it seems odd that it would show 8 problems with the code. It is either extremely picky, or TI did not do a very good job with the example code. I suspect it is a little of both.
  8. It appears that CCS requires certain Windows Updates to be installed, before it can be installed. I found one of the two missing ones, but Windows Updates have been broken for several years on my machine. In other words, the 26k file I found is at 0% after 10 minutes. The last time I tried a similar sized update, it was at 0% after 24 hours. I will leave this going for now, but am not expecting it to get past 0%. I noticed in another thread that the CCS6 license is now free and found the download for it. I am curious if an older version will have the same requirements, or not. I have had Eclipse installed within the last year or so, so if this has to do with Eclipse I am thinking it will work. If it has to do with the plugin, I might still be out of luck. Since this the "defacto" IDE, I would prefer to use it. Any help or advise is appreciated.
  9. I only have a 32bit Linux VM, buy I think I will be alright for now. I C&P'd the blinky code from the workshop onto a blank chip and everything seems to be working. Now the fun part begins, learning how to actually write the code myself.
  10. Thanks, I am used to these kind of problems, in general. At one time I had a dual boot Linux/Windows machine that did not have a C drive, I put Linux on that drive and installed Windows on E, or something. I am sure you can imagine the mess. I am mostly just venting here, and hoping someone might have had a similar experience and could speed up my troubleshooting. Or maybe it will help someone in the future. Cloud/internet applications tend to be troublesome for me also, due to an unreliable connection. Online installers rarely work for me, as one example. It looks like I can use http://dev.ti.com/tirex/#/ and download anything I might need, indirectly, so that is a better solution, for me, than using it outright. I should get my LP tomorrow, so I really will not know what kinds of problems I will have until after then.
  11. Following up. I found one similar case, and had several missing entries in the comfig file, as in the example. I think this was caused by having to restart the install. I uninstalled it, put it on the wrong drive in the first place, and it now starts up without a hitch. Then I started watching an intro video, to find my way around, and got stuck at the first step, resource explorer. It refuses to connect, so I get nothing. The help page: http://processors.wiki.ti.com/index.php/Troubleshooting_CCSv6#Resource_Explorer says to enter proxy settings, but I have no idea what that is expecting as I do not use a proxy, or just do not understand the terminology. Hopefully this will not end up being a problem.
  12. This is frustrating. Tried installing yesterday, and after telling me some file could not be deleted and I needed to delete them manually before continuing twice, the files were gone when I looked, the installer locked up. Actually it locked up much of my computer, sound was x'd out and Windows explorer was crashing. I ended up just restarting the computer. I just tried again, and I got a firewall popup this time. I assume yesterdays problems were related, since it completed this time. Unfortunately the program does not start. The attached log file has this in it: !ENTRY org.eclipse.osgi 4 0 2017-06-18 17:01:46.339 !MESSAGE Application error !STACK 1 java.lang.RuntimeException: Application "" could not be found in the registry. followed by a long list of available applications. Any Ideas on what I can do to fix this? 1497819705705.log
  13. Well that was a bust, the two updates that are supposed to fix it both said they were no applicable to my computer. On the bright side, the one I found for CCS did eventually install, and when trying to fix updates I found how to search for them, and the other one is for Vista, so I assume I can just ignore it. Hopefully all is good now.
  14. Thanks! I took a quick look,but this is going to take some time to do. Besides updates not working, I have not been able to shut down the machine, without turning it off, for just as long. Hopefully this will also fix other MS related problems I have. I will let you know how it all goes.
  15. Well, we are in the same boat then, so maybe it is even ones out. I just started writing my current project, desktop app, for real. I used no documentation in the "breadboard" versions, so I am having to go back to the APIs and relearn what I did. Unfortunately it is all sub-classes, at this point, so I am not sure where I added functionality for one operation, or another. Since I do not remember what order I added stuff in, I do not Know if things that are not working just need other sub-classes fleshed out, or if I am doing something wrong. I just need to remember to go back and document my real code when I figure out what the problem was.
  16. I know this is an older post, but it struck a "pet peeve" nerve. I recently went back to school, I had to learn how to use a calculator because they were not allowed in math class when I was in high school, and was surprised at how often people did not bother to even copy things by hand. When we had peer reviews, or otherwise were able to see each other's code, there was always at least one that was a direct c&p of code that did not even work. Had they copied it by hand, and read it in the process, they would have realized that it did not work. Keep in mind, these are simple school problems that have numerous examples on the internet. I have also seen, many times, where the code seems to have been intentionally written wrong, but someone who actually reads it will be able to fix it easily. When I have problems with code, I am often reluctant to ask questions because I do not want someone to just write it for me. I appreciate answers that simply point me in the right direction. On the other hand, with electronics, I tend to look for a more definitive answer. This is usually something like what size cap should I use, because I am trying to copy something that did not give the value, and I am just trying to get it to work, without ordering "one of each" or frying something. Personally, I appreciate everyone who tries to help me.
  17. I like cloud based apps even less. Maybe if I lived someplace where internet was more reliable I would feel different? Although old, I have a desktop machine with four HDDs, so space is not an issue, except for MS apps that insist on being installed to the C drive. For that matter, I do not care that much for apps that come with installers either. All that said, I do realize that there are some advantages to web/cloud based apps. The main project I am currently working on is a good example. It is similar to https://partsbox.io/ , but is meant to be used on a thumb drive, if desired. I simply cannot offer the easy insertion of parts from a main database. The GUI Composer there looks interesting, but that is also something I would prefer to do myself, and once I get started, something I already planned to do. Eventually I hope to figure out how to add WIFi, or Bluetooth, so it would not need to be tethered to a computer to work.
  18. Well, I just meant to lurk a bit, but since I had to sign up to read anything I might as well say hi and introduce myself. Unlike, probably most of you, I am mainly a software guy, at least in this stage of life. In several recent job searches, I found several MSP430 tags, so I thought I would look into it. I played with Arduino a little bit, which got me interested in electronics, but found it too simple, and unchallenging, not to mention not being able to just drop the chip in a project and go on to the next one. That is another thing that has my interest with the LP. I still have a lot of reading to do, to see if this is a direction I want to follow, so for now I will leave it there. Peace
  19. Thanks bluehash. cubeberg, not real surprised, this seems more like a real platform than Arduino. Web development is what I am trying to avoid, even though that is where most of the work is in my area. It is hard to get interested in developing web apps, when I dislike using them, for the most part.