Quality RTOS & Embedded Software

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




Loading

Errors loading FreeRTOS LPCXpresso lpc1769

Posted by Leon Freimour on July 25, 2012
Having problems running the sample programs. Using Windows XP when I connect the board to the USB it finds new hardware connected , hence the USB port is working , also the red LED flashes, But it never loads the entire problem to flash error appears @ 57%. . The error dialog I get is "No Emulator / board available" lpc1769 is selected and shows up on the bottom of the LPCXpresso.


Thanks in advance !

RE: Errors loading FreeRTOS LPCXpresso lpc1769

Posted by Richard on July 25, 2012
Hmm. This is a very unusual problem. The issues that normally arise have symptoms of not connecting at all, or connecting but not being able to stop the CPU, but in your case you seem to connect and stop the CPU ok. I will get in touch with the CodeRed people to see if they have come across this before and, if not, I could send another board (although I have not seen this type of error before).

I will post back when I know something more...

Regards.

RE: Errors loading FreeRTOS LPCXpresso lpc1769

Posted by Leon Freimour on July 25, 2012
Thanks for answering so quickly , very excited to get going in embedded systems!

RE: Errors loading FreeRTOS LPCXpresso lpc1769

Posted by Richard on July 25, 2012
Ok - it is likely that it is not actually programming the flash at all. The percentage shown in the bottom right of the window when you start a debug session is for the whole debug start up process, only one of which is programming the flash, and programming the flash seems to start when the % shows 57%.

Can you provide the output from the IDE's console when you try to start a debug session please. You can just cut and paste it. It should look something like this:

LPCXpresso Debug Driver v4.0 (Feb 17 2012 17:57:25)
Looked for chip XML file in C:/devtools/nxp/LPCXpresso_4.2.0_264/lpcxpresso/bin/LPC1769.xml
Looked for vendor directory XML file in C:/devtools/nxp/LPCXpresso_4.2.0_264/lpcxpresso/bin/nxp_directory.xml
Found generic directory XML file in C:/devtools/nxp/LPCXpresso_4.2.0_264/lpcxpresso/bin/crt_directory.xml
nSRST assert (if available)
Executing in user flash.
Emu(0): Conn&Reset. DpID: 2BA01477. Info: T1S6RGRIA
SWD Frequency: 3000 KHz. RTCK: False. Vector catch: True.
Packet delay: 0 Poll delay: 0.
NXP: LPC1769 Part ID: 0x26113F37
Connected: was_reset=false. was_stopped=true
v Registered license, download limit of 128K
Writing 75412 bytes to 0000 in Flash (assumed clock: 4.0MHz)
Erased/Wrote page 0-7 with 32768 bytes in 6701msec
Erased/Wrote page 8-15 with 32768 bytes in 6905msec
Erased/Wrote page 16 with 9876 bytes in 1609msec
Flash write Done
nSRST assert (if available)
Executing in bootloader.
Stopped: Breakpoint #1



Regards.

RE: Errors loading FreeRTOS LPCXpresso lpc1769

Posted by Leon Freimour on July 25, 2012
Never starts just checks make

**** Build of configuration Debug for project Example01 ****

make all
make: Nothing to be done for `all'.

RE: Errors loading FreeRTOS LPCXpresso lpc1769

Posted by Richard on July 25, 2012
That is what will appear in the build output console. There are multiple consoles, but generally only one is shown at a time.

If you look at the window that you pasted that text from, in the top right corner there should be a set of icons (5 on my computer). One of the icons looks like an computer monitor, and has a little arrow by it. If you click the arrow you will see the other consoles, and will be able to select alternatives. Probably the one you want is MCU debug log.

Regards.

RE: Errors loading FreeRTOS LPCXpresso lpc1769

Posted by Richard on July 25, 2012
...one other thing. Have you rebooted your computer since installing the software?

Regards.

RE: Errors loading FreeRTOS LPCXpresso lpc1769

Posted by Leon Freimour on July 25, 2012
I found the dialog icon box with the arrow on the left , when I click to expand there are only 2 options 1) CVS 2) another dialog session. If I select that it shows the the same output I pasted on top before.

Is it normal for the red LED to flash with the USB port connected?

RE: Errors loading FreeRTOS LPCXpresso lpc1769

Posted by Richard on July 25, 2012
The only LED on the board is under the control of the application running on the MCU, so, if the board is shipped with test software already installed (probably) then yes it is likely the LED will flash.

My other question was about resetting your computer - did you reset it after installing the software?

Regards

RE: Errors loading FreeRTOS LPCXpresso lpc1769

Posted by Leon Freimour on July 25, 2012
Yes rebooted compute this morning. Do I need to configure any hardware software ? I installed right out of the box

RE: Errors loading FreeRTOS LPCXpresso lpc1769

Posted by Richard on July 25, 2012
I'm going to email you to see if we can set up a remote debug session.

Regards.

RE: Errors loading FreeRTOS LPCXpresso lpc1769

Posted by Leon Freimour on July 25, 2012
I got to leave for the day, tomorrow will work if you are available? .....thanks!


[ 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