Jump to content

All Activity

This stream auto-updates     

  1. Yesterday
  2. I'm running into the same error with Catalina on a 2019 iMac. I'm using the early release 1.8.10E22 version of Energia. The board is a MSP-EXP430G2ET. Using board 'MSP-EXP430G2ET2553LP' from platform in folder: /Applications/Energia.app/Contents/Java/hardware/energia/msp430 Using core 'msp430' from platform in folder: /Applications/Energia.app/Contents/Java/hardware/energia/msp430 Another person in a thread said that many Java files were missing, so maybe E22 is not quite ready for prime time.
  3. I would build a digital audio player with the following characteristics: - it should read data from SD card only (up to 32GB size) - SD card will be formatted FAT32 - the root of SD card will contain folders only (named as album title/artist) - no subfolders will be allowed on SD card - each SD card folder will contain wav files only (named as title track) - only 16 bit / 44.1 kHz wav files will be allowed (CD quality) - music data should be read and managed synchronously these are my requirements...can anyone share examples related to it. thankyou
  4. Last week
  5. Sorry, but I don't know anything about openMSP430 and related 2-wire (not SBW, but I2C or UART based) interface that is used for updating device firmware. All I know about Energia setup for using non-compatible TI master device for updating target device firmware is already written in this topic.
  6. Hi Jazz, I wanted to know the exact procedure to use Energia with openMSP430? We are developing aan ASIC.we need to program it.Using bare tcl files from the authors seems to be little bit difficult.Can u share email I'd or watsapp contact I want to discuss
  7. Hello, Has there ever been a method developed for Energia that allows it to use an external crystal? I'd like to have the ability to enable a low frequency crystal as well as a high frequency crystal on the msp430fr5994. Does anyone have any recommendations for implementing this? Thanks,
  8. EDIT* Sorry, I somehow posted this in the Libraries section. Not sure how I did that. If there is a MOD available, please kindly move this into the appropriate section. Thank you. Hello Folks, I've had a TM4C123G LaunchPad microcontroller laying around for a few years since I had to purchase it for an introductory college course. I've moved into the land of Vixen Christmas light sequencing and realized I could use this little controller with its relays for a few light strands. However, I can't figure out how to get this device to speak with Vixen via serial. I used code from an Arduino forum that I thought would work, but it won't read the serial header that vixen sends (or at least I think that's what is wrong). I'm starting to get frustrated with this device and am wondering if it should just go out with the bathwater. I don't understand the topic well enough to differentiate between this device and an arduino, so I don't recognize code differences that are incompatible. Any help would be appreciated. This is the code and the error at the bottom. // *** diychristmas.org free software so long as this line remains in sketch! // Basically Vixen "generic" serial mechanical relay sketch // - Setup a generic serial controller to use this sketch // - Uses digitalWrite as this outputs LOW or HIGH no pwm values // - This is what is needed for a mechanical relay // Hookup the relay in order of channel definition // Define as many as you need // put channels (pins) in an array so we can use looping structures to control int channels[] = {27}; // There were more listed in the original code, but I only have one relay on pin 27. // Vixen information // speed for the com port for talking with player const long SERIAL_COM_SPEED = 115200L; // Generic Serial controller config - must be present, must match controller setup int CONTROLLER_HEADER[3] = {33, 34, 35}; // This is character !"# (hard to replicate in sequencer) // Relays // - most mechanical relays turn on when pin is low, off on high const int ON = LOW; const int OFF = HIGH; // these are program variables we need to use in multiple places const int SIZE_OF_HEADER = sizeof(CONTROLLER_HEADER) / sizeof(int); // no need to change const int CHANNEL_COUNT = sizeof(channels) / sizeof(int); // no need to change int buffer[CHANNEL_COUNT]; // no need to change going to hold relay output values void setup() { Serial.begin(SERIAL_COM_SPEED); // set the channel pins to output mode for (int channelIndex = 0; channelIndex < CHANNEL_COUNT; channelIndex++) { pinMode(channels[channelIndex], OUTPUT); } turnLightsOff(); powerOnSelfTest(); // watch your lights to make sure they are all going on in order } void loop() { waitForControllerHeader(CONTROLLER_HEADER); readSequenceData(); outputToLights(); } void turnLightsOff() { //turn them all off for (int channelIndex = 0; channelIndex < CHANNEL_COUNT; channelIndex++) { digitalWrite(channels[channelIndex], OFF); } } void outputToLights() { for (int channelIndex = 0; channelIndex < CHANNEL_COUNT; channelIndex++) { // we should only be seeing 255 and 0 but in case someone tried a fade // 48 is used for debug purposes. You can use the serial monitor to test // send this string !"#01010101 to turn on every other relay as 0 == dec(48) 1 == dec(49) if (buffer[channelIndex] > 48) { digitalWrite(channels[channelIndex], ON); } else { digitalWrite(channels[channelIndex], OFF); } } } void readSequenceData() { char buffer2[CHANNEL_COUNT]; int index = 0; while (Serial.available() < CHANNEL_COUNT) {} // We have enough data! for (int i = 0; i < CHANNEL_COUNT; i++) { int inByte = Serial.read(); buffer = inByte; Serial.write(inByte); } } void waitForControllerHeader(int header[]) { for (int i = 0; i < SIZE_OF_HEADER; i++) { // wait for serial available while (!Serial.available()) {} // Check the byte until it matches the CONTROLLER_HEADER byte int inByte = Serial.read(); if (inByte != CONTROLLER_HEADER) { i = -1; // wrong data set to "zero" } } // found the header! } // powerOnSelfTest - does a couple of checks to make sure everything turns on and off // - watch your lights, they should go on in order void powerOnSelfTest() { // This routines turns on and off each relay in order for (int channelIndex = 0; channelIndex < CHANNEL_COUNT; channelIndex++) { digitalWrite(channels[channelIndex], ON); // turn on one channel at a time delay(2000); digitalWrite(channels[channelIndex], OFF); } // This routines turns on each relay in order leaving them all on for .5 seconds for (int channelIndex = 0; channelIndex < CHANNEL_COUNT; channelIndex++) { digitalWrite(channels[channelIndex], ON); // all on test delay(500); // wait .5 seconds } delay(2000); // slight pause to check all on turnLightsOff(); } NOTE AFTER THE SKETCH IS WRITTEN: Sketch uses 4,908 bytes (1%) of program storage space. Maximum is 262,144 bytes. Global variables use 1,104 bytes (3%) of dynamic memory, leaving 31,664 bytes for local variables. Maximum is 32,768 bytes. DSLite version Configuring Debugger (may take a few minutes on first launch)... Initializing Register Database... Initializing: CORTEX_M4_0 Executing Startup Scripts: CORTEX_M4_0 GEL: CORTEX_M4_0: GEL Output: Memory Map Initialization Complete Connecting... Loading Program: C:\Users\Me\AppData\Local\Temp\build426139c31db1be34a53b2333cbe6d5ea.tmp/TestSwitchMode.ino.elf Preparing ... .text: 0 of 4908 at 0x0 Erasing Flash. .data: 84 of 116 at 0x132c: 83% Finished: 83% Setting PC to entry point.: 83% Running... Failed to load dynamic library: 'ftd2xx.dll' Success
  9. The FR5969 use a hardware serial interface and the buffer size is set to 16 byte here. Do do not think that this would be the issues as while data coming in also data a take out of the buffer from the software. Of course you can give it a try with a bigger buffer - just check the HardwareSerial.cpp file. Note: take the one in the Energia update directory: e.g. for windows c:\Users\xxxxxxxxx\AppData\Local\Energia15\packages\energia\hardware\msp430\1.0.5\cores\msp430
  10. Being apprehensive upon the arrival of your Buy Germany Driver’s License Online is very normal; however on the off chance that you have effectively finished your internet driving preparing and the necessary measure of 50 hours of in the driver's seat preparing, at that point there is nothing that you have to stress over. Keep your quiet and don't race into finishing the test. Contact details - ------------------------------ Business Name : Buy Driver License Country : Germany Pin Code :12305 What's App Contact : +49 1521 4338254 E-mail : info@buydriverlicense.com Website : www.buydriverlicense.com/
  11. Earlier
  12. Hello, I'm trying to get some code to upload to my MSP-EXP430F5529LP board. Following this forum post (I'm on Mac OS Catalina), I installed a pre-release version of Energia, and I get this error: Energia: 1.8.10E22 (Mac OS X), Board: "MSP-EXP430F5529LP" Sketch uses 706 bytes (1%) of program storage space. Maximum is 48128 bytes. Global variables use 18 bytes (0%) of dynamic memory, leaving 8174 bytes for local variables. Maximum is 8192 bytes. java.io.IOException: Cannot run program "___REMOVE___/DebugServer/bin/DSLite": error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) at java.lang.Runtime.exec(Runtime.java:620) at java.lang.Runtime.exec(Runtime.java:485) at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:11) at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:129) at cc.arduino.packages.uploaders.SerialUploader.runCommand(SerialUploader.java:383) at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:197) at cc.arduino.UploaderUtils.upload(UploaderUtils.java:77) at processing.app.SketchController.upload(SketchController.java:732) at processing.app.SketchController.exportApplet(SketchController.java:703) at processing.app.Editor$UploadHandler.run(Editor.java:2075) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.<init>(UNIXProcess.java:247) at java.lang.ProcessImpl.start(ProcessImpl.java:134) at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) ... 11 more An error occurred while uploading the sketch This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. What could be the issue? It seems like the directory that the program is trying to use is incorrect. (Maybe ___REMOVE___ is not supposed to be there or something?) Thanks in advance!
  13. Possible reasons: The ti/mw/sensors/SensorBmp280.h library is not designed for Energia. Other files may be needed. That's why I've recommended the Weather Sensors Library designed for Energia. I haven't read any mention to the Weather Sensors Library library before on this thread. For the ti/mw/sensors/SensorBmp280.h library, you may ask the E2E forum directly.
  14. @Rei Vilo as i wrote, i know about Weather Sensors Library and implementing communication with i2c sensors is straightforward. I was just wondering why I'm getting this error.
  15. I am trying to interface my MSP430FR5969 with a sim800l gsm. The following AT commands are sent to the gsm through the Serial1 UART (the responses are in blue): AT AT OK AT+COPS? +CO AT+CBC AT+CBC +CBC: The response i expect for AT+CBC is the strength of the battery in the format: +CBC: 0,00,0000 where the zeroes are replaced with the data. The AT+COPS? command should return a long string. It seems to me that not all of the message is making it from the gsm module. I found this exert for the arduino board on a guide for this gsm: Could this issue also apply to the MSP430? If so then how could I increase the size of the serial1? Or am i thinking this wrong? Any help is appreciated.
  16. Have a look at the Weather Sensors Library available at https://github.com/rei-vilo/SensorsWeather_Library
  17. yes, i forgot convert value to millivolts, whole code is: #include <driverlib/aon_batmon.h> ... void setup() { AONBatMonEnable(); ... } void loop() { int BATstatus = AONBatMonBatteryVoltageGet(); BATstatus = (BATstatus * 125) >> 5; ... } so I started researching libraries in ...\power\hardware\cc13xx\4.9.1\system\source folder. I know that even you @Rei Vilo,are the author of libraries for several sensors, but I tried to import #include <ti/mw/sensors/SensorBmp280.h> and then call SensorBmp280_init() in setup function but something is wrong: undefined reference to `SensorBmp280_init'
  18. Have you tried? It is that simple. But you may want to convert it into mV. See https://e2e.ti.com/support/wireless-connectivity/bluetooth/f/538/p/480930/1732219 The same code works on the CC1352 as well.
  19. just like this? #include <driverlib/aon_batmon.h> ... void setup() { AONBatMonEnable(); ... } void loop() { int BATstatus = AONBatMonBatteryVoltageGet(); ... }
  20. Ok, I understand but how can i read BATMON Registers in energia?
  21. Have a look at the AON always on functions on SWCU117H Chapter 18 Battery Monitor and Temperature Sensor.
  22. Hi everyone, how can i read VCC on cc1310 launchpad respectively cc1350 sensortag with energia? I tried this, but without success: int getVCC() { analogReference(INTERNAL2V5); int data = (int)map(analogRead(A0), 0, 1023, 0, 5000); return data; } @Rei Vilo what do you think?
  23. OmegaMan


    Hello, I'm developing an open source calculator. So far it has RPN/algebraic entry, scientific functions, complex numbers and keystroke programming. The next step is to develop a keypad that plugs into the BoosterPack connectors and a power supply to turn it into a hand held. The software is currently written in C but I'm going to port to C++ to include object-oriented programming. The long term goal is to develop an advanced graphics calculator with a computer algebra system that users can customise and add programs to. https://www.youtube.com/watch?v=Ev7-7Hwkang
  24. Hello, I'm developing an open source calculator. So far it has RPN/algebraic entry, scientific functions, keystroke programming and complex numbers. The next step is to plug a keypad into the BoosterPack connectors and add a power supply to turn it into a hand held. EDIT: I've placed this in the wrong category on the forum. Moderators please delete this post.
  25. I don't believe the FR2355 has timerA modules. The diagram at http://www.ti.com/product/MSP430FR2355 shows only four timerB modules
  26. Hi, I'm new here and I just started programming the TI MSP430FR2355. I have been struggling to get any examples of code I've found online for the use of Timer A to compile in CCS Studio, it always says everything related to Timer A is undefined. I just found this location on the TI website: http://dev.ti.com/tirex/explore/node?node=ANzAuV9QdJf4FZucFqNrMA__IOGqZri__LATEST I tried the code there to set up Timer B and it works!!! I notice there are no examples whatsoever on this page that use Timer A, but in all the documentation I have found Timer A is a thing on the FR2355... so what am I missing? For example f I try to compile anything with "TACCR0" it will say it is undefined... but if I change it to "TBCCR0" it compiles just fine. I feel like I am losing my mind here. I have found absolutely nothing on the internet from anyone else saying they can't get Timer A to work, but they can get Timer B to work. Unfortunately there seems to be little information on programming the FR2355, other than the official TI documents, seems like everyone else is using some other kind of MSP430. Thanks in advance for any help.
  27. By the way I tried to download the Energia link you recommended in the forum and it still does not work.
  1. Load more activity
  • Create New...