-
Notifications
You must be signed in to change notification settings - Fork 157
upload does not work at all for STM32F407ZET6 on linux 64bit #1
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
Comments
Hello uzi18. What OS do you use (mint, ubuntu, etc) ? |
it is nothing you know - PLD Linux, but I dont think it is OS problem. also found bug in cli program but this is for another issue |
did some checks, program is waiting for acknowledgement from bootloader, about 1kB already flashed page reset raport is sent by hid-flash and received by bootloader - this works next step: hid-flash sends 1024B block but not receive info to send next block @Serasidis any idea? |
@uzi18 I suppose:
I have successfully tested the HID-BL 2.0 to 2 Diymore STM32F4 Discovery board (407VGT6) and ArchMAX 1.1 (407VET6) Which STM32F4 board do you use ? |
have bypassed any check to go into bootloader flash mode directly, but it does not work as I expected. |
I think it is needed to add some sync every 64B received, if timeout reached resend it one more time. |
@Serasidis changed board and have some progress here, will test it one more time without my modifications. Also need to find what is wrong with other board. |
@uzi18 is there any progress ? |
@Serasidis shout if this needs a separate issue, but on Black407VET6 (and presumably f4xx) first upload works fine, but upon system reset the board is in perpetual bootloader until the reset key is hit, am I doing something wrong? |
Oops - had BOOT0 set high, removed jumper and now working. Have you tested against a blackZET6 board? |
Will try later and give you feedback |
Actually I think BOOT0 may be a red herring, it only occasionally goes directly to sketch execution - perhaps due to it floating? |
OK, so got to the root of the issue, the code, although it has a comment in saying 407VET6, has the incorrect GPIO's set for BOOT1 & the LED. After setting this up correctly for Black407VET6 & ZET6, with BOOT1 high & BOOT0 low, both cards boot straight into the sketch. Sorry for all the noise in here, but got there in the end. |
@BennehBoy did you get ZET6? |
@uzi18 Yes. Tested and working with my PR over at STM's core -> stm32duino/Arduino_Core_STM32#415 It's still WIP however, needs tweaking for @Serasidis latest changes (BL 3.0 compliance). |
The STM32 HID Bootloader is available on the Official Arduino_Core_STM32 Core |
I'm trying to use this bootloader but upload always stops on sending first 1024bytes:
any idea what is wrong?
The text was updated successfully, but these errors were encountered: