Jump to content

All Activity

This stream auto-updates     

  1. Today
  2. Dear Cool Rebert: There is the same warning: <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default]. Could you tell me the way to clean the warning or how to set it ?
  3. If you're just after free shipping, the code OPT4FREE should work for the whole of 2018.
  4. Yesterday
  5. That's not an unusual length of time for CCS to compile, upload and run any program in the debugger.
  6. Last week
  7. I'm using ccs7.4, import Energia e18, choose blink example, use MSP-FET Flash Emulation Tool to program for IC msp430g2452. The code is working. it blink led. But take about 25second to begin running. I don't know why. i need some help.
  8. Matiatus

    Energia don't work on mac

    Just putting here a possible solution, in case another Mac user visits this post: If even verify doesn't work on Mac for an example, the reason is most probably the arduino-builder. To fix that issue: Install Arduino Software and right click to Show Package Contents. Find and copy Contents>Java>arduino-builder. Go to Energia and right click to Show Package Contents, paste and replace the copied arduino-builder with the one in Energia’s Contents>Java>arduino-builder.
  9. No need to file a github issue. It has already been done.
  10. I'm sorry but I do not know how to do it right. Can you do it. thank you very much
  11. You are right about the offset. It needs to be 0x20. Please github issue here: https://github.com/energia/msp430-lg-core/issues/65. Same for the I2C module. This is indeed also an error in the pins file.
  12. The TI store has 10% off selected LaunchPad and tools with free shipping for the next week. http://www.ti.com/store/featured/junemidyear2018.html?HQS=ecm-tistore-promo-junemidyear18-bhp-lp-null-wwe
  13. My previous post February 14 2018: Hello all I use actually the MSP430FR5994 Launchpad. I can not output characters with Serial1 on the P6_0 TXD Output. I have debugged the driver and i think the "#define AUX_UART_MODULE_OFFSET 0x60" in \variants\MSP-EXP430FR5994LP\pins_energia.h must be changed to : #define AUX_UART_MODULE_OFFSET 0x20 With this change : I have debugged with a scope and P1_0 output as trigger the uart interrupt routine for Serial1 on EUSCI_A1 internal eUSCI , and all characters are transmitted, but nothing on P6_0 which is always High. has Serial1 been tested? it would be nice If I can get help !
  14. And for the Serial1 bug , I do not know how to do it (to open the request) Sorry
  15. Could you explain please why in pins_energia.h, there is two #define for uart 0 and 1 which are #define DEBUG_UART_MODULE_OFFSET 0x00 and #define AUX_UART_MODULE_OFFSET 0x60 but in msp430fr5994 documentation the base adress for uart 0 is 5C0h and for uart 1 base adress is 5E0h. the offset is 5E0-5C0 -> 20h not 60h in previous post i have explained the problem and i have received no response. I have tested the uart1 acces with 20h offset and for me this is the right offset to acces the Uart1. Can i be wrong !!!!! and for the I2C two pin 9-10 you have this remark: So I'm not sure that the file does not contain some errors!! Thank you for you precious help
  16. estratos

    Serial1 on the MSP430FR2433

    For anyone interested, adding the following piece of code in pins_energia.h enables Serial1: static const uint8_t AUX_UARTRXD = 14; /* Receive Data (RXD) at P2.5 */ static const uint8_t AUX_UARTTXD = 15; /* Transmit Data (TXD) at P2.6 */ #define AUX_UARTRXD_SET_MODE (PORT_SELECTION0 | INPUT) #define AUX_UARTTXD_SET_MODE (PORT_SELECTION0 | OUTPUT) #define AUX_UART_MODULE_OFFSET 0x20 #define SERIAL1_AVAILABLE 1
  17. There are no issues with the variant's pins_energia.h. There is an "issues" or rather limitation on which ports attachInterrupt() can be called on. Right now that limitation is P1 through P4. The MSP430FR5994 does have interrupt capability on all ports and to be able to support this the underlying code needs to be changed. The implementation is in the file WInterrupt.c. I have filed an enhancement request here: https://github.com/energia/msp430-lg-core/issues/64. For the Serial1 question, this smells like a bug. Would you please be so kind to file a bug here: https://github.com/energia/msp430-lg-core/issues
  18. There are no errors, only warnings so the compilation was successful and you can upload the binary produces using the "Upload" button. It seems that you do not have the correct driver installed though. Please install the driver from here and read the instructions: http://energia.nu/guide/guide_windows/ The direct link to the driver is: http://energia.nu/files/ezFET-Lite.zip Robert
  19. Hallo, I have ordered the MSP-EXP430FR2433 from TI. While I am waiting I have installed the MSP-EXP430FR2433 board. I opened the ASCIITable .ino in Energia and clicked the V button. I get the following errors: Energia: 1.6.10E18 (Windows XP), Board:"MSP-EXP430FR2433LP" I:\EnergiaIDE\arduino-builder -dump-prefs -logger=machine -hardware "I:\EnergiaIDE\hardware" -hardware "C:\Documents and Settings\hmjswt\Local Settings\Application Data\Energia15\packages" -tools "I:\EnergiaIDE\tools-builder" -tools "I:\EnergiaIDE\hardware\tools\msp430" -tools "C:\Documents and Settings\hmjswt\Local Settings\Application Data\Energia15\packages" -built-in-libraries "I:\EnergiaIDE\libraries" -libraries "I:\Energia\libraries" -fqbn=energia:msp430:MSP-EXP430FR2433LP -ide-version=10610 -build-path "C:\DOCUME~1\hmjswt\LOCALS~1\Temp\build955a2213c49034f4193ce8bb7d81a022.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "I:\EnergiaIDE\examples\04.Communication\ASCIITable\ASCIITable.ino" I:\EnergiaIDE\arduino-builder -compile -logger=machine -hardware "I:\EnergiaIDE\hardware" -hardware "C:\Documents and Settings\hmjswt\Local Settings\Application Data\Energia15\packages" -tools "I:\EnergiaIDE\tools-builder" -tools "I:\EnergiaIDE\hardware\tools\msp430" -tools "C:\Documents and Settings\hmjswt\Local Settings\Application Data\Energia15\packages" -built-in-libraries "I:\EnergiaIDE\libraries" -libraries "I:\Energia\libraries" -fqbn=energia:msp430:MSP-EXP430FR2433LP -ide-version=10610 -build-path "C:\DOCUME~1\hmjswt\LOCALS~1\Temp\build955a2213c49034f4193ce8bb7d81a022.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "I:\EnergiaIDE\examples\04.Communication\ASCIITable\ASCIITable.ino" Using board 'MSP-EXP430FR2433LP' from platform in folder: C:\Documents and Settings\hmjswt\Local Settings\Application Data\Energia15\packages\energia\hardware\msp430\1.0.3 Using core 'msp430' from platform in folder: C:\Documents and Settings\hmjswt\Local Settings\Application Data\Energia15\packages\energia\hardware\msp430\1.0.3 Detecting libraries used... "C:\Documents and Settings\hmjswt\Local Settings\Application Data\Energia15\packages\energia\tools\msp430-gcc\4.6.5/bin/msp430-g++" -c -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=msp430fr2433 -DF_CPU=8000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP_EXP430FR2433LP -DENERGIA_ARCH_MSP430 -IC:\Documents and Settings\hmjswt\Local Settings\Application Data\Energia15\packages\energia\tools\msp430-gcc\4.6.5/include "-IC:\Documents and Settings\hmjswt\Local Settings\Application Data\Energia15\packages\energia\hardware\msp430\1.0.3\cores\msp430" "-IC:\Documents and Settings\hmjswt\Local Settings\Application Data\Energia15\packages\energia\hardware\msp430\1.0.3\variants\MSP-EXP430FR2433LP" "C:\DOCUME~1\hmjswt\LOCALS~1\Temp\build955a2213c49034f4193ce8bb7d81a022.tmp\sketch\ASCIITable.ino.cpp" -o "nul" "C:\Documents and Settings\hmjswt\Local Settings\Application Data\Energia15\packages\energia\tools\msp430-gcc\4.6.5/bin/msp430-g++" -c -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=msp430fr2433 -DF_CPU=8000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP_EXP430FR2433LP -DENERGIA_ARCH_MSP430 -IC:\Documents and Settings\hmjswt\Local Settings\Application Data\Energia15\packages\energia\tools\msp430-gcc\4.6.5/include "-IC:\Documents and Settings\hmjswt\Local Settings\Application Data\Energia15\packages\energia\hardware\msp430\1.0.3\cores\msp430" "-IC:\Documents and Settings\hmjswt\Local Settings\Application Data\Energia15\packages\energia\hardware\msp430\1.0.3\variants\MSP-EXP430FR2433LP" "C:\DOCUME~1\hmjswt\LOCALS~1\Temp\build955a2213c49034f4193ce8bb7d81a022.tmp\sketch\ASCIITable.ino.cpp" -o "nul" Generating function prototypes... "C:\Documents and Settings\hmjswt\Local Settings\Application Data\Energia15\packages\energia\tools\msp430-gcc\4.6.5/bin/msp430-g++" -c -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=msp430fr2433 -DF_CPU=8000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP_EXP430FR2433LP -DENERGIA_ARCH_MSP430 -IC:\Documents and Settings\hmjswt\Local Settings\Application Data\Energia15\packages\energia\tools\msp430-gcc\4.6.5/include "-IC:\Documents and Settings\hmjswt\Local Settings\Application Data\Energia15\packages\energia\hardware\msp430\1.0.3\cores\msp430" "-IC:\Documents and Settings\hmjswt\Local Settings\Application Data\Energia15\packages\energia\hardware\msp430\1.0.3\variants\MSP-EXP430FR2433LP" "C:\DOCUME~1\hmjswt\LOCALS~1\Temp\build955a2213c49034f4193ce8bb7d81a022.tmp\sketch\ASCIITable.ino.cpp" -o "C:\DOCUME~1\hmjswt\LOCALS~1\Temp\build955a2213c49034f4193ce8bb7d81a022.tmp\preproc\ctags_target_for_gcc_minus_e.cpp" msp430-g++: error: and: No such file or directory msp430-g++: error: Settings\hmjswt\Local: No such file or directory msp430-g++: error: Settings\Application: No such file or directory msp430-g++: error: Data\Energia15\packages\energia\tools\msp430-gcc\4.6.5/include: No such file or directory exit status 1 Fout bij het compileren van board MSP-EXP430FR2433LP Any help? Thank you, Henk Siewert
  20. I have posted the following remarks in Mars2018: "I use actually the MSP430FR5994 Launchpad. I can not output characters with Serial1 on the P6_0 TXD Output. I have debugged the driver and i think the "#define AUX_UART_MODULE_OFFSET 0x60" in \variants\MSP-EXP430FR5994LP\pins_energia.h must be changed to : #define AUX_UART_MODULE_OFFSET 0x20 With this change : I have debugged with a scope and P1_0 output as trigger the uart interrupt routine for Serial1 on EUSCI_A1 internal eUSCI , and all characters are transmitted, but nothing on P6_0 which is always High. has Serial1 been tested?" For the function attachInterrupt(), all I/O pins can not call the attached interrupt routine.. You can read/write I/O but not attach interrupt routine, interrupt is not called! I think the file variants\MSP-EXP430FR5994LP\pins_energia.h has too many false declaration!! But i am not specialist on Energia structure. I use Energia to program launchpads, i can debug my program but not energia ide (the last version 1.6.10E18).
  21. Please provide more information so others can help you! Information to Provide When Asking for Help
  22. Hello team Energia I already asked the question for the serial port, and I never had an answer. There is also one of the simplest primitives that does not work: attachInterrupt() To work around the problem, I used gpio.h and gpio.c. But I would prefer to use the Energia functions. Can someone now look into these two issues? Can we hope!!!!!!!!!!!!! thank you in advance
  23. Earlier
  24. zeke

    One Wire Controller booster

    Yeah, I built that. I was inspired by something similar a friend of mine created about ten years ago. I also found the book Programming Embedded Systems in C and C++ by Michael Barr to be exceptionally helpful. Chapter nine specifically. So, back when I discovered the loss of my marquee clock code, I went on a rampage to re-write the lost code. The first thing I did was figure out how to write a command line interface parser equal to or better than my friend's cli. Initially, for some reason, I wrote an AT command parser for the marquee clock. But, I found it to be unfriendly. So, I re-wrote it as a human friendly variant. I pulled that cli into this data logger when I decided to go on a sprint to develop this code. Now I am on a rampage learning how to program in PyQt5. I am hoping to have a proof of concept SCADA program. Hopefully, I will have something to demonstrate when I meet up with some friends at the end of the month.
  25. I am a student who come from China, today it is my first time to use Energia IDE, I meet the problem about compiling program into “MSP-EXP430F5529LP”. In China, I can't find the way to solve. Whatever I compile, there is the same problem, so that I can't use it. It is the details in the following: <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default] <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default] <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default] D:\MSP-EXP430F5529LP\Energia\energia-1.6.10E18\hardware\energia\msp430\cores\msp430\atof.c: In function 'atof': D:\MSP-EXP430F5529LP\Energia\energia-1.6.10E18\hardware\energia\msp430\cores\msp430\atof.c:71:9: warning: floating constant exceeds range of 'double' [-Woverflow] <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default] <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default] <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default] <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default] <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default] <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default] <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default] D:\MSP-EXP430F5529LP\Energia\energia-1.6.10E18\hardware\energia\msp430\cores\msp430\wiring_analog.c:59:0: warning: "DEFAULT_READ_RESOLUTION" redefined [enabled by default] D:\MSP-EXP430F5529LP\Energia\energia-1.6.10E18\hardware\energia\msp430\cores\msp430\wiring_analog.c:35:0: note: this is the location of the previous definition <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default] <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default] <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default] <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default] D:\MSP-EXP430F5529LP\Energia\energia-1.6.10E18\hardware\energia\msp430\cores\msp430\avr\dtostrf.c: In function 'dtostrf': D:\MSP-EXP430F5529LP\Energia\energia-1.6.10E18\hardware\energia\msp430\cores\msp430\avr\dtostrf.c:36:3: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default] <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default] <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default] <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default] <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default] <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default] D:\MSP-EXP430F5529LP\Energia\energia-1.6.10E18\hardware\energia\msp430\cores\msp430\Stream.cpp: In member function 'bool Stream::find(char*)': D:\MSP-EXP430F5529LP\Energia\energia-1.6.10E18\hardware\energia\msp430\cores\msp430\Stream.cpp:78:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default] <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default] <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default] <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default] <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default] <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default] <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default] 项目使用了 946 字节,占用了 (0%) 程序存储空间。最大为 131,072 字节。 全局变量使用了18字节,(0%)的动态内存,余留8,174字节局部变量。最大为8,192字节。 I have download "ti_msp430driver_setup_1.0.1.0" for windows. My email : w455752215@163.com If I can't find the solution, which means I can't use the open source software. Thank you.
  26. bluehash

    One Wire Controller booster

    I like that command line menu. Are you using your own homebuilt parser?
  27. zeke

    One Wire Controller booster

    If anyone is curious, I have been developing the edge router app in pyqt5 on linux. Here is one of the better tutorials that I have found on learning PyQt5. Apparently, there are two different sources to get PyQt5 from: PyQt5 from Riverbank Computing, and Qt for Python from Qt.com, which was originally called PySide(2) PyQt5 is a bit of a mind bender at the start, but it gets better as you climb the learning curve.
  28. zeke

    One Wire Controller booster

    I have been working on the software for the edge router for my data logger. Here is a short video of the various help menus in the system. OneWireDatalogger-HelpScreens.mp4
  29. energia

    MSP430G2 Drivers - Not Working on Mac

    I just now put the correct driver back on energia.nu. It got misplaced when moving things around. http://energia.nu/files/MSP430LPCDC-1.0.3b-Signed.zip Please install this driver as it is signed (the one on github is not). Unsigned drivers will not load in later versions of macOS which is probably the reason why you do not see any serial ports related to the LaunchPad.
  1. Load more activity
×