View previous topic :: View next topic |
Author |
Message |
future
Joined: 14 May 2004 Posts: 330
|
.HEX files with comments |
Posted: Wed Jun 09, 2004 7:08 am |
|
|
By default, CCS includes a last line with ";processor name"
With that line, I am having problems with a bootloader not recognizing a valid structure.
Is there a way to prevent the compiler from doing this? |
|
|
Radix Guest
|
|
Posted: Wed Jun 09, 2004 7:29 am |
|
|
I don't know if it the processor id line can be turned off. Your bootloader should support the Intel hex file format.
The line before the processor line is of type 01, and indicates the end of the file.
Code: |
:00000001FF
;PIC16C72A
|
Hint: Write an application in Delphi that removes the last line, if your bootloader has problems with it? |
|
|
future
Joined: 14 May 2004 Posts: 330
|
|
Posted: Wed Jun 09, 2004 8:03 am |
|
|
Even if I knew delphi it would be a lot of work, I prefer to edit manually and remove the line. Every time I compile a new code I would have to open the program or edit the file...
The bootloader comes from proton picbasic, it is very nice, has DTR/RTS cpu reset support, command line etc... I managed to work with a 18f452 40mhz.
No other bootloader I tried have these features. |
|
|
Radix Guest
|
|
Posted: Wed Jun 09, 2004 8:26 am |
|
|
Have you asked CCS? |
|
|
future
Joined: 14 May 2004 Posts: 330
|
|
Posted: Wed Jun 09, 2004 8:50 am |
|
|
Directly not, but do they read their forum? |
|
|
Kasper
Joined: 14 Jan 2004 Posts: 88 Location: Aurora, Ontario, Canada
|
|
|
|