grtnx
/jan
<ro...@rogndeb.us> schrieb im Newsbeitrag
news:1129247086....@z14g2000cwz.googlegroups.com...
You will have to start Crossview Pro and then select "Download Application".
Crossview Pro does load hex files.
You will have to disable the options:
Verify download
Use map file for memory map
grtnx
/jan
Maybe you have a tiny hex file that I can try to load ?
My target processor is Infineon C166S.
The starting content of hex file looks like:
(02 as binary) fa 02 70 2d 00 00 00 00 00 00 00 00 00 00 00 00 32
35 2e 31 30 2e 30 32 31 35 3a 31 39 3a 31..............
the hext content matches the binary image, I assume the leading 02
binary
is a spec for the HEX content format.
Is this format correct ?
> I get 'invalid imagefile' message.
>
> The starting (...)
Doesn't look like Intel-HEX. Each record should start with
a semicolon (see 'Intel-Hex format' appendix in assembler
manual). If you're using srec_cat as advised by Jan then
try this:
srec_cat hello.bin -binary -output hello.hex -intel
This should result in a proper hex file.
Regards,
--
Henk-Piet Glas Support Engineer
-----------------------------------------------------------
E-mail: suppo...@altium.nl Altium Software BV
Voice: +31-33-455 85 84 Saturnus 2
Fax: +31-33-455 55 03 3824 ME Amersfoort
WWW: http://www.altium.com The Netherlands
-------[ Altium -- Making Electronics Design Easier ]------
Regards,
R Dunn
> I need to save (...)
You can do so by logging the output from CrossView Pro's
command window:
(1) >> disassembly.txt
(2) dis 0x2f4,#10
(3) >> c
In here (1) enables redirection to disassembly.txt, (2)
does the disassembly and (3) closes disassembly.txt.