Jump to content

All Activity

This stream auto-updates     

  1. Today
  2. MadMayonnaise

    tiny msp430 preemptive multitasking system

    Hi @zeke, Thanks for the reply. I've already checked the links. Can you also roughly explain the following code snippet? I know the concept of context switching and what needs to be done prior to it, but the following steps confused me a little bit. int* multistack = (int*) __get_SP_register(); int i=0; while(i<tasks-1){ int j = stacksize[i]; if (!j) j = 24; multistack -= j; *(multistack) = (int) taskpnt[++i]; // prefill in PC *(multistack-1) = GIE; // prefill in SR taskstackpnt[i] = (int) multistack-26; // needs 12 dummy push words Thanks..
  3. Yesterday
  4. zeke

    tiny msp430 preemptive multitasking system

    @MadMayonnaise They are called Function Pointer Arrays. I love them. I have been using them extensively to create my CLI - Command Line Interpreter. I can add a new command just by defining a new entry into an array. They are an alternative to the Gigantic Switch Statement style of coding. To get you started, here is an article from 1999 by Nigel Jones: How to Create Jump Tables via Function Pointer Arrays in C and C++ I also found the book Programming Embedded Systems in C and C++ by Michael Barr to be exceptionally helpful. Chapter nine specifically.
  5. Last week
  6. jcR

    Store values inside µc

    sehr gute Antwort😊!!!!
  7. JRDavisUF

    Energia/board upgrade changelist?

    Downgraded Energia from 21 to 18 and the problem still exists. Downgraded the board file from 5.23.1 to 5.6.3 and problem goes away ...
  8. venkatesh223

    MSP432P401R SD card interface

    Anybody please reply?
  9. JRDavisUF

    Energia/board upgrade changelist?

    I don't really get it, but if I change my declaration of time1 and time2 in my example to include "static": static time_t time1, time2; Then time2 gives the correct answer at least... Thu Aug 1 14:43:24 -1920291 Fri Jul 31 20:41:48 2015
  10. JRDavisUF

    Energia/board upgrade changelist?

    Lots more digging and it looks there is a time_t related issue. While trying to debug the problem, I tried running this example: https://github.com/rei-vilo/DateTime_Library/blob/master/Examples/Date_String/Date_String.ino These particular lines; // Fri, 31 Jul 2015 20:41:48 GMT myEpochRTC = 1438375308; Serial.print("Using default local time = "); Serial.println(convertDateTime2String(myEpochRTC)); Output this: Using default local time = Sat Jan 6 19:29:16 -1905047 which is consistent with the problem I am seeing in my test code that outputs the incorrect dates: Fri Mar 5 12:50:20 -1920835 Wed Sep 8 05:11:40 -848351 //test code #include "time.h" #include "RTC_Library.h" void setup() { // put your setup code here, to run once: Serial.begin(38400); time_t time1, time2; String result1, result2; // Fri, 31 Jul 2015 20:41:48 GMT time1 = 1438375308; result1 = convertDateTime2String(time1); Serial.println(result1); // Fri, 31 Jul 2015 20:41:48 GMT time2 = 1438375308; result2 = (String)ctime(&time2); result2.trim(); Serial.println(result2); } void loop() { // put your main code here, to run repeatedly: }
  11. NicholasLindan

    CoRTOS: An open source minimalist RTOS

    CoRTOS V 1.10 is now available on Sourceforge at: https://sourceforge.net/projects/cortos-simple/ V 1.10 adds general purpose counting/binary/signaling semaphores. It also fixes a bug in the context save/restore for the AVR processor. Documentation has had some minor improvements. If you are using an older version you should incorporate the update. The change from the old resources to the newer semaphores should be painless.
  12. dubnet

    Hello, New Here!!!

    Welcome to the forum!
  13. JRDavisUF

    Energia/board upgrade changelist?

    I'm using the MSP432 Launchpad (red). I2C seems to be working ok as I've got a oled display connected via the same I2C pins and that is working just fine. I've also tried swapping out the RTC module with an identical one and it's showing the same behavior, so it looks like some kind of software-related issue at this point. And FWIW, both the internal (on the msp itself) and external RTC (I2C) are showing the same behavior.
  14. Rei Vilo

    Energia/board upgrade changelist?

    Which board are you using? Have you had a look at the pins maps on the Energia website? On the MSP430G2553, the I²C port has migrated from pins 14/15 to pins 9/10.
  15. I've a code I've been working on a while that has worked fine with an older version of the Energia and the board file. When I recently upgraded Energia to 21 and the MSP432 board to 5.23.1 a bunch of things broke. I was able to determine one set of problems was caused by the SPI Mode0/1 bug being corrected. That is, since spi mode0 and 1 were switched, I switched them in my code. When the bug got fixed everything spi-related broke until I switched the modes back (to what they should have been in the first place). My latest problem is that my usage of the RTC no longer works. Attempts to read/set the clock (internal and an external DS3231) are not working correctly. Setting the time to unix time 0, yields "Thu Apr 23 19:16:16 198054" Something funky with the year for sure. (as an aside, anyone have ideas on this problem?) So this led me down the path of trying to figure out what changes were made in the upgrades of Energia and the msp432 board file. However, I've not been able to find a good source of the changelist-type information relating to these two things. Can someone point me to this? I'm guess this might be in github somewhere, but it wasn't really clear to me how to get at this info. For example, figuring out where/when the SPI modes got corrected. Also, I think it would be helpful to have some kind of "upgrade guide" that people could reference. That is, for example, saying things like: "If upgrading from an earlier version of XXX, you will need to swap anything related to SPI Mode0 and SPI Mode1", etc.
  16. Morgan

    Hello, New Here!!!

    I am a new user,nice to jion here
  17. venkatesh223

    MSP432P401R SD card interface

    Is it the same pin out as above or do i have to change it?
  18. Earlier
  19. venkatesh223

    MSP432P401R SD card interface

    Thanks for the above link, had no issues compiling. I connected the SD cad as shown in the screenshot below and yes i did change the CS pin to 13 as per msp432 but still in the serial monitor it says not initialized. And yes i did check the sd card in pc it did work and formatted it with fat32. Can you tell me what can be done? to make it work?
  20. venkatesh223

    MSP432P401R SD card interface

    no i havent. Ill get back after giving it a try. Thank you for your reply.
  21. Rei Vilo

    MSP432P401R SD card interface

    Have you tried the SD_TM4C library?
  22. jazz

    MSP4302553 problems

    Compare generated binaries by 32/64 bit version, and compare downloaded code to micro by MSP430-Flasher.
  23. venkatesh223

    MSP432P401R SD card interface

    hello there, Ive been trying trying to interface an sd card to msp432p401r but i get many errors. my task is top build a data logger where the sensor readings will be stored in a text file. So i tried basics first. First i tired to serial print the sd card info but had lot of errors (screenshot can be seen below). the files i used is attached in the rar file "SD", in that i tried the Card info example. Please can someone help me what is wrong with this code. Thanks SD.rar
  24. TheFwGuy

    MSP4302553 problems

    I fear is the incompatibility problem related to Linux but it seems extended also to MacOS. After loong time I'm trying to update a code I wrote years ago. I think I did use Energia vs. 11 on a 32 bit laptop. So I started from scratch, installing the latest Energia on my Ubuntu machine (64 bit). No errors, no problems. I was able to compile the code load it in the MSP4302553 via Launchpad. But the code din't run. Nothing. So I did the same on the Mac (MacOS 10.14). No installation errors, no warnings, I can compile and load the code in the MSP4302553. But is still not running. If I use the old Energia IDE on the 32 bit machine, it works without problems, i.e. I can compile and load the code on the MSP4302553 and it runs as expected. So it seems I can't use newer machines with Energia ? This is the load of the code from the Mac. /Applications/Energia.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Energia.app/Contents/Java/hardware -tools /Applications/Energia.app/Contents/Java/tools-builder -tools /Applications/Energia.app/Contents/Java/hardware/tools/msp430 -built-in-libraries /Applications/Energia.app/Contents/Java/libraries -libraries /Users/itsme/Documents/Energia/libraries -fqbn=energia:msp430:MSP-EXP430G2553LP -ide-version=10807 -build-path /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243 -warnings=none -build-cache /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_cache_351016 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.dslite.path=/Applications/Energia.app/Contents/Java/hardware/tools/DSLite -prefs=runtime.tools.dslite-8.2.0.1400.path=/Applications/Energia.app/Contents/Java/hardware/tools/DSLite -prefs=runtime.tools.msp430-gcc.path=/Applications/Energia.app/Contents/Java/hardware/tools/msp430 -prefs=runtime.tools.msp430-gcc-4.6.6.path=/Applications/Energia.app/Contents/Java/hardware/tools/msp430 -prefs=runtime.tools.mspdebug.path=/Applications/Energia.app/Contents/Java/hardware/tools/mspdebug -prefs=runtime.tools.mspdebug-0.24.path=/Applications/Energia.app/Contents/Java/hardware/tools/mspdebug -verbose /Users/itsme/Dropbox/Public/uvboxtimer_lworking/UVBoxTimer/UVBoxTimer/UVBoxTimer.ino /Applications/Energia.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Energia.app/Contents/Java/hardware -tools /Applications/Energia.app/Contents/Java/tools-builder -tools /Applications/Energia.app/Contents/Java/hardware/tools/msp430 -built-in-libraries /Applications/Energia.app/Contents/Java/libraries -libraries /Users/itsme/Documents/Energia/libraries -fqbn=energia:msp430:MSP-EXP430G2553LP -ide-version=10807 -build-path /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243 -warnings=none -build-cache /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_cache_351016 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.dslite.path=/Applications/Energia.app/Contents/Java/hardware/tools/DSLite -prefs=runtime.tools.dslite-8.2.0.1400.path=/Applications/Energia.app/Contents/Java/hardware/tools/DSLite -prefs=runtime.tools.msp430-gcc.path=/Applications/Energia.app/Contents/Java/hardware/tools/msp430 -prefs=runtime.tools.msp430-gcc-4.6.6.path=/Applications/Energia.app/Contents/Java/hardware/tools/msp430 -prefs=runtime.tools.mspdebug.path=/Applications/Energia.app/Contents/Java/hardware/tools/mspdebug -prefs=runtime.tools.mspdebug-0.24.path=/Applications/Energia.app/Contents/Java/hardware/tools/mspdebug -verbose /Users/itsme/Dropbox/Public/uvboxtimer_lworking/UVBoxTimer/UVBoxTimer/UVBoxTimer.ino Using board 'MSP-EXP430G2553LP' 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 Detecting libraries used... /Applications/Energia.app/Contents/Java/hardware/tools/msp430/bin/msp430-g++ -c -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=msp430g2553 -DF_CPU=16000000L -DARDUINO=10807 -DENERGIA=10807 -DENERGIA_MSP_EXP430G2553LP -DENERGIA_ARCH_MSP430 -I/Applications/Energia.app/Contents/Java/hardware/tools/msp430/include -I/Applications/Energia.app/Contents/Java/hardware/energia/msp430/cores/msp430 -I/Applications/Energia.app/Contents/Java/hardware/energia/msp430/variants/MSP-EXP430G2553LP /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/sketch/UVBoxTimer.ino.cpp -o /dev/null /Applications/Energia.app/Contents/Java/hardware/tools/msp430/bin/msp430-g++ -c -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=msp430g2553 -DF_CPU=16000000L -DARDUINO=10807 -DENERGIA=10807 -DENERGIA_MSP_EXP430G2553LP -DENERGIA_ARCH_MSP430 -I/Applications/Energia.app/Contents/Java/hardware/tools/msp430/include -I/Applications/Energia.app/Contents/Java/hardware/energia/msp430/cores/msp430 -I/Applications/Energia.app/Contents/Java/hardware/energia/msp430/variants/MSP-EXP430G2553LP -I/Applications/Energia.app/Contents/Java/hardware/energia/msp430/libraries/Wire /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/sketch/UVBoxTimer.ino.cpp -o /dev/null /Applications/Energia.app/Contents/Java/hardware/tools/msp430/bin/msp430-g++ -c -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=msp430g2553 -DF_CPU=16000000L -DARDUINO=10807 -DENERGIA=10807 -DENERGIA_MSP_EXP430G2553LP -DENERGIA_ARCH_MSP430 -I/Applications/Energia.app/Contents/Java/hardware/tools/msp430/include -I/Applications/Energia.app/Contents/Java/hardware/energia/msp430/cores/msp430 -I/Applications/Energia.app/Contents/Java/hardware/energia/msp430/variants/MSP-EXP430G2553LP -I/Applications/Energia.app/Contents/Java/hardware/energia/msp430/libraries/Wire -I/Users/itsme/Documents/Energia/libraries/LiquidCrystal_I2C /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/sketch/UVBoxTimer.ino.cpp -o /dev/null /Applications/Energia.app/Contents/Java/hardware/tools/msp430/bin/msp430-g++ -c -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=msp430g2553 -DF_CPU=16000000L -DARDUINO=10807 -DENERGIA=10807 -DENERGIA_MSP_EXP430G2553LP -DENERGIA_ARCH_MSP430 -I/Applications/Energia.app/Contents/Java/hardware/tools/msp430/include -I/Applications/Energia.app/Contents/Java/hardware/energia/msp430/cores/msp430 -I/Applications/Energia.app/Contents/Java/hardware/energia/msp430/variants/MSP-EXP430G2553LP -I/Applications/Energia.app/Contents/Java/hardware/energia/msp430/libraries/Wire -I/Users/itsme/Documents/Energia/libraries/LiquidCrystal_I2C -I/Applications/Energia.app/Contents/Java/hardware/energia/msp430/libraries/MspFlash /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/sketch/UVBoxTimer.ino.cpp -o /dev/null Using cached library dependencies for file: /Applications/Energia.app/Contents/Java/hardware/energia/msp430/libraries/Wire/Wire.cpp Using cached library dependencies for file: /Applications/Energia.app/Contents/Java/hardware/energia/msp430/libraries/Wire/utility/twi.c Using cached library dependencies for file: /Applications/Energia.app/Contents/Java/hardware/energia/msp430/libraries/Wire/utility/twi_sw.c Using cached library dependencies for file: /Users/itsme/Documents/Energia/libraries/LiquidCrystal_I2C/FastIO.cpp Using cached library dependencies for file: /Users/itsme/Documents/Energia/libraries/LiquidCrystal_I2C/I2CIO.cpp Using cached library dependencies for file: /Users/itsme/Documents/Energia/libraries/LiquidCrystal_I2C/LCD.cpp Using cached library dependencies for file: /Users/itsme/Documents/Energia/libraries/LiquidCrystal_I2C/LiquidCrystal.cpp Using cached library dependencies for file: /Users/itsme/Documents/Energia/libraries/LiquidCrystal_I2C/LiquidCrystal_I2C.cpp Using cached library dependencies for file: /Users/itsme/Documents/Energia/libraries/LiquidCrystal_I2C/LiquidCrystal_SR.cpp Using cached library dependencies for file: /Users/itsme/Documents/Energia/libraries/LiquidCrystal_I2C/LiquidCrystal_SR2W.cpp Using cached library dependencies for file: /Users/itsme/Documents/Energia/libraries/LiquidCrystal_I2C/LiquidCrystal_SR3W.cpp Using cached library dependencies for file: /Applications/Energia.app/Contents/Java/hardware/energia/msp430/libraries/MspFlash/MspFlash.cpp Generating function prototypes... /Applications/Energia.app/Contents/Java/hardware/tools/msp430/bin/msp430-g++ -c -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=msp430g2553 -DF_CPU=16000000L -DARDUINO=10807 -DENERGIA=10807 -DENERGIA_MSP_EXP430G2553LP -DENERGIA_ARCH_MSP430 -I/Applications/Energia.app/Contents/Java/hardware/tools/msp430/include -I/Applications/Energia.app/Contents/Java/hardware/energia/msp430/cores/msp430 -I/Applications/Energia.app/Contents/Java/hardware/energia/msp430/variants/MSP-EXP430G2553LP -I/Applications/Energia.app/Contents/Java/hardware/energia/msp430/libraries/Wire -I/Users/itsme/Documents/Energia/libraries/LiquidCrystal_I2C -I/Applications/Energia.app/Contents/Java/hardware/energia/msp430/libraries/MspFlash /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/sketch/UVBoxTimer.ino.cpp -o /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/preproc/ctags_target_for_gcc_minus_e.cpp /Applications/Energia.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/preproc/ctags_target_for_gcc_minus_e.cpp Compiling sketch... /Applications/Energia.app/Contents/Java/hardware/tools/msp430/bin/msp430-g++ -c -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=msp430g2553 -DF_CPU=16000000L -DARDUINO=10807 -DENERGIA=10807 -DENERGIA_MSP_EXP430G2553LP -DENERGIA_ARCH_MSP430 -I/Applications/Energia.app/Contents/Java/hardware/tools/msp430/include -I/Applications/Energia.app/Contents/Java/hardware/energia/msp430/cores/msp430 -I/Applications/Energia.app/Contents/Java/hardware/energia/msp430/variants/MSP-EXP430G2553LP -I/Applications/Energia.app/Contents/Java/hardware/energia/msp430/libraries/Wire -I/Users/itsme/Documents/Energia/libraries/LiquidCrystal_I2C -I/Applications/Energia.app/Contents/Java/hardware/energia/msp430/libraries/MspFlash /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/sketch/UVBoxTimer.ino.cpp -o /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/sketch/UVBoxTimer.ino.cpp.o Compiling libraries... Compiling library "Wire" Using previously compiled file: /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/libraries/Wire/Wire.cpp.o Using previously compiled file: /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/libraries/Wire/utility/twi_sw.c.o Using previously compiled file: /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/libraries/Wire/utility/twi.c.o Compiling library "LiquidCrystal_I2C" Using previously compiled file: /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/libraries/LiquidCrystal_I2C/LCD.cpp.o Using previously compiled file: /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/libraries/LiquidCrystal_I2C/LiquidCrystal_I2C.cpp.o Using previously compiled file: /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/libraries/LiquidCrystal_I2C/I2CIO.cpp.o Using previously compiled file: /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/libraries/LiquidCrystal_I2C/LiquidCrystal_SR.cpp.o Using previously compiled file: /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/libraries/LiquidCrystal_I2C/FastIO.cpp.o Using previously compiled file: /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/libraries/LiquidCrystal_I2C/LiquidCrystal_SR2W.cpp.o Using previously compiled file: /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/libraries/LiquidCrystal_I2C/LiquidCrystal.cpp.o Using previously compiled file: /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/libraries/LiquidCrystal_I2C/LiquidCrystal_SR3W.cpp.o Compiling library "MspFlash" Using previously compiled file: /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/libraries/MspFlash/MspFlash.cpp.o Compiling core... Using precompiled core: /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_cache_351016/core/core_energia_msp430_MSP-EXP430G2553LP_084b1a3e6edb04ffadc700f284b640ca.a Linking everything together... /Applications/Energia.app/Contents/Java/hardware/tools/msp430/bin/msp430-gcc -w -Os -fno-rtti -fno-exceptions -Wl,--gc-sections,-u,main -mmcu=msp430g2553 -L/Applications/Energia.app/Contents/Java/hardware/tools/msp430/include -o /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/UVBoxTimer.ino.elf /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/sketch/UVBoxTimer.ino.cpp.o /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/libraries/Wire/Wire.cpp.o /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/libraries/Wire/utility/twi.c.o /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/libraries/Wire/utility/twi_sw.c.o /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/libraries/LiquidCrystal_I2C/FastIO.cpp.o /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/libraries/LiquidCrystal_I2C/I2CIO.cpp.o /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/libraries/LiquidCrystal_I2C/LCD.cpp.o /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/libraries/LiquidCrystal_I2C/LiquidCrystal.cpp.o /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/libraries/LiquidCrystal_I2C/LiquidCrystal_I2C.cpp.o /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/libraries/LiquidCrystal_I2C/LiquidCrystal_SR.cpp.o /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/libraries/LiquidCrystal_I2C/LiquidCrystal_SR2W.cpp.o /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/libraries/LiquidCrystal_I2C/LiquidCrystal_SR3W.cpp.o /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/libraries/MspFlash/MspFlash.cpp.o /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/../arduino_cache_351016/core/core_energia_msp430_MSP-EXP430G2553LP_084b1a3e6edb04ffadc700f284b640ca.a -L/var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243 -lm /Applications/Energia.app/Contents/Java/hardware/tools/msp430/bin/msp430-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/UVBoxTimer.ino.elf /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/UVBoxTimer.ino.eep /Applications/Energia.app/Contents/Java/hardware/tools/msp430/bin/msp430-objcopy -O ihex -R .eeprom /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/UVBoxTimer.ino.elf /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/UVBoxTimer.ino.hex Using library Wire at version 1.0.1 in folder: /Applications/Energia.app/Contents/Java/hardware/energia/msp430/libraries/Wire Using library LiquidCrystal_I2C in folder: /Users/itsme/Documents/Energia/libraries/LiquidCrystal_I2C (legacy) Using library MspFlash at version 1.0.0 in folder: /Applications/Energia.app/Contents/Java/hardware/energia/msp430/libraries/MspFlash /Applications/Energia.app/Contents/Java/hardware/tools/msp430/bin/msp430-size -A /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/UVBoxTimer.ino.elf Sketch uses 11054 bytes (67%) of program storage space. Maximum is 16384 bytes. Global variables use 320 bytes (62%) of dynamic memory, leaving 192 bytes for local variables. Maximum is 512 bytes. /Applications/Energia.app/Contents/Java/hardware/tools/mspdebug/mspdebug rf2500 --force-reset prog /var/folders/98/vbq693jd3hn4q6rmmtg6dnr00000gn/T/arduino_build_521243/UVBoxTimer.ino.hex MSPDebug version 0.24 - debugging tool for MSP430 MCUs Copyright (C) 2009-2016 Daniel Beer <dlbeer@gmail.com> This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Chip info database from MSP430.dll v3.3.1.4 Copyright (C) 2013 TI, Inc. Trying to open interface 1 on 012 Initializing FET... FET protocol version is 30066536 Set Vcc: 3000 mV Configured for Spy-Bi-Wire Sending reset... Device ID: 0x2553 Code start address: 0xc000 Code size : 16384 byte = 16 kb RAM start address: 0x200 RAM end address: 0x3ff RAM size : 512 byte = 0 kb Device: MSP430G2xx3 Number of breakpoints: 2 fet: FET returned NAK warning: device does not support power profiling Chip ID data: ver_id: 5325 ver_sub_id: 0000 revision: 20 fab: a0 self: 0000 config: 00 Device: MSP430G2xx3 Erasing... Programming... Writing 4096 bytes at c000... Writing 4096 bytes at d000... Writing 2830 bytes at e000... Writing 32 bytes at ffe0... Done, 11054 bytes total Does it seems legit ? Any suggestion about what I can do (other than use the old system) ? Many thanks !
  25. Fmilburn

    MSP432P401R: example/library for gps

    Try replacing the call to software serial with Serial1 or other hardware serial.
  26. Yes, there is a way, by writing the corresponding bits to the right register, and having a delay after your code to give it time to stabilize. you may need to switch to a different clock while setting it up. I cant tell you how to do it in energia, since i do not use it.
  27. radcliffkaty1

    Industrial / commercial sensors

    It's old but a great conversation about sensors. Glad to see this post 😍
  28. thanks! that's exactly what i was looking for! one more question regarding this, is there a way that i can change the frequency without recompile the project? (for example, if the device reached X temperature, then run with 1.5mhz, if the device reached Y temperature, then run 3mhz and etc)
  1. Load more activity
×