Quality RTOS & Embedded Software

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




Loading

MinGW Simulator and LPCExpresso

Posted by digitalwiz on August 18, 2014

Has anyone run the MinGW simulator with NXP's version of Eclipse, LPCExpresso? When you try to debug RTOSDemo, it complains that no emulator is connected. Well, that's true. Anyone know the way around that? I suppose I should check the LPOpen forum too.

TIA


MinGW Simulator and LPCExpresso

Posted by rtel on August 19, 2014

I'm not sure what it is you are trying to do. LPCXpresso is highly tailored for embedded development using a cross compiler and Cortex-M target. When you build FreeRTOS for a Cortex-M host it generates Cortex-M instructions and runs on real hardware.

The MingW simulator port is built and executed on the host (no target) as it generates x86 instructions and does not attempt to simulate any hardware.

It may be possible to integrate the MingW compiler into LPCXpresso, in fact it probably is possible, but why would you want to? If you download the standard Eclipse distribution with the CDT then you should be all set to import the simulator project.

Am I missing the point?

Regards.


MinGW Simulator and LPCExpresso

Posted by digitalwiz on August 19, 2014

I've been using LPCExpresso with the LPC1769 board. I wanted to play around with the simulator and just ASSumed that LPCExpresso would be a useful tool for doing that. The simulator demo builds fine within LPCXpresso, you just can't run it. I'd really rather not download another IDE, but if that's the only way, so be it.


MinGW Simulator and LPCExpresso

Posted by rtel on August 19, 2014

If it is already built then it is just a matter of finding a way of creating a debug configuration.

On the speed bar (?) you will see a button with a little green bug on it, and an arrow to the right of it. If you click the arrow you will see "Debug Configurations" as an option. Bring up the the debug configurations dialogue box and you will have options in the left window such as "(NXP Semiconductors) MCU application" "C/C++ Application", etc.

What happens if you click the "C/C++ Application" option to create a debug configuration? You should be able to fill in the various tabs to point it at the PE (.exe) file generated by MingW and start a debug session.

No idea if that will work in LPCXpresso - but that is how it is done in vanilla Eclipse.

Regards.


MinGW Simulator and LPCExpresso

Posted by digitalwiz on August 19, 2014

Ha! That was too easy. Thanks for pointing me in the right direction.


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




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists