Jump to content
43oh

Rickta59

Members
  • Content Count

    1,135
  • Joined

  • Last visited

  • Days Won

    71

Everything posted by Rickta59

  1. So have you spent more time thinking about what you are going to charge than it is going to take you to write this code? Better factor that into how much your real rate turns out to be. Sometimes I wish I had become a plumber. When someone's toilet or water pipe is broken they don't even ask how much. The just want it fixed and just fix it, now! I'm not sure if plumber friends ask for free work but I doubt it. I never have. But I certainly have friends that think my computer knowledge is just something I should offer for free. I tend to do fixed price bids. It makes both of us ha
  2. I've just been using the supplied binaries in CCS. I'm done flogging myself if they are already providing a solution
  3. The compiler that comes with Energia right now msp430-gcc (version 4.6.3) has a fairly small libc. Unfortunately, copyright issues prevent it from ever being upstreamed. The new RH compiler that you get with CCS 6.x mps430-elf-gcc (version 4.9.something) is using newlib to implement libc. Unfortunately, it doesn't produce the smallest code. The code generation on the newer compiler is fairly decent if you avoid the libc calls and do your own thing. -rick
  4. It depends on which msp430 you are using ... The g2553's only have 512 bytes of ram .. newer msp430s have more ram and could support some dynamic memory
  5. I mean the use of deployed vs employed
  6. : ) Is that what it means when one moves to AZ?
  7. The other problem seems to be its use of dynamic memory. This is also a major limitation of the msp430 chips (assuming you are talking about the g2 series) It seems like the MSP430 implementation is crippled in some way compared to the other platforms. Here it disables some of the DMP functions: https://github.com/jrowberg/i2cdevlib/blob/master/MSP430/MPU6050/MPU6050.cpp#L3042 -rick
  8. I think that the msp430 is a poor choice of host for this type of code. I just took a look at some of the library code and it seems to like to use floating point. The MSP430 isn't really a good choice for this type of math. Maybe the msp432 or one of the other cortex-m4 chips would be a better choice.
  9. There is the openmsp430 implemention on FPGA chips. Some seem to go to 100MHz http://opencores.org/project,openmsp430,area%20and%20speed%20analysis
  10. http://forum.43oh.com/topic/8851-use-energia-in-command-line/
  11. For less than $50 I can get a complete android tablet that would be able to do mp3/ogg/ etc + wifi + supplies battery and charger lcd and case ... http://www.geekbuying.com/item/Q88-Plus-7-inch-ALLWINNER-A33-Quad-Core-1-5GHZ-512MB-4G-Dual-Cameras-WIFI-BT-Phone-Tablet-PC---Black-342893.html
  12. I think the launchpad crowd is pretty tight with their wallets. I doubt you will have much luck at that price point.
  13. Just because you put the String object on the stack that doesn' t mean the managed string is on the stack. In fact using the code above you end up making multiple calls to new (really malloc in Energias case) Breakpoint 1, setup () at /tmp/build7151962017509443788.tmp/sketch_may24a.cpp:2 2 void setup(); (gdb) b malloc Breakpoint 2 at 0xe6da: file ./stdlib/malloc.c, line 32. (gdb) c Continuing. Breakpoint 2, malloc (size=11) at ./stdlib/malloc.c:32 32 ./stdlib/malloc.c: No such file or directory. in ./stdlib/malloc.c (gdb) where #0 malloc (size=11) at ./stdlib/malloc.c:32 Reading 64 byte
  14. You might want to check out System Workbench on openstm32.org. It is to st what CCS is to ti. http://www.openstm32.org/Downloading+the+System+Workbench+for+STM32+installer It integrates SPL and the CubeMXHal frameworks. It provides updates when they change.
  15. BTW: I think it probably a waste of time to do an Arduino API in ROM. There is no official API reference and it is subject to the whims of a 3rd party that doesn't seem to have any interest in using TI chips. I guess I was mainly pointing out what I think is a flawed driverlib strategy. -rick
  16. I'm suggesting that they implement the most efficient Arduino API and slam it into ROM. From what I've seen, I can mostly take any Arduino Library and make it work on most Arduino ports. The problem with the driverlib implementation from my perspective is that it assumes you know a lot about the underlying hardware. If you know that much about the hardware why would you bother to use the driverlib and worry about how someone else implemented the code or even that the code in ROM is consistent for different parts and revisions. Here is one of the MSP430FR5xxx examples: #include "dri
  17. Maybe the driverlib should look like the Arduino API, then it would be the most efficient implementation available. Direct support from ROM, so zero wait state and ready to go without any layers on top of what most people are doing with msp430ish chips.
  18. Seems like there are lots of questions and suggestions here http://www.amazon.com/KEDSUM-Arduino-Wireless-Bluetooth-Transceiver/dp/B0093XAV4U?ie=UTF8&psc=1&redirect=true&ref_=od_aui_detailpages00#Ask
  19. You might use a jumper wire and connect P1.1 to P1.2. Whatever you Serial.print() .. should show up on the Serial.read()
  20. So RX on the msp430g2553 should be connected to the TX on the BT device. and TX on msp430 to RX on BT device. Is that how you have it configured?
  21. If you remove the rx/tx jumpers it should have no affect on the ability to debug. You can't have two things connect to the tx rx pins. You should only connect the BT device. Why don't you post a picture of how you have it wired.
  22. You can't have both the Launchpad TX/RX connected and the BT device. Pull the jumpers and connect the BT device directly to P1.1 and P1.2
  23. We are all dating ourselves by responding to this post : )... This is the one I remember: I also have a metal ruler that was used for laying out formats for an IBM line printer. -rick
  24. Yes I see that. It should call your function. Have you tried to read the results back without Serial Event?
×
×
  • Create New...