|
|
View previous topic :: View next topic |
Author |
Message |
3dfx
Joined: 24 Mar 2007 Posts: 6
|
pic bootloader question -(pc side) |
Posted: Sun Apr 29, 2007 8:01 am |
|
|
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
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
|
|
Posted: Sun Apr 29, 2007 8:18 am |
|
|
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 |
|
|
|
|
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
|