I purchased an Open1768 an NXP WaveShare LPC1768 to develop a product with Crossworks.
Flash Magic is Version 7.45.3128
The platform is supplied with a LPC ISP(mini) adapter. I am using FlashMagic as the programming application.
I create a new project and select
- An executable for NXP LPC1700 and save as LED1
In common project settings I set
- Additional Output Format as hex (needed for FlashMagic)
I confirm target Proc as LPC1768 and Oscillator Frequency as 12MHz
Everything else is default.
After creating project I edit main.c
LPC_PINCON->PINSEL0 = 0x000000; //Configure the Pins for GPIO;
LPC_GPIO0->FIODIR = 0xffffffff; //Configure the PORT pins as OUTPUT
LPC_GPIO0->FIOCLR = 0xffffff00; // Make all the Port pins as low
I build successfully (Thumb Flash Debug)
Using Flash Magic, I transfer the Hex file to the Open1768 Board.
Transfer is successful with verify.
I press reset but the LED's on P0 Bit [0:3] do not light. They are wired to light when bit is low.
I cannot see what I am doing wrong. I have tried on two boards with two ISP Programmers to no avail.
I would really love to purchase the full licenced version of Crossworks but there seems little support for this CPU in respect to newbies.
Any help would be very appreciated.
Project files are attached
thank you in advance Mark
Please sign in to leave a comment.