Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actually build MHP30 runtime at 0x8000, fix #15 #18

Open
wants to merge 1 commit into
base: mainline
Choose a base branch
from

Conversation

ElementW
Copy link

No description provided.

@damex
Copy link

damex commented Aug 22, 2023

how is it expected to be flashed ? any extra modification/adjustment needed?

i have current release of IronOS-DFU and just tried building and flashing this release.

dfu-util.exe -D bootloader.dfu
dfu-util 0.11

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Match vendor ID from file: 0483
Match product ID from file: df11
Multiple alternate interfaces for DfuSe file
Opening DFU capable USB device...
Device ID 28e9:0189
Device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Interface #0 ...
Determining device status...
DFU state(2) = dfuIDLE, status(0) = No error condition is present
DFU mode device DFU version 011a
Device returned transfer size 1024
DfuSe interface name: "Internal Flash "
File contains 1 DFU images
Parsing DFU image 1
Target name: ST...
Image for alternate setting 0, (1 elements, total size = 5336)
Setting Alternate Interface #0 ...
Parsing element 1, address = 0x08000000, size = 5328
Last page at 0x080014cf is not writeable

dfu-util.exe -D runtime.dfu
dfu-util 0.11

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Match vendor ID from file: 0483
Match product ID from file: df11
Multiple alternate interfaces for DfuSe file
Opening DFU capable USB device...
Device ID 28e9:0189
Device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Interface #0 ...
Determining device status...
DFU state(2) = dfuIDLE, status(0) = No error condition is present
DFU mode device DFU version 011a
Device returned transfer size 1024
DfuSe interface name: "Internal Flash "
File contains 1 DFU images
Parsing DFU image 1
Target name: ST...
Image for alternate setting 0, (1 elements, total size = 5336)
Setting Alternate Interface #0 ...
Parsing element 1, address = 0x08004400, size = 5328
Last page at 0x080058cf is not writeable

@damex
Copy link

damex commented Aug 22, 2023

it can actually be written through stlink/swd but then device does always boot in to dfu with internal flash exposed and can not flash current release of ironos with same error as above about region not being writeable.

flashing old bootloader 'as is' through stlink/swd does not fix it either.

i can restore old full flash and then it works again - bootloader boots without screen active and last ironos firmware could be flashed as usual

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants