Beiträge von oggie

    So does this look correct? I used automatic mode in stlink:

    @Bitte melde dich an, um diesen Link zu sehen.

    At the beginning, I didn't have ST-LINK and hadn't been able to do the first programming through the USB port with dfu-util and DfuSe (in Windows environment). I checked if there might be a problem with the PCB or solder joints, but couldn't find anything. Then I bought an ST-LINK V2 and was able to do the programming. So it may not be a problem with your board.

    Thanks. I have one on order and will try when it arrives.

    I will order a cheap st-link, but it still makes me think something with the board is bad. I've double checked all solder joints under a scope and couldn't find any issues.

    One simple thing to check is the voltage on the 3.3V pin when plugged into the USB port. You could also try to assemble another board to see if it has the same problem.

    There is 3.3v coming out of the regulator. I tried to run dfu-util on both linux and mac with the same result. I also assembled another board and I'm seeing the same thing.

    Here's the parts I ordered from digikey. I think they're all correct.

    Manufacturer Part Number Digi-Key Part Number Customer Reference
    STM32F405RGT6 497-11767-ND kungfu-u3
    10118194-0001LF 609-4618-1-ND kungfu-j2
    7A-8.000MAAJ-T 887-1448-1-ND kungfu-y1
    C0603C104K5RACTU 399-5089-1-ND kungfu-c13-17,C3-6,C9-10
    CC0603JRNPO9BN200 311-1424-1-ND kungfu-c7-8
    C2012X5R1V106K085AC 445-14417-1-ND kungfu-c1-2
    UMK212ABJ225KG-T 587-4961-1-ND kungfu-c11-12
    150080RS75000 732-4984-1-ND kungfu-d1
    LM1117MPX-3.3/NOPB LM1117MPX-3.3/NOPBTR-ND kungfu-u2
    SBC817-40LT1G SBC817-40LT1GOSCT-ND kungfu-q1
    RK73B2ATTD511J 2019-RK73B2ATTD511JCT-ND kungfu-r1,r4-6
    RK73B2ATTD103J 2019-RK73B2ATTD103JCT-ND kungfu-r2-3
    YC164-JR-07100RL YC164J-100CT-ND kungfu-rn1-2

    Any suggestsions as to diagnose the issue? Is there known issues with dfutil on linux?

    dfu-util works fine on my Ubuntu PC and I did not have any issues. Maybe it is a permission problem so did you try to run dfu-util as root (sudo dfu-util ...)?

    Another thing that you could try is to run dmesg after having plugged the USB cable into the PC. It should display something like this

    Code
    usb 1-2.3: new full-speed USB device number 12 using xhci_hcd
    usb 1-2.3: New USB device found, idVendor=0483, idProduct=df11, bcdDevice=22.00
    usb 1-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    usb 1-2.3: Product: STM32  BOOTLOADER
    usb 1-2.3: Manufacturer: STMicroelectronics
    usb 1-2.3: SerialNumber: 207137894748

    If this is not the case I would check the solder joints on the USB connector with a microscope.

    If you still can't get this to work I would recommend using a cheap ST-Link V2 instead.

    I was running it with sudo, and don't see any message like that in dmesg. It's like it's not seeing it at all.

    I will order a cheap st-link, but it still makes me think something with the board is bad. I've double checked all solder joints under a scope and couldn't find any issues.

    I ordered some v2 pcbs from jclpcb and sssembled one. But I can't get dfutil on linux to recognize the board at all. I put the two jumbers on (5v and 3.3v) for the initial programming.

    Any suggestsions as to diagnose the issue? Is there known issues with dfutil on linux?