This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

GNU Blinky doesn't run on MCB2130

I can get the GNU blinky example to compile and download, but it doesn't work. The example was targeted at the LPC2106 so I had to change the GPIO references to port 1, as in the non-GNU example (which works fine). Any clues as to what I should look at?

Parents
  • Try expanding on what you mean by "It doesn't work", that doesn't give much information, now does it?

    I see that those examples use iteration loops to generate delays to make the blink perceptible to the eye. I also see that the non-GNU start-code configures the PLL and the GNU code does not.

    If "doesn't work" == "not blinking" then I would suggest that it is actually blinking but it is blinking too fast for you to be able to perceive it.

Reply
  • Try expanding on what you mean by "It doesn't work", that doesn't give much information, now does it?

    I see that those examples use iteration loops to generate delays to make the blink perceptible to the eye. I also see that the non-GNU start-code configures the PLL and the GNU code does not.

    If "doesn't work" == "not blinking" then I would suggest that it is actually blinking but it is blinking too fast for you to be able to perceive it.

Children
  • All the LEDs are lit, fully on 100% (checked with oscilloscope). I was really hoping that the supplied examples would just work, which is why I've been reluctant to delve in to the start up assembler code. I noticed that the gcc startup doesn't clear the bss segment and it doesn't copy _etext to _data, but neither seems strictly necessary for the blinky example.

    I've tried the debugger again, and now it just steps through the C source!

    Am I the only person to try the examples?