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

SET ADDRESS Error on upload my firmware #59

Open
wamk9 opened this issue Mar 31, 2024 · 2 comments
Open

SET ADDRESS Error on upload my firmware #59

wamk9 opened this issue Mar 31, 2024 · 2 comments

Comments

@wamk9
Copy link

wamk9 commented Mar 31, 2024

Hi everyone!

I'm developing a HID Joystick with DFU on STM32F103C8T6 (Bluepill), and I have a question...

I'm fighting with some things, the first is the Internal flash of DFU, without this the dfu-util don't upload anything and get a error, but ok, i used "@internal Flash /0x08000000/8*001Kg,56*001Kg" to correct this on USB_INTERFACE_STRING.

After this, i receive this error on try upload my firmware: Error during special command "SET_ADDRESS" get_status

Any possibility to help me about this? Thanks!

@devanlai
Copy link
Owner

Hi @wamk9, dapboot implements the vanilla DFU protocol where the host just uploads or downloads a flat image to a fixed address. It looks like you're trying to use ST's DfuSe protocol which overloads the DFU protocol with additional commands that set the destination address, etc.

If you need that ability to write to different addresses or selectively erase pages, you'll have to find a different bootloader that implements the DfuSe protocol.

If you don't need that functionality and are just trying to get it to work with dfu-util, you can use something like:

dfu-util -D nameofmyfirmware.bin

@wamk9
Copy link
Author

wamk9 commented Apr 2, 2024

Hi @devanlai!

Well, I want to write after the bootloader memory address, because i want to keep intact with some info... I go see what i wanna do, Thanks!

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

No branches or pull requests

2 participants