davidmroth / stm32flash

Automatically exported from code.google.com/p/stm32flash
0 stars 0 forks source link

Flashing to incorrect address because ihex field type 0x05 not parsed #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. build program that placed at 0x08002000(not at default address - 0x08000000)
2. generate ihex with arm-elf-objcopy
3. try to write that .hex by stm32flash

What is the expected output?
flashing at address 0x08002000.

What do you see instead?
flashing at address 0x08000000.

What version of the product are you using?
last version from june 2011

On what operating system?
Linux, Arch, i686

Please provide any additional information below.
hex file and linker script attached

Original issue reported on code.google.com by smal.r...@gmail.com on 15 Jan 2012 at 11:14

Attachments:

GoogleCodeExporter commented 9 years ago
in svn version flashing is fine but console output still incorrect

Original comment by smal.r...@gmail.com on 15 Jan 2012 at 12:38

GoogleCodeExporter commented 9 years ago
ihex field 0x05 is not used for the load address, so that is not relevant for 
this issue. It is used as an execution address in some cases.

I am closing this report since you said it worked in svn and thus should work 
in current downloads as well.

If the console output is still incorrect, please explain what it outputs so 
that we can fix it.

Original comment by lists.to...@gmail.com on 10 Dec 2013 at 7:13