Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 28th June 2009, 07:17 PM   #1
Question PICDEM FSUSB demo failed to RESET board

Sorry another new user with very basic questions... I have the PIC18F4550 with the PICDEM FSUSB Demo Board. I'm trying to load a blinking light function below using the FSUSB Demo Tool in bootload mode. It successfully erases & programs flash but when I hit the execute button I get a WARNING - Failed to RESET board message and D1 & D2 LEDs are alternately flashing as they did with the FW that came installed on the card. I've tried reseting with the S1, S2 and even S3 buttons on the board but it doesn't change anything. Any suggestions other than give up will be appreciated

//
#include <p18cxxx.h> // Device specific header file

// Function Prototypes
//--------------------
void delay1(void);

// Main Code
//--------------------
void main(void)
{
// The D4 LED is driven by PORTD, bit3
LATD &= 0xF0;
TRISD &= 0xF0;
PORTD &= 0xF0;

// Loop forever to blink LED on/off
while (1)
{
PORTDbits.RD3 = 1; // Turn LED on
delay1();
PORTDbits.RD3 = 0; // Turn LED off
delay1();
}
} // end main()

//-------------------------
void delay1(void)
{
long int loop1 = 0;

for (loop1=0; loop1 <=30000; loop1++)
{
}
}

Last edited by lachick; 28th June 2009 at 07:22 PM.
lachick is offline  
Old 28th June 2009, 08:00 PM   #2
Thumbs up

I've been able to successfully load & run the blinking light function on the board with the IDE so I'll just use that path forward but if anyone knows anything about the demo board tool and could shed some light as to why they think the boot load mode wouldn't work for me it would be nice to know. Thanks!
lachick is offline  
Old 6th October 2009, 11:29 AM   #3
Default

Hello, in my opinion, that trouble caused by so simple reason as protection from writing in FSUSB Demo Tool.
Donatelos is offline  
Reply

Tags
board, demo, failed, fsusb, picdem, reset

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
PicKit 2 Demo Board FS speakerguy79 Chit-Chat 0 24th May 2009 03:03 AM
Help with PICDEM 2+ DEMO wuid Electronic Projects Design/Ideas/Reviews 4 2nd April 2009 07:08 PM
Ess8086 Demo Board abmas Micro Controllers 1 23rd November 2008 03:07 PM
Need help with ADC on 16f690 demo board c36041254 Micro Controllers 12 22nd September 2008 10:02 AM
Pic demo board josi Micro Controllers 8 11th April 2008 03:08 PM



All times are GMT. The time now is 09:30 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker