 
					
				
		
 soledad
		
			soledad
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi,
First all, there is necessary to check the board, the LPCXpresso804 board is pre-programmed with a diagnostic demo program, which tests various features of the board.
Connect a micro USB cable from connector CN2 to a host computer or power supply to power up the board and run the demo program. Open a terminal emulator program (such as Teraterm or PuTTY), and look for a port with a name of the form “NXP LPC11Uxx VCOM ...”, and connect to it. Set the serial port for 9600 baud, 8 bits, no parity.
After you check the demo test, download the example codes for Keil from this link:
Unzip the file and double click to peripheral_examples under the LPC804-EX-CODE-KEIL\Keil_Projects folder
It is important to build the projects utilities_lib and peripherals_lib before any other example project.
Build the desired example project, in this case GPIO_interrupts
Load the code to flash memory
Debug the project
Run the project:
Please check the below options in "Options for target.."
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Sol,
Thanks for the detailed walk-thru, most helpful and it should be in the documentation :smileyhappy:. However, I'm good with all of that. What I'd be really keen to see are the settings you have in the 'utilties' tab, especially for the flash settings. When I try and debug the GPIO interrupts project I get this in the command window:
Build Project 'GPIO_Interrupts' - Target 'flash'
linking...
Program Size: Code=4464 RO-data=536 RW-data=28 ZI-data=612
".\Objects\GPIO_Interrupts.axf" - 0 Error(s), 0 Warning(s).
Build Time Elapsed: 00:00:00
Load "R:\\src\\LPC804-EX-CODE-KEIL\\Keil_Projects\\GPIO_Interrupts\\Objects\\GPIO_Interrupts.axf"
Erase Failed!
Error: Flash Download failed - "Cortex-M0+"
Flash Load finished at 18:13:52
and this is what I get when I navigate via the 'Options for target Flash button and move on to the the utilities tab. The problem is there is no obvious candidate for flashing. I have got the latest NXP pack installed via this link: http://www.keil.com/dd2/nxp/lpc804/#/third-party-download-dialog
Thanks for listening. Much appreciated.
 
					
				
		
 soledad
		
			soledad
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hello Sol
So that pack does not install correctly. It looks like it has some malformed content. The 'svdconv.exe' error log is here: https://pastebin.com/UNcxiw3U.
It would be _very_ helpful if you could show your flash utility settings BTW.
TAIA
