stm32flash is a flash program for STM32 MCU to upload program using the built-in serial bootloader over UART. The jumper should be set at boot mode when the stm32flash. stm32flash -b 115200 -w file.hex -v -g 0x0 COM6 Change COM6 to whatever port you are using. "-g 0x0" means run program after flashing. Omit it when your program is driving the right wheel because UART 1 share pin with TIMER 1. Remember to detach the USB2TTL as well. Make sure "file.hex" is generated by checking the appropriate box in "Options for Target": You can run stm32flash in keil uvision by setting the external tools: "#h" is the substitution of hex file name. Remind you once again. Use the 3.3 volts line on the USB2TTL. Never connect the 5 volts line to the robot car. stm32flash use SPACE as delimiter. Therefore your project name and folder name shall not contains SPACE. Chinese characters shall be avoided.
Most updated & more info at: eie3105p2.blogspot.com Soldering Sequence Resistor 560 ohm (R20) Green LED 3mm (D1) Photo-interrupters (U1, U2). They are in opposite orientation. Capacitors (C6, C10,C11,C12) Sockets 4-pin (J5, J6), Socket 7-pin (J7) Terminal blocks (J3, J4). Beware of the orientation. Battery holder. Check orientation Switch Other modules Ball caster Infra-red light panel (use M3 x 8 screws) Gear-box (38.2:1). Use two drilled gears in place of photo-interrupters (U1, U2). Wires connecting motor to PCB AWG#20 40mm in length for the end connecting to motor: stripped 2mm and tinned for the end connecting to terminal block: stripped 5mm, do not tin. solder wire to tab of motor. There is no need to push wire into eyelet of the tab. Wheel The construction of the wheels are different to the illustration provided by vendor. Please refer to the sample given. Mounting post for Control Board M3 x 10 screw + nut brass post M3 x 25
Comments