Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

Error: Unsupported Hex File Type In LPC2000 Flash Utility

Error: Unsupported Hex File Type In LPC2000 Flash Utility

2005-12-19 by Sanjiwani

Hi Everyone

 

I have written a program in cross works & generated hex file.

But By mistake I have opened that file in Notepad.

Now if, I change content of hex file (Data) Directly & load that hex file
in Flash using LPC2000 Flash utility

It Gives an error

 

Error is: Unsupported Hex File Type

 

 

Can Anybody help me to solve this Problem

 

Sanjiwani

Jr. Electronics Officer

 



[Non-text portions of this message have been removed]

RE: [lpc2000] Error: Unsupported Hex File Type In LPC2000 Flash Utility

2005-12-19 by Michael Rubitschka

I asume you dont have the sources andd cannot compile a new hex.
This raises severe doubts that opening the file with notepad was a mistake.
anyhow

1.make a copy of an original hex file.
2.Open the file with notepad
3.Do a bitwise compare

I asume the byte order mark got changed, but you will see the difference 
immeadetly.

Cheers
Michael
Show quoted textHide quoted text
>From: Sanjiwani <s_kesarkar@...>
>Reply-To: lpc2000@yahoogroups.com
>To: lpc2000@yahoogroups.com
>Subject: [lpc2000] Error:  Unsupported Hex File Type  In LPC2000 Flash 
>Utility
>Date: Mon, 19 Dec 2005 18:43:07 +0530
>
>Hi Everyone
>
>
>
>I have written a program in cross works & generated hex file.
>
>But By mistake I have opened that file in Notepad.
>
>Now if, I change content of hex file (Data) Directly & load that hex file
>in Flash using LPC2000 Flash utility
>
>It Gives an error
>
>
>
>Error is: Unsupported Hex File Type
>
>
>
>
>
>Can Anybody help me to solve this Problem
>
>
>
>Sanjiwani
>
>Jr. Electronics Officer
>
>
>
>
>
>[Non-text portions of this message have been removed]
>

Re: [lpc2000] Error: Unsupported Hex File Type In LPC2000 Flash Utility

2005-12-19 by Leon Heller

----- Original Message ----- 
Show quoted textHide quoted text
From: "Sanjiwani" <s_kesarkar@...>
To: <lpc2000@yahoogroups.com>
Sent: Monday, December 19, 2005 1:13 PM
Subject: [lpc2000] Error: Unsupported Hex File Type In LPC2000 Flash Utility


> Hi Everyone
>
>
>
> I have written a program in cross works & generated hex file.
>
> But By mistake I have opened that file in Notepad.
>
> Now if, I change content of hex file (Data) Directly & load that hex file
> in Flash using LPC2000 Flash utility
>
> It Gives an error
>
>
>
> Error is: Unsupported Hex File Type

It's not a good idea to edit hex files, they have checksums for each record 
(line). You must have changed it in some way. If you must do it, it's best 
to convert it to raw ASCII hex, edit it, and convert it back to Intel hex or 
whatever the format is. It's quite easy to write simple programs to these 
conversions, you just need the format details.

Leon 

---
[This E-mail has been scanned for viruses but it is your responsibility 
to maintain up to date anti virus software on the device that you are
currently using to read this email. ]

Re: [lpc2000] Error: Unsupported Hex File Type In LPC2000 Flash Utility

2005-12-19 by George M. Gallant, Jr.

Might be as simple as Notepad changed CR to CR/LF.

George

On Mon, 2005-12-19 at 18:43 +0530, Sanjiwani wrote:

> Hi Everyone
> 
> 
> 
> I have written a program in cross works & generated hex file.
> 
> But By mistake I have opened that file in Notepad.
> 
> Now if, I change content of hex file (Data) Directly & load that hex
> file
> in Flash using LPC2000 Flash utility
> 
> It Gives an error
> 
> 
> 
> Error is: Unsupported Hex File Type
> 
> 
> 
> 
> 
> Can Anybody help me to solve this Problem
> 
> 
> 
> Sanjiwani
> 
> Jr. Electronics Officer
> 
> 
> 
> 
> 
> [Non-text portions of this message have been removed]
> 
> 
> 
> 
> ______________________________________________________________________
> YAHOO! GROUPS LINKS
> 
> 
>      1.  Visit your group "lpc2000" on the web.
>           
>      2.  To unsubscribe from this group, send an email to:
>          lpc2000-unsubscribe@yahoogroups.com
>           
>      3.  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>         Service.
> 
> 
> 
> ______________________________________________________________________
> 
> 


[Non-text portions of this message have been removed]

Re: [lpc2000] Error: Unsupported Hex File Type In LPC2000 Flash Utility

2005-12-19 by malhotra_umang@yahoo.com

hi sanjivani...

First of all my intro...
  I am Umang Malhotra. working in Delhi on LPC controller(s). Actually ur problem is not clear.
   
  Haven't u tried load another hex file
in Flash using LPC2000 Flash utility...

I mean it's not clear whether only the time u did that... it gave error or u mean to say ... since then , it gives error every time u try load a new hex file.

  okay...


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]

RE: [lpc2000] Error: Unsupported Hex File Type In LPC2000 Flash Utility

2005-12-21 by Sanjiwani

Hi Umang..

Thanks for your reply.

Basically I am New in this Field.
And I am working on LPC for the First time.

Problem which I was facing was solved.
Actually I was doing a very simple mistake.
I was changing data, directly in hex file but was not updating checksum for
same.

Regards,
Sanjiwani Kesarkar
Jr. Officer Electronics
MIDCO LTD.
MUMBAI 
Show quoted textHide quoted text
-----Original Message-----
From: lpc2000@yahoogroups.com [mailto:lpc2000@yahoogroups.com] On Behalf Of
malhotra_umang@...
Sent: Monday, December 19, 2005 8:43 PM
To: lpc2000@yahoogroups.com
Subject: Re: [lpc2000] Error: Unsupported Hex File Type In LPC2000 Flash
Utility

    hi sanjivani...

First of all my intro...
  I am Umang Malhotra. working in Delhi on LPC controller(s). Actually ur
problem is not clear.
   
  Haven't u tried load another hex file
in Flash using LPC2000 Flash utility...

I mean it's not clear whether only the time u did that... it gave error or u
mean to say ... since then , it gives error every time u try load a new hex
file.

  okay...


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]




 
Yahoo! Groups Links

RE: [lpc2000] Error: Unsupported Hex File Type In LPC2000 Flash Utility

2005-12-21 by Sanjiwani

Thanks Leon 


I will take a note of your suggestion.
I was doing same mistake as you mentioned.


Sanjiwani
Show quoted textHide quoted text
-----Original Message-----
From: lpc2000@yahoogroups.com [mailto:lpc2000@yahoogroups.com] On Behalf Of
Leon Heller
Sent: Monday, December 19, 2005 7:21 PM
To: lpc2000@yahoogroups.com
Subject: Re: [lpc2000] Error: Unsupported Hex File Type In LPC2000 Flash
Utility

----- Original Message ----- 
From: "Sanjiwani" <s_kesarkar@...>
To: <lpc2000@yahoogroups.com>
Sent: Monday, December 19, 2005 1:13 PM
Subject: [lpc2000] Error: Unsupported Hex File Type In LPC2000 Flash Utility


> Hi Everyone
>
>
>
> I have written a program in cross works & generated hex file.
>
> But By mistake I have opened that file in Notepad.
>
> Now if, I change content of hex file (Data) Directly & load that hex file
> in Flash using LPC2000 Flash utility
>
> It Gives an error
>
>
>
> Error is: Unsupported Hex File Type

It's not a good idea to edit hex files, they have checksums for each record 
(line). You must have changed it in some way. If you must do it, it's best 
to convert it to raw ASCII hex, edit it, and convert it back to Intel hex or

whatever the format is. It's quite easy to write simple programs to these 
conversions, you just need the format details.

Leon 

---
[This E-mail has been scanned for viruses but it is your responsibility 
to maintain up to date anti virus software on the device that you are
currently using to read this email. ]




 
Yahoo! Groups Links

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.