CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Incompatibility between HID bootloader and CCSv4.105 code

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
campech



Joined: 08 Nov 2009
Posts: 1
Location: MX

View user's profile Send private message

Incompatibility between HID bootloader and CCSv4.105 code
PostPosted: Tue Mar 30, 2010 6:21 am     Reply with quote

Hello everybody:

I'm programming a PIC18F4550 using the Microchip USB HID bootloader v2.6a

When I use the old CCS 4.084 version to compile my code everything it´s ok the LED is blinking every 500mS, but when I compile the same code with version 4.105, nothing happened, the pic is dead

Here is my code :
Code:

//-------------------------------------------------------------------------------
#include "18f4550.h"
#fuses HSPLL,NOWDT,NOBROWNOUT,NOPROTECT,NOLVP,NODEBUG,USBDIV,PLL5,CPUDIV1,VREGEN,MCLR,NOPBADEN,WRTB,CPB

#use delay(clock=48000000)

#build(reset=0x1000,interrupt=0x1008)
#org 0x0000,0x0FFF {}

//-------------------------------------------------------------------------------

#define LED PIN_B1

void main(void)
{
set_tris_b(0b11111101);

   do{
output_toggle(LED);
delay_ms(500);
        }while(true);
}

//-------------------------------------------------------------------------------


And these are the captured images using HID Bootloader :

Code compiled with CCSv4.084


Code compiled with CCSv4.105


In the second image the lines "Erase complete" and "Programming started" not appearing Shocked

I hope somebody could help me
Thanks in advance
campech Smile
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group