Not applicable
Jul 24, 2014
10:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 24, 2014
10:54 PM
Hello,
i have build a hex-image of my Project using the -ihex flag. When i open it with a hex Editor it beginns with "3A303230".
When i flash it into the internal Flash of XMC4500, the Segger MemTools shows "10000800" at start adress 0x0C000000.
Why not the values written in the hex file?
Thanks!
i have build a hex-image of my Project using the -ihex flag. When i open it with a hex Editor it beginns with "3A303230".
When i flash it into the internal Flash of XMC4500, the Segger MemTools shows "10000800" at start adress 0x0C000000.
Why not the values written in the hex file?
Thanks!
- Tags:
- IFX
3 Replies
Not applicable
Jul 24, 2014
11:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 24, 2014
11:23 PM
Hi,
Did you build your project with DAVE3?
All my XMC4500 hex file is started with ':020000040C00EE' on the first line.
Perhaps you can upload your hex file here?
Did you build your project with DAVE3?
All my XMC4500 hex file is started with ':020000040C00EE' on the first line.
Perhaps you can upload your hex file here?
Not applicable
Jul 24, 2014
11:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 24, 2014
11:34 PM
Hello Jackson,
my Hex-File starts with ":020000040C00EE." as well.
When i then flash it with DAVE into the microcontroller and watch the flash with the Segger MemTool it shows different values.
But the programm is running!
my Hex-File starts with ":020000040C00EE." as well.
When i then flash it with DAVE into the microcontroller and watch the flash with the Segger MemTool it shows different values.
But the programm is running!
Not applicable
Jul 24, 2014
11:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 24, 2014
11:53 PM
Hi Hissi,
Honestly, I'm not sure how your Hex editor translate the hex file into the hex code.
The correct one should be what inside Segger MemTools.
You may want to refers Wikipedia on how Hex file is written.
So, the first line '020000040C00EE' basically refers to 02 | 0000 | 04 | 0C00 | EE where:
02 - 2 byte count
0000 - Address is 0000
04 - Record type for extended linear address
0C00 - The extended address is 0C00
EE - Checksum
This is how the programmer know the address is starting from 0x0C000000.
Honestly, I'm not sure how your Hex editor translate the hex file into the hex code.
The correct one should be what inside Segger MemTools.
You may want to refers Wikipedia on how Hex file is written.
So, the first line '020000040C00EE' basically refers to 02 | 0000 | 04 | 0C00 | EE where:
02 - 2 byte count
0000 - Address is 0000
04 - Record type for extended linear address
0C00 - The extended address is 0C00
EE - Checksum
This is how the programmer know the address is starting from 0x0C000000.