HC08: Programming A merged file

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

HC08: Programming A merged file

5,341件の閲覧回数
Saga
Contributor II
Hi to all.

I was able to use hiwave to program a s19 file (using its abs file) and it worked without any problems.

The problem now is that i have a BIN file produced by joining to bin different files (the bootloader and the main app), and this BIN file does not has an ABS file associated with it.

So, what I'm wanting to do is to use hiwave (or any application) to program my uC with this merged BIN File, could you please help me?

I'm kinda lost with this program (hiwave) it does not has any program instruction so you can put it directly into the flash of the uC.

Thank you guys i will still finding out how to do this.

Message Edited by CrasyCat on 2007-04-13 11:42 AM

ラベル(1)
タグ(1)
0 件の賞賛
返信
9 返答(返信)

1,720件の閲覧回数
CrasyCat
Specialist III
Hello
 
HI-WAVE is able to load ELF DWARF, S record or Intel Hex files.
It does not support bin files (Whatever format that is).
 
If you wish to merge several  S record files, you can use the command HEXFILE in your main application .prm file.
 
This command will add code from the specified S record file to the application.
 
Please refer to the Build_Tools_Utilities.pdf manual for more information on that command.
 
CrasyCat
0 件の賞賛
返信

1,720件の閲覧回数
Saga
Contributor II
Ok so Hiwave does not support BIN Files?

Yes, they are raw bin files i would like to program into the flash.
0 件の賞賛
返信

1,720件の閲覧回数
Alban
Senior Contributor II
Hi Saga,
 
What is the bin format ?
You can program without an abs file just by:
- starting the debugger,
- connecting to the target with your cable
- go into the target menu
- click load and select your soft.
 
For S12 and ICD12 target, go to Flash menu of the target.
- Select all memory zones.
- Select Erase,
- Select all memory zones
- Click on Load
- Selext your soft and that's it.
 
I'm off to bed now :smileytongue:
 
Cheers,
Alban.
0 件の賞賛
返信

1,720件の閲覧回数
Saga
Contributor II
The MCU is a 9S08DZ60!

I do the steps you told me (for a while) it seems just logical... and i choose a bin or a S19 file... and it just tells me


Error: Loading failed!


And a popup window (like a messagebox) that says LOADING FAILED without any information... This is the first time we are working with freescale products so we don't know well what to do. Thank you for your attention guys.
0 件の賞賛
返信

1,720件の閲覧回数
bigmac
Specialist III
Hello Saga,
 
You might convert your binary image file to S19 format, using a separate utility.  An internet search will reveal the existence of a number of conversion programs.
 
I downloaded one from the P&E website named bin2s19.exe.  This simple program requests entry of the start address of the binary block, and generates a S19 file with 16 bytes per line.
 
Another utility program bin2mot.exe, has more options available, but produces an output file with 32 bytes encoded in each line.
 
Regards,
Mac
 
0 件の賞賛
返信

1,720件の閲覧回数
Saga
Contributor II
Bigmac:
I will try those utilities and see if i can program it in S19 format. Thanks!!

Message Edited by Saga on 2006-11-2705:17 PM

0 件の賞賛
返信

1,720件の閲覧回数
Saga
Contributor II
Yes... I had to use bin2s19 application to burn it in... Case solved :smileyhappy:
0 件の賞賛
返信

1,720件の閲覧回数
Saga
Contributor II
Hi peg, Thanks for your response, actually i opened the thread you referred me to :smileyhappy:
0 件の賞賛
返信

1,720件の閲覧回数
peg
Senior Contributor IV
Hi Saga,
 
Refer to here:
 
And again, what is a BIN file? Is it just a raw binary image file? Where should it be loaded? Freescale MPU flash never starts at address 0.
 
Regards
Peg
 
0 件の賞賛
返信