Index
- Eclipse IDE and JTAG
- Unlock STM32F103 with JTAG
- Flash firmware using Bluetooth
- Serial Port Bluetooth
- Serial Port Plot
- SM32F103C8T6 use 128kbytes flash
- Observer
- Shane Colton documentation and firmware
- Firmware
- Part 1: Field-Oriented
- Part 2: Field-Oriented
- Sensorless Pneu Scooter - part 1
- Sensorless Pneu Scooter - part 2
- Sensorless Pneu Scooter - part 3
- Texas Instruments videos
- Chinese controllers code
- Chinese balance group reference design
- Kerry D. Wong -- A Self-Balancing Robot
- Self balance bicycle
- PID
- LQR
- PID and LQR, MATLAB
- Steve Brunton videos
STM32F103C6T8 bootloader
NOTES:• When readout protection Level2 is activated, STM32 does not boot on system memory in any case and Bootloader can't be executed (unless jumping to it from Flash user code, all commands are not accessible except Get, GetID, and GetVersion).
• In addition to patterns described above, user can execute bootloader by performing a jump
to system memory from user code. Before jumping to Bootloader user must:
• Disable all peripheral clocks
• Disable used PLL
• Disable interrupts
• Clear pending interrupts
System memory boot mode can be exited by getting out from bootloader activation
condition and generating hardware reset or using Go command to execute user code.
Pattern needed to enter bootloader
• Boot0(pin) = 1 and Boot1(pin) = 0
On MW 30B4 board, Boot0 is connected to ground with a resistor and this line is also available on B0 pin on the bluetooth module header. It is very easy to put this pin at 1 logic.
Boot1 pin is connected to PB2 (PHASE_A_SHUTDOWN__PORT) that is at 1 logic at boot so there is not way to enter in bootloader due to this pin. Options are to connect a resistor to the resistor available on PB2 line to ground, that may be enough to define Boot1 = 0 at boot and still work ok for the motor control.
Since when buying MW 30B4 the Bootloader can't be used until erase the flash using SWD, maybe is a good idea for the user to flash the firmware that includes a specific command to enter in Bootloader.