LED does not blink – Demo – Intel Galileo Gen 2

Hi, I have tried running the Intel Galileo Gen2 demo as it is found here (http://www.freertos.org/RTOSIntelQuarkGalileoGCC.html) using the latest version of the FreeRTOS source code (v.8.2.3) but the LED does not blink. I have tried both demos: blinky and full but even though I was able to successfully compile (using the GCC Cross Compiler for Linux hosts – i686-elf 4.9.1 – available at the link mentioned above) and run both, the on-board LED does not blink. Galileo is successful booting from SD Card and the serial console shows the expected information. I already tried understanding the code and mapping the GPIO table to registers and “GPIONums” to check de demo source code, but to no avail. Also, I did not modify the demo source code. I compiled exactly the same Eclipse project provided with FreeRTOS. Can someone give some information about this demo? Thanks!

LED does not blink – Demo – Intel Galileo Gen 2

You say “Galileo is successful booting from SD Card and the serial console shows the expected information”. By that, do you mean the boot menus are shown in the serial console, or do you mean that the output of the FreeRTOS demo is shown in the serial console? If you mean the FreeRTOS demo output is showing the serial console, then the application is definitely running – and it is just the LED output that does not seem to be functioning correctly. If only the boot menus are showing, then it might be the application is not actually running. If this is the case, do you have a debugger attached? The demo was created and tested on a Galileo Gen2, so the hardware should be the same, so I would not think it would be the mapping.

LED does not blink – Demo – Intel Galileo Gen 2

I mean that the FreeRTOS demo output is showing the serial console. It is running. It is just the LED output that does not blink. I really don’t know what is going on. The on-board LED was already tested with the Galileo’s Arduino interface, and it is working.

LED does not blink – Demo – Intel Galileo Gen 2

That is curious – on the assumption the hardware is identical I can’t see why it would not work. Are you able to step through the code to where the LED blinking is to see if there is anything obvious? Regards.

LED does not blink – Demo – Intel Galileo Gen 2

That is what I was doing before. I traced the execution flow from the main_blinky function to the initial GPIO route function, and everything seems fine. Then, I tried to check the GPIO mapping, expecting to find an error, but it seems fine too. Do you know if there is some Galileo’s firmware version requirement for FreeRTOS?

LED does not blink – Demo – Intel Galileo Gen 2

Do you know if there is some Galileo’s firmware version requirement for FreeRTOS?
I know when we first plugged it into the Arduino IDE we let it updates its firmware, but I’m afraid I don’t know what the version number was. Are you using the latest firmware? Would a different firmware somehow map the LED differently? Regards.

LED does not blink – Demo – Intel Galileo Gen 2

My board is stuck in the firmware 1.0.1 (the first one, the most recent is 1.0.4). When I try to update, the board goes bricked and I need to force recovery. I don’t know if newer firmware versions change the pin mapping (Intel’s documentation about Galileo is chaotic), but I will try with a different and updated board to check.

LED does not blink – Demo – Intel Galileo Gen 2

I tried with another board, with firmware v1.0.4, and it is working now. Thank you for the support.