Hello there I am loading an upgrade version of MCU on our MICR check reader with the LPC2000 Flash Utility V2.2.2. This device is connected to serial port (DB9f). I do the steps with the manual I have. In this manual, first I read the Part ID and Boot Loader ID of the device. Then I erase and Blank check. All these parts are done properly but when I want to Upload my HEX file to the flash the Error message is occurred and say "Invalid or Unsupported HEX file!". Can any one help me this problem? Just a little point: In the manual is written the XTAL Freq should be 11059 KHZ and Baud Rate 57600. I use Windows Operating system and change the Baud Rate of COMM port to 57600 but don't know how to change the frequency? Any idea?
I have found some thing new in the HEX file I am using. Today again I noticed to it and understood that while the file is opened in Notepad it doesn't have the standard format of HEX file. But when it's opened in other software that can read HEX files like Tiny Hexer it's like below: :020000040000FA :1000000018F09FE518F09FE518F09FE518F09FE5C0 :1000100018F09FE5805F20B9F0FF1FE518F09FE51D . .
:0CC4400000000000000000402C3A00004A :00000001FF So I decided to make the HEX file myself. I copied the data in the TInyHexer Software and paste it in a Notepad. I create a line break before each : but again the software show the Error message: Invalid or unsupported HEX File. Just a little point. When I made the HEX file I made a line break but when I copy the Lines I see 2 page breaks between Lines Maybe the file had itself a line break and made it double.!
"while the file is opened in Notepad it doesn't have the standard format of HEX file"
So what format does it have?!
You're not using 'Word Wrap' in Notepad, are you? (on the 'Format' menu)
Note that this forum will automatically wrap long lines unless you use the 'pre' and '/pre' tags as for posting source code. See: http://www.keil.com/forum/tips.asp
There are three major ways of encoding line breaks: - Carriage Return (CR) - Carriage Return + Line Feed (LF) - Line Feed (LF)
Some programs supports all versions. Some one or two. Notepad is known to be stupid. Programmers editors on the other hand can normally handle files from unix, win or mac, and autodetect the line break method - and often convert the line endings.
No I didn't use word wrap. While I copied the file, there was one free line between codes and I just delete them. Thanks.