Hello.
I'm using AT91SAM7S-ek (SAM7S256), uVision 4 and SAM-BA 1.2.
I'm a new ARM user so I wanted to test this blinky example.
I generated hex-file of this blinky example with uVision 4. I want to use SAM-BA for programming the processor and SAM-BA uses bin-files. I need to convert this hex-file to bin so I need to use HEX2BIN.
Following happens when using HEX2BIN:
HEX2BIN Version 1.06 Copyright (c) 1995 Programix Corp. Portions copyright (c) 1993-1995 BITWARE. All rights reserved. Status: Creating binary file. Status: Read linear address record of 0x00100000. Status: Writing 8 bytes at address 0x001002F0. ERROR: Invalid record type in HEX record 50. Status: HEX to BIN conversion was not successful.
Any ideas why I got this error? Do I need a different HEX2BIN converter?
Thanks, Matti
I solved this problem by myself.
I think the problem was that the HEX2BIN is not compatible ARM.
Used fromelf.exe instead of HEX2BIN.
Thanks anyway,
Matti