Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

PICDEM FSUSB demo failed to RESET board

Status
Not open for further replies.

lachick

New Member
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:

lachick

New Member
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!
 

Donatelos

New Member
Hello, in my opinion, that trouble caused by so simple reason as protection from writing in FSUSB Demo Tool.
 
Status
Not open for further replies.

EE World Online Articles

Loading
Top