Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

LED does not blink - Demo - Intel Galileo Gen 2

Posted by rlino on October 23, 2015

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

Posted by rtel on October 24, 2015

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

Posted by rlino on October 24, 2015

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

Posted by rtel on October 24, 2015

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

Posted by rlino on October 25, 2015

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

Posted by rtel on October 25, 2015

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

Posted by rlino on October 25, 2015

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

Posted by rlino on October 26, 2015

I tried with another board, with firmware v1.0.4, and it is working now.

Thank you for the support.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS