Getting Started with Flux


I checked the ERC errors and six warnings, but couldn’t safely clear them: the 10 ERC errors involve pin-model/source detection, and all four header-overlap warnings are false geometry/datum findings—not actual component collisions. No circuit or routing changes were made; the findings are saved in the project’s ERC and Warning Investigation document.
49 airwires remain. Fixing these model/checker issues requires capabilities unavailable here; feedback submission also failed, so no ticket was filed—please use Contact Support. I preserved the protected USB copper and did not suppress errors; the board is not flight-ready.
please resolve this issue withot contact support team and use a online reference and tools
I’ll look for a supported repair path using manufacturer references and the available editing tools, without asking you to contact support. I’ll check whether corrected part models can preserve the existing pin mapping and PCB routing; I won’t suppress errors to make the checks pass.
Finished execution
"F405 ERC Model Repair" completed.
No circuit, model or routing fixes were made this session. I saved and reviewed the repair handoff; a fresh scoped check still reports unresolved connections, but it did not establish updated totals—the previous 49 airwires and 10 ERC errors must not be treated as newly verified counts.
The next step is to check manufacturer pin definitions and a supported, routing-preserving model-update method, then repair the IMU/regulator and USB contact models and rerun ERC. Existing copper remains unchanged; the board is not flight-ready.
Execution stopped because your ACUs ran out.

Waiting for input


Last modified 1mo ago

Project Specification
Layer Routing Strategy — 2026-10-10
Latest preparation preserves current39×39mm double-sided placement, pad numbers/positions, reservations and all24 USB segments. Main autoroute remains blocked by three USB feasibility pin-removal Warnings on J1/D2; the historical twelve header keepout Errors were not reproduced. Fresh physical checks2026-10-10T07:18:40.584Z show147 airwire Errors plus four body-proxy overlap Warnings, one density Warning and one protected redundant group/three segments. See pre-routing-readiness current handoff for exact endpoint labels, geometry and scope dispositions. No PCB mutation or full autoroute was performed in this latest batch. Copper layer IDs: Top (Signal), Mid-Layer 1 (Ground Plane), Mid-Layer 2 (Ground Plane), Bottom (Signal). Soft routing orientations: Top0° horizontal and Bottom90° vertical; the two GND reference layers have no orientation entries. Keep USB_DP/USB_DM on Top over Mid-Layer1 GND; target90Ω±7.5% remains unqualified until successful geometry/routing verification. Prefer HSE_8MHZ, IMU_SCK/MOSI/MISO/CS/CLKIN and FLASH_SCK/MOSI/MISO/CS on Top to join top-side ICs without unnecessary transitions. Preferences do not justify moving components or using reference planes as ordinary signal layers. The prior aggregate/thickness paragraph is superseded by the source-backed nominal1.6mm JLC04161H-3313 custom physical geometry applied in usb-header-blocker-repair-results. Fresh readback retains Signal/GND/GND/Signal roles, outer0.035mm copper, displayed0.099mm3313 gaps/Dk4.1,1.265mm core/Dk4.6 and displayed0.015mm inner finished copper. Through-vias remain0.55mm pad/0.25mm drill; fabrication target remains nominal0.5oz inner copper, not the CAD equivalent-weight parameter. No stackup change is authorized or needed in this handoff. Current main autoroute handoff, only after gates are resolved: action=start, startNewCampaign=false, layerOrientations=[{layer:Top,orientation:0},{layer:Bottom,orientation:90}]. Current API has no layerPreferredNets argument; targeted routing does. Never suppress outstanding findings merely to launch.
Authoritative electrical revision — 2026-10-08
This revision supersedes USB power/diode-OR statements below. FC power is EXTERNAL regulated, current-limited 4.75–5.25V at J7 pin1 ONLY: F2 -> D8 -> CORE_5V -> U4/U5. USB is self-powered DATA-ONLY; D1 and F1 removed, empty USB_VBUS_FUSED removed. USB alone cannot boot/program this board; connect external5V for USB use. This avoids the SS14 reverse-leakage source-crossfeed risk rather than claiming ideal isolation from diode OR. Added Q1 2N7002, R34=10k gate series, R35=100k gate pulldown, R36=10k drain pullup. PC0 USB_VBUS_PRESENT_N LOW means host VBUS present. PA9 remains UART1TX, all existing motor/UART/I2C/ADC resources preserved. Firmware must disable dedicated PA9 VBUS sensing and implement attach/detach gated by PC0; firmware integration is not delivered here. All C1–C22 configured16V ceramic10%, all R1–R36 0603/0.1W/1%; R28 additionally50V working voltage. Values unchanged. Generic properties are purchasing minima, not qualification of a particular MLCC: X7R, effective regulator capacitance>=1uF and VCAP ESR remain sourcing gates. Final logical count80 components/69 nets. Read-only ratings/net inspection and passive ADC simulation performed; ERC source-inference errors remain visible, not waived. No layout edits, raw battery regulator, proprietary app or flight-ready claim. See electrical-completion-review for exact evidence and blockers.
Historical checkpoint below (superseded where conflicting)
Active scope and status — 2026-10-08
Current FC: /datiyow499/f405-flight-controller-prototype . Independent F405 compatible prototype, NOT an exact SpeedyBee copy. Separate ESC project remains untouched: /setej72878/four-channel-55a-esc-prototype . Stop at schematic checkpoint; no PCB sizing/placement/routing performed.
Actual schematic now78 components/68 nets (was36/27). All intended active-scope logical interface blocks are present. Final repeated ERC has12 remaining source-inference errors individually justified in interface-and-firmware-gates; no floating-pin error remains. This is a connected schematic checkpoint, not unconditional electrical, firmware, manufacturing or flight release. See that file for validation limits and exact additions.
Intended use
Bench development, then multirotor integration only after custom firmware and assembled-board validation. Propellers removed throughout bring-up. Compact SMD design; 2.54mm prototype headers deliberately trade density/height for accessible wiring. Their fit into39mm envelope is not yet proven.
Mechanical requirements
FC target39x39mm,30.5x30.5mm mounting centers, reference4.9mm assembly height and4mm side-open holes. Notch geometry and absolute original pad positions remain unresolved. Header assembly height is not claimed to reproduce the reference4.9mm. Separate ESC commercial40.9x44.9x8mm envelope includes heatsink, not a bare PCB fabrication drawing.
Implemented electrical architecture
USB VBUS -> F1 -> D1 -> CORE_5V_OR -> U4 logic3V3 and U5 independent3V3_IMU. External regulated4.75–5.25V -> J7 pin1 -> F2 -> D8 -> same CORE_5V_OR. D1/D8 cathodes share CORE_5V_OR; diode OR prevents hard cross-feed but has reverse leakage. This is not a zero-leakage priority power mux. Neither rail powers accessories. External current-limited5V BEC required away from USB bench use. NO LiPo power input or onboard battery buck/BEC.
F405 U1 with inherited supply/VCAP/reset/boot/SWD support; active8MHz oscillatorY1, requires custom HSE bypass. ICM42688 U2 SPI1 with PC4 interrupt/PB15 CLKIN; W25Q128 U3 SPI3 single-SPI16MB flash. Driver and orientation tests pending.
Four motor3.3V signalsPB1/PB0/PB10/PB11 through100ohmR7–R10,100kohm boot pulldownsR11–R14, D3 ESD array and customJ3. UART1 receiver andUART2 GPS through1kohm seriesR15–R18 andD4/J4. UART3/4 expansionR19–R22,D5/J5. UART6 expansionR23/R24,D6/J6. UART5 RXPD2 telemetryR25,D7/J7. Initial UART115200baud; higher rates qualify with actual cable. Noninverted3.3V serial only; no SBUS inverter or5V level shifter. I2C1PB6/PB7 onJ6, single4.7kohm pullup pairR26/R27 to3V3; initial100kHz, total bus capacitance100k/10k dividerR28/R29 ->1kR32 ->PC1/C21(100nF)/D7. Nominal6S25.2V, screening bound30V; not characterized for real ESC surges beyond30V. Current sensor J7 pin4 ->10k/10kR30/R31 ->1kR33 ->PC5/C22(100nF)/D7. External sensor voltage0–5V; no onboard shunt or amp calibration assumed.
Custom connector contract
All maps refer to schematic pin numbers; validate physical pin1 marking and cable orientation against future footprint/assembly. NOT stock cable compatible.
  • J2:1=3V3 sense ONLY,2=GND,3=SWDIO,4=SWCLK,5=NRST,6=BOOT0.
  • J3:1=M1,2=M2,3=M3,4=M4,5/6=GND.
  • J4:1=TX1,2=RX1,3=GND,4=TX2,5=RX2,6=GND.
  • J5:1=TX3,2=RX3,3=GND,4=TX4,5=RX4,6=GND.
  • J6:1=TX6,2=RX6,3=GND,4=I2C1_SCL,5=I2C1_SDA,6=GND.
  • J7:1=regulated5V INPUT,2=GND,3=VBAT SENSE ONLY,4=current0–5V,5=ESC3.3V telemetry RX,6=GND. TX/RX labels are FC perspective. Cross-connect to peripheral RX/TX. No3V3 accessory power exposed. Independently powered peripherals must shareGND; do not drive any signal when FC is off. ESD arrays and series resistors do not provide DC overvoltage or powered-off isolation.
Power budget and operating envelope
Logic170mA allocation, IMU10mA allocation, aggregate180.16mA including two80uA IQ allowances. Fuses rated0.50A20C/0.34A60C,6V. Initial bench ambient<=40C and regulated current-limited supply; thermal and startup validation pending. USB starts low-current, must remain below100mA before authorization; request at least250mA before full-rate MCU/flash activity. Firmware power gating is not hardware-enforced. See core-power-budget.
Firmware contract
Custom target required. Pin resources documented against Betaflight config1e3f7782bfbc and MCU alternate-function evidence. Actual source clock mismatch is resolved by choosing active8MHz HSE-bypass architecture, not guessed crystal replacement; the patch/build is still undelivered. Source af0638839ac3 clears HSEBYP and SetSysClock starts HSE without setting bypass. Fork and patch before enable; measure8MHz/168MHz/48MHz. ReceiverUART1/GPSUART2 are custom defaults, unlike referenceUART6/UART4. ADC ratios11 and2 require measured calibration; reference current scale36 must not be reused.
Deliberately omitted features
OSD, barometer, wireless/Bluetooth/proprietary app support, camera control, LEDs, buzzer, servos, RSSI, switched auxiliary BECs and onboard5V/9V accessory BECs are omitted from approved first prototype scope, not silently promised. Original10pin harness map remains unavailable; independent custom headers replace that dependency. No55A ESC capability or OX32 compatibility claimed.
Release gates
Detailed schematic arrangement/visual-wire cleanup is blocked by absent mutation API; Functional Group organization is implemented using supported properties. Passive sense DC/AC/transient simulation passed bounded screening, not ADC/ESD qualification. AP2112 dynamic stability, effective MLCC values, power transition/leakage/inrush and thermal tests remain open. Footprint verification including STM32LQFP64, ESD array package, connector numbering, spacing and height required before layout. Custom firmware build, DFU, IMU clock/alignment and flash tests are not completed. Aircraft/battery transient protection must be characterized externally. No manufacture or flight approval follows from this checkpoint.
  • Layer Routing Strategy — 2026-10-10

  • Authoritative electrical revision — 2026-10-08

  • Historical checkpoint below (superseded where conflicting)

  • Active scope and status — 2026-10-08

  • Intended use

  • Mechanical requirements

  • Implemented electrical architecture

  • Custom connector contract

  • Power budget and operating envelope

  • Firmware contract

  • Deliberately omitted features

  • Release gates