Skip to main content
Explorer
May 25, 2024
Question

can't connect to hoverboard stm32f103rct6

  • May 25, 2024
  • 2 replies
  • 1940 views

Hi! I want to connect to old hoverboard but  I can't make connection to mcu. I don't have idea why. I try a lot things but nothing worked. The chip is stm32f103rct6. 

10:20:01 : UR connection mode is defined with the HWrst reset mode
10:20:01 : ST-LINK SN : B55B5A1A000000009532F001
10:20:01 : ST-LINK FW : V2J43S7
10:20:01 : Board : --
10:20:01 : Voltage : 3.25V
10:20:01 : Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication

 

    This topic has been closed for replies.

    2 replies

    Graduate II
    May 25, 2024

    Unfortunately "I try a lot things but nothing worked" tells us nothing. Enumerate them, and what you observed / learned.

    If the device doesn't connect, it could be protected, unpowered, or you are connected to the wrong pins.

    If the SWD/JTAG methods don't work, perhaps try the system loader via the USART methods

    odometrsAuthor
    Explorer
    May 25, 2024

    Thank you for answer. I tried both SWD and JTAG methods, I checked wireing in st link v2 pcb board. USART method I don't realy understant what i need to do. Do i need another hardware for the USART method?

     

    Graduate II
    May 25, 2024

    Depend if it exports a serial port else where. Assuming it does not you'd need a USB-to-CMOS Serial adapter (ie SiLabs or FTDI type dongle), connecting to PA9 / PA10 pins of the STM32F1, and you resetting with BOOT0 pin pulled high.  See App Notes AN2606 and AN3155, serial connectivity via STM32 Cube Programmer.

    For SWD common ground, SWDIO, SWCLK and NRST pin, and 3V3 for the ST-LINK's VTarget pin

    odometrsAuthor
    Explorer
    May 25, 2024

    Can I use arduino uno for USB-to-CMOS Serial adapter? And I don't get it what I need to do with NRST pin?