1. I've loaded the bootloader into the PIC.
2. I've hooked up the serial input/output tool via RS232
3. I've successfully powered-up the PIC with bootload PIN active which results in message on screen saying 'waiting for download'.
4. I've downloaded a simple flashing LED program
5. Powered-up the board again.
Result - LED not flashing so didn't work
Fuses are matched in both files.
It's a CCS CAN bus dev board so the hardware is all ok.
Compiler version PCWH 5.017
Not sure what I'm doing wrong at the moment.
Any assistance would be appreciated.
Ttelmah
Joined: 11 Mar 2010 Posts: 19538
Posted: Thu Dec 04, 2014 8:06 am
Remember you need to build the program to be loadable. You can just build a program and load it.
Look at ex_bootload.c, which shows how a program that is to be loaded needs to be built.
jmaudley
Joined: 01 Feb 2011 Posts: 32 Location: 53
Working
Posted: Thu Dec 04, 2014 8:26 am
Missed BOOTLOADER.H
Thank you.
Ttelmah
Joined: 11 Mar 2010 Posts: 19538
Posted: Thu Dec 04, 2014 9:11 am
Good.
Nice things was your description was nice and clear so this seemed the obvious problem.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum