Jump to content
43oh

Nolan

Members
  • Content Count

    28
  • Joined

  • Last visited

Everything posted by Nolan

  1. All, I have a gps device that outputs several other sensor readings (wind, heading, ect.). All of those strings are output in NMEA format strings. I am able to read these strings and also (with the TinyGPS library) I can parse them to pull what I need. Now the problem, I want to be able to send NMEA strings back at the device in order to tell it to output different NMEA string types. For example, sending "$PAMTC,EN,HDG" should enable the "$HCHDG" string on the device. Or sending "#PAMTC,QV" should query the software version number. My code to read from the device is: C
  2. Yes, I can upload code to the board fine. I have used the servo sweep example in the past. It moves the servo back and forth but it is very jumpy. As for the motor controller (https://www.pololu.com/product/1373/specs) I am trying to connect the RC control pin on the motor controller to the output of an analogWrite() pin on the MSP430 board. The controller will not even allow me to run because it determines it has a fault of the pwm signal coming it. The error is that the pwm signal has to large of a range (it is jumping between 30 and 3604. This is with me only using one value in the anal
  3. Oh, ok. So you are referring to software pwm as well. Maybe I have an error in my pwm values somewhere else. I tried using analogWrite() but it was not generating results on my motors. When i used a rc receiver the motor preformed fine.
  4. Where does it say that? I only see the one pin labeled PWM (pin 19). Will the servo library work on a motor controller that uses pwm but is not a 0-180 servo?
  5. I am using an MSP430fr5969. The board only has one hardware pwm available and it located on P1.2. For my application, I need to generate two different pwm signals to control two different motors. One of those is a servo, the other is a linear actuator but it is controlled through a motor speed controller that uses a pwm input (replicating that of an RC receiver). Can I use the servo library and attach a servo to any pin or does that pin have to have hardware pwm? I looked through the Servo.cpp file and it seems to be doing software serial. When i run servo examples, and hook the
  6. Ok. Understood. I have seen several libraries for Arduino that create software pwm on another pin. Is there a library that you would recommend that translates well to energia for this purpose?
  7. I am looking to run two motors via motor controllers that require pwm signals. I have learned how hardware and software pwm work. I also have learned what would be required to create a software pwm with a chip timer and clock in CCS. I am still however confused on whether this is required in energia and how I can tell what pins i am able to use. Using a MSP430fr5969: Can i simply use the analogwrite() function on a pin that allows for it to be used according to the pin map http://energia.nu/wordpress/wp-content/uploads/2014/10/LaunchPad-with-MSP430FR5969.jpg ? Does the analogw
  8. Another thing worth noting.... When the MSPFlasher is run, "the firmware of your FET is outdated" displays every time it is run. This even happens imediatly after a successful run to update it. Also, recently while updating the program from within energia: "tilib: MSP430_VCC: could not set device Vcc (error = 10) "tilib: device initialization failed"
  9. I have closed everything, re-run the in Energia "Update Programmer" tool, and have re-run the mspflasher cmd file. This only temporarily solved my problem. The error reoccurred after a few uploads. Rerunning both update methods did not solve the problem this time.
  10. I have replaced the files with those from the MSPFlasher folder. Still no success.
  11. Back to the drawing boards..... The Firmware update needed problem has resurfaced after only a few successful upload attempts. Running the mspflasher has the following results: -It informs me my software is out of date -It gives the option to update -I accept -It runs a successful update and writes to the board -It closes itself out Returning to energia to upload code, and the error in uploading still occurs.
  12. Thank you! This seems to have solved the problem for now. I will update again if the problem occurs again.
  13. Fred, I have downloaded the MSP flashers. I now have two folders "fetdrivers" and "MSP430Flasher_1.3.3." As a new programmer, I am unsure of where to go from here. Could you please provide some guidance on how to implement this.
  14. I uninstalled everything, re-installed from the website the newest version of energia and did not place any CCS files on my computer. The program was able to upload but then again at a seemingly random upload decided to not work and produce the same errors. I have the new version of the fr5969 board with energy trace. Again the errors occurred when working with the servo sweep program (although I am not sue this is related).
  15. "FET firmware update is required." "Re-run with --allow-fw-update to perform a firmware update." "tilib: device initialization failed" In addition a separate window appears with a message saying to update the TI programmer.
  16. No. I have deleted CCS from my computer completely. I am in Windows.
  17. HI, I have a MSP430fr5969 Board. I have written several program successfully to the board with Energia and have V2.0 or higher. On a random upload, I received an error message "FET firmware update is required", "Re-run with --allow-fw-update to preform a firmware update.", tilib: device initialization failed." A separate window also appears saying: "The firmware of your launchpad programmer needs an update. You will need to update......"tools" menu." When I use the Update Programmer button from the "Tools" tab, it fails to update the programmer on some occasions. On others it
  18. Success!!! I am now back tracking to find out which of the things worked since i foolishly tried multiple things at once. I am now able to (using your code from above) see the text numbers appearing in the Energia COM5 serial monitor without needing puTTY. Once I figure this out, do you mind if i type a summary of what we tried so that others in the same situation can run through the steps faster? It would of course include a link back to this blog and give full credit to you for all of the ideas. Thank you for your time. I will definitely be using this blog site in the future fo
  19. Sorry I could not respond yesterday. I got caught up in other work. The blink LED and dim LED examples both run fine on the board. I have rebooted my computer, would re-installing the boards original firmware (if possible) help?
  20. Updating the programmer, as you suggested, cleared away the errors. Now the program updates with no warning or messages other then "Erasing...Programming...Done, 3072 bytes total" However, Opening the software Serial monitor still shows a blank serial monitor.
  21. Ok, So i have disconnected the GPS entirely. I have put all of the jumpers back to the way you stated. The only jumpers not in place on the upper right section are the RTS and STS pins. I copied in the code that you provided. The code only uploads with the board plugged into the USB port on the right hand side of my laptop (the other side yields a "initialization failed" error. When the code does upload with the message " Done Uploading" and "No unused FET found" I then opened the serial monitor (ctr+sft+m) and made sure the right serial port was selected. The serial monitor port rema
  22. The MSP Application UART is on COM5.
  23. The GPS being used is a Sprakfun venus GPS. https://www.sparkfun.com/products/11058 We were connected to the four pins in the lower left corner of the board (grnd, power, Tx, Rx). I will try to connect this gps to an arduino later today and see if i can get serial communication working on that. Thanks, Nolan
  24. I have now completed both the test above and unfortunately, neither showed anything in the serial monitor. The first test I completed as stated. The second test i placed the following: Serial1.print("hello") into the void loop. I also tried this in setup following the serial1.begin. In addition I tried both those with Serial.print instead of Serial1.print -Nolan
×
×
  • Create New...