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

pic bootloader question -(pc side)

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



Joined: 24 Mar 2007
Posts: 6

View user's profile Send private message

pic bootloader question -(pc side)
PostPosted: Sun Apr 29, 2007 8:01 am     Reply with quote

i m playing with ccs bootloader ,which is in library, on pic16f877a.
in hex file, words were puts in order strangely.

example;
Quote:
:1000000000308A000D29...

this is a piece of hex codes in hex file.

and these are hex codes in pic
Code:
3000 008A 290D ...

there is a rotation on two hex character.
0030 -----> 3000

which program is do this operation? ccs bootloader (pic side) or pc interface? i have never seen code ,which is do this rotaion, on ccs c library.i hope pc interface do it, isnt it?
Ttelmah
Guest







PostPosted: Sun Apr 29, 2007 8:18 am     Reply with quote

No 'rotation'. This is simply down to the byte order being displayed. Intel Hex, stores the data sequentially, LSB first. The 16bit word values you are showing, are being displayed MSB first, so the contents of the bytes are swapped over. This is simply down to whatever program you are using to display the byte values 'in' the PIC (presumably your programmer software). This is a display artefact, rather than 'real'.

Best Wishes
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