This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

HEX2BIN does not work with blinky example

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