energia / Energia

Fork of Arduino for the Texas Instruments LaunchPad's
http://energia.nu
Other
795 stars 672 forks source link

Sketches run very slowly on M430G2452 when compiled/uploaded from Energia 1.8.7E21 #1044

Closed reppad closed 5 years ago

reppad commented 5 years ago

General description

When I upload a sketch on my launchpad board with MSP430G2452 chip (not tested with 2553), the program runs very slowly. This behaviour is very visible on the blink example, the LED turns ON or OFF after long time (something like 10 seconds). When I upload the same sketch on the the same board with energia 0101E0016, there is no problem, the LED state change each second.

Describe the expected results.

Program running at normal speed when compiled/uploaded from Energia 1.8.7E21

Describe the actual results.

The program runs very slowly when compiled/uploaded from Energia 1.8.7E21

List the steps to reproduce the problem.

  1. connect the board to an USB port
  2. open the blink example (or any sketch) on Energia 1.8.7E21
  3. select the correct board and port in tools menu if needed
  4. clic on upload button
StefanSch commented 5 years ago

Hi, this is an issue which was fixed already a while ago but as there was no release in the mean time not in the release package so far - but i will go into the next version. If you would like to fix it know just take the wiring.c file out of the repository and replace it with your local version. https://github.com/energia/msp430-lg-core/blob/master/cores/msp430/wiring.c

reppad commented 5 years ago

Thank you very much, it works perfectly now !