Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Helloworld led doesn't blink as expected #71

Closed
RafaelLuz opened this issue Nov 23, 2018 · 3 comments
Closed

Helloworld led doesn't blink as expected #71

RafaelLuz opened this issue Nov 23, 2018 · 3 comments

Comments

@RafaelLuz
Copy link

I'm using Ubuntu 18.04. The installation instructions have worked and the samples have compiled. I copied the file HelloWorld.bin to my LPC1768 and restarted it. The program seems to work, but the led is supposed to blink every 0.2 seconds and for sure it takes more than 1 second. I played with values and It really seemed to work as expected except the frequency.

I'd like to program mbed offline and gcc4mbed seemed the best option but I'm afraid of errors like this.

Somebody knows how to correct this?

@adamgreen
Copy link
Owner

I will look into it. I seem to remember fixing an issue like this before.

In the meantime, you could try:

@adamgreen
Copy link
Owner

I could't reproduce the problem.

  • You could email me the HelloWorld.elf built on your machine which causes the problem and I could try using it here to reproduce the timing issue.
  • You could also try upgrading the firmware in the mbed's interface chip since it has caused problems with mbedOS's sleep handling in the past. Download http://mbed.org/media/uploads/simon/mbedmicrocontroller_21164.if. Copy this file to your mbed device and then power cycle it.

@adamgreen
Copy link
Owner

@electronicLight I am closing this bug since I can't reproduce the issue. If you get more information that can help me further investigate the issue, feel free to reopen.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants