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 support@ccsinfo.com

Again Bootloader

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



Joined: 22 Aug 2005
Posts: 275

View user's profile Send private message

Again Bootloader
PostPosted: Wed May 02, 2007 4:05 am     Reply with quote

Hi,

I'm working around with a bootloader and PIC18F4520.

I'ts a version of CCS stay resident in my application.

There's no problem with small hex file but in one application where I use 99% of flash program memory SIOW give me the follow error after some seconds of download:

"Output buffer too small for block"

Where's the problem ?

Thanks for help,

Bye
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Wed May 02, 2007 4:16 am     Reply with quote

It looks like a problem with SIOW trying to send more data than some kind of internal buffer allows. I don't think it is related to your bootloader.

Which version of SIOW are you using? (see About menu). I can't find this error message in the version of SIOW supplied with CCS v3.249.


Have you tried another terminal emulator program like Procomm, etc?
Fabri



Joined: 22 Aug 2005
Posts: 275

View user's profile Send private message

PostPosted: Wed May 02, 2007 8:06 am     Reply with quote

Hi,

Siow version is 4.03 came with 3,249 release of compiler.
I change PC and the problem is the same.

I tryed with procomm but I haven't been using it and I can't realize how send hex file.
Fabri



Joined: 22 Aug 2005
Posts: 275

View user's profile Send private message

PostPosted: Thu May 03, 2007 9:35 am     Reply with quote

Hi,

Nobody had this problem ?
Anybody can help me ?

Regards,
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Thu May 03, 2007 9:54 am     Reply with quote

Like I said the error message is not present in SIOW supplied with v3.249, so I don't know where the message is comming from. My guess is it isn't SIOW causing your problems.

I searched Google for the exact string and only found 9 hits, some suggestions but not conclusive. Most promising is http://www.vericomcomputers.com/Support/ProfileFAQ.htm.

Is it possible you are using a USB to serial converter?
Fabri



Joined: 22 Aug 2005
Posts: 275

View user's profile Send private message

PostPosted: Thu May 03, 2007 10:47 am     Reply with quote

I have the same message with standard RS232 port and USB to serial converter. There's no any difference.

PC stop download at 12% and, after reset error message, the PIC send continuos 0x06 0x11 and 0x13 code on RS232 till power down.

I use loader.c resident in software and I suppose, during bootloader, PC overwrite loader.c program memory location. So the next step is program the PIC with ICD2 programmer.

In other application my bootloader work fine.

does loader.c is protected from write itself ?
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