{ "release": "escargot.20261107.1e08c384.de9314", "set": "2026-11-07T15:41:02Z", "entries": { "app": [ { "text": "Gesture cruise control, with ESCargot controller firmware that has it, off until turned on: in App Settings > ADC (Gesture Cruise Control) and Simple's Riding page. With the throttle held, three full squeezes of the brake lever hold the speed of the moment the lever is let go; the throttle or the brake past a threshold, a fault, a throttle wiring fault, a sudden jolt or slowing right down ends it, and the throttle then has to come back to rest before it drives. While it is on, the brake always overrides the throttle. Simple's dash shows CC with the held speed while it holds. It needs a control type with a separate brake input (Brake ADC2).", "level": 0 }, { "text": "ESCargot's configuration, with APPCONF_SIGNATURE 1153731496 and MCCONF_SIGNATURE 3744269814, needs ESCargot controller firmware. The firmware reports upstream's version, 7.01 (VESC Express 7.00), so the Tool picks the parameter set by the signature at the front of each configuration rather than by the version: stock 7.01 firmware is still read with upstream's 7.01 set, and every layout an ESCargot release has shipped stays readable.", "level": 1 }, { "text": "Restoring after an update brings back the script and its EEPROM settings too, from the desktop, the phone and --restoreAfterUpdate, and --restoreScript puts them back by hand from the update's snapshot. An update after which the settings cannot be read back says so. An update that fails part way puts the script back too: the controller stages the new firmware where its scripts are kept, so a failed upload had left it running the old firmware with no script. A copy is kept under update-backups/ either way.", "level": 0 }, { "text": "Simple, a second interface, as a preview: a few pages that set up and ride a vehicle in plain words, on the phone and the desktop (a sidebar on a window 900 px wide or more). It opens from the phone's drawer (Simple interface (preview)) or with --simpleUi, and says first that it is a preview and that what it writes to the controllers is real; everything stays in the full interface, which it calls Advanced, one tap away.", "level": 0 }, { "text": "Set Up chooses a vehicle from the profiles packages carry (Download Vehicle Profiles fetches the package archive), or builds one from parts -- motor, battery, wheel -- and the rider's own pack, saved as the rider's own profile. It shows what each choice writes and why, checks it against the controllers' limits, and writes it to every controller on the CAN bus, each with its own motor and wheel when they differ; a vehicle is any number of controllers, not a front and a rear.", "level": 1 }, { "text": "Motor detection one step at a time -- resistance and inductance, flux linkage, halls -- on one chosen controller, saying what each step does and found, and comparing it with the motor's rated figures. After a first ride, the pole pairs and wheel size are checked against GPS.", "level": 1 }, { "text": "A throttle check: with the throttle disarmed, it watches the throttle at rest, turned slowly and let go, reports noise, travel, jumps and dropouts, and suggests a range just beyond the throttle's own ends, which turns on the controller firmware's throttle wiring guard.", "level": 1 }, { "text": "Riding: a top speed in km/h or mph, turned into each controller's ERPM limit; drive strength per controller; traction control (Off, Gentle or Firm); ride modes bundling drive, braking, battery share, top speed, power and throttle response, one of which can be kept locked behind a PIN; and where the dash's speed comes from. Battery asks about the BMS and the fuse and judges them against the controllers' combined battery current.", "level": 1 }, { "text": "Health: each controller's faults since power-up in plain words, with what to check, and its throttle wiring status. Rides lists the ride logs on an Express's card or on this device and summarises one. Dyno is a dense live monitor of the controller with rolling graphs and a run capture.", "level": 1 }, { "text": "The dash: speed, power, battery, temperatures, throttle and regen, ride mode, cruise and efficiency, in day and night palettes with a night dimmer, in the app's units. In calm mode, on by default, everything stays dim until it matters. Its pieces sit on a grid: held for 0.7 s at a standstill, the grid mark opens edit mode, to move, resize, add and remove them, and LOOKS compares the built-in layouts side by side. With no controller connected it plays a demo ride. A slim speedo can stay up over other apps (Android: display over other apps permission; the desktop: a small window on top).", "level": 1 }, { "text": "A package's own page opens full size from Home when a package on the board has one.", "level": 1 }, { "text": "Several packages on one board, with ESCargot firmware on the controller or the Express: the package pages list what is installed with a Remove, an install adds beside what is there and says why when it does not fit or two packages define the same global, and each package with a page gets its own tab in the mobile interface and the desktop's QML panel. A board with older firmware holds one package and is replaced as before. CLI: --installPkg, --replacePkgs, --takeLegacyScript, --removePkg and --listPkgs.", "level": 0 }, { "text": "Home Assistant bridge: --haBridge, run on an always-on machine at home, reaches a vehicle through the hub relay while the ha_mqtt package on its Express is offline, and publishes to the home broker as that package does -- the same device, entities and topics -- handing back when the package comes online again. Optional TLS; the broker password comes from a file or ESCARGOT_MQTT_PASSWORD, never an argument. docs/ha-bridge.md has a systemd unit.", "level": 0 } ], "firmware": [ { "text": "Both configuration signatures change (MCCONF 3744269814, APPCONF 1153731496), so this firmware needs ESCargot Tool, which finds its parameter set by signature. It reports upstream's version number, 7.01, which no longer says which layout it carries; stock VESC Tool 7.01 cannot read or write its configuration.", "level": 1 }, { "text": "Gesture cruise control in the ADC app, off by default (App Settings > ADC, Gesture Cruise Control). Riding above a minimum speed (8 km/h) with the throttle held, three full squeezes of the brake lever within 1.5 s hold the speed of the moment the lever is let go, through the motor's speed controller, so the current, temperature and battery limits still apply. Each squeeze brakes as normal. It ends at once on the throttle or the brake past 15 %, a fault, a throttle wiring fault, the brake signal outside its travel, a sudden jolt in current or wheel speed, speed under the minimum, the reverse button, wheels on CAN disagreeing with traction control on, or any reconfiguration, and the throttle then drives nothing until it has been back at rest. It needs a control type with a separate brake input (Current No Reverse Brake ADC2 or Current Reverse Button Brake ADC2); with it on, the brake past 5 % always zeroes the throttle there. COMM_GET_DECODED_ADC appends its state after the four values older Tools read, and cruise_status prints it. A board short of flash can leave it out with HW_NO_GESTURE_CRUISE.", "level": 0 }, { "text": "Throttle wiring guard in the ADC app, on once the throttle's voltage range is narrowed from the stock 0 to 3.5 V (as ESCargot Tool's Simple throttle check does); the stock range behaves as before. Stock already brakes while the signal is out of range but lets go on the first sample back in it, so a flickering wire handed back whatever the throttle read, mid-twist a surge. The guard tells an open signal or supply wire (below the range), an open ground or supply on the signal (above it) and a loose plug (a jump of over 60 % of the travel between samples) apart, latches after 20 ms, and holds the output off until the throttle has been released and in range for 0.5 s. throttle_status prints the state, the fault and the counts for ESCargot Tool. A script driving the throttle through app-adc-detach is not guarded.", "level": 0 }, { "text": "Several packages on one board: the code and QML areas hold a table of packages, each with its own LispBM context or Lua environment, its own range of the custom EEPROM settings, imports and events, installed, listed and removed with COMM_PKG (166) by ESCargot Tool; tool/docs/multi-package.md describes it. A single script loaded as before still works and is the first package. The table code is shared byte for byte with ESCargot's Express firmware.", "level": 0 }, { "text": "Compacting a package area copies its packages through the LispBM constant sector and erases the area; a power cut in between lost every package. The copy now carries a checked header, and the next boot finishes the job, so a cut at any step leaves either the old packages or the result.", "level": 1 }, { "text": "The emulated EEPROM cannot delete, so a removed package's settings range is not erased.", "level": 1 }, { "text": "Maxim: its LispBM build leaves the pedal-assist app out, as unity's does (the Lua build keeps it). It had 20 bytes of app flash left, and the release could not build it. maxim_100 now has a Lua-engine build, with its DC/DC rail readings as vesc.hw_reg_v, hw_reg_i, hw_reg_t and hw_reg5_v.", "level": 1 }, { "text": "The SWD programmer leaves out its STM32H7 and STM32L0/L1 drivers on the Ubox 100 V, Flipsky 6.0, Stormcore 100S and VESC GP builds (HW_SWD_NO_H7_L0), about 6.3 kB, which is what lets gesture cruise control and several packages per board fit there. nRF51/52 remotes and STM32F1, F4 and L4 targets (VESC BMS) are still programmed; an H7 or L0/L1 is recognised and named \"(not in this build)\" rather than failing as an unknown target. The same goes for 154 more boards whose firmware no longer fit their flash, and 6 of them also leave gesture cruise control out (HW_NO_GESTURE_CRUISE, about 1.7 kB); make/flash-trim.mk lists them. 17 boards still do not fit, by 7.8 to 13 kB: luna_m600 (three variants) and luna_bbshd, the dual Stormcores, axiom, duet_xs100 and duet_xs60. An H7 or L0/L1 chip is programmed with any SWD probe as before.", "level": 1 }, { "text": "The release ships prebuilt firmware for nine boards, plus the no limits variant of six of them and a Lua-engine build of all nine: ubox_single_85_200, fsesc_75_200_alu, 75_100, 75_100_V2, maxim_100, Lightning400, unity, stormcore_100s and flipsky_60. flipsky_60 (the Mini FSESC6.7 Pro) is built because a rider asked for it and is not tested here. Other boards build from source.", "level": 1 }, { "text": "A firmware update no longer fails because a script was restarted during it. The new firmware is staged in the flash sectors that also hold the scripts and LispBM's image, and a REPL command arriving while an upload had stopped LispBM -- a VESC Express script polling the controller sends one -- started it again; it wrote its image over the staged firmware, the bootloader found the copy damaged and kept the old firmware, while VESC Tool reported the upload fine. From the staging erase until 30 s after the last write, LispBM and Lua now refuse to restart (\"A firmware update is in progress\") and the script areas refuse writes. An upstream bug.", "level": 0 }, { "text": "CAN: a multi-frame packet no longer goes into the buffer of one abandoned mid-way. Frames carry only an offset, so a packet fills whichever buffer is already filled up to it, and the first such buffer was taken. The controller loses frames while it erases or writes flash, and a packet arriving then stays in its buffer at that offset; the next packet to reach it was filled into that buffer and failed its CRC. During a firmware update with an Express polling the controller, 3 to 5 chunks per update went unanswered and were sent again after 3 s; with this, none. Of the buffers at an offset the one filled most recently is taken, and a packet starting with every buffer busy takes the one untouched longest. An upstream bug.", "level": 0 }, { "text": "hwconf/board_functions.py lists a board's functions (ADC1-4, UART, PPM, PAS, halls, SPI encoder, I2C, CAN) with the chip pin each is on and which share one, from the macros the build's own preprocessor sees (make hwmacros_), plus pins a board reads in its C file. hwconf/connectors/.json adds which connector pin each reaches, so far for the Ubox 85/250 V2, as its owner read it off the board.", "level": 1 }, { "text": "tests/lispif_stats runs the real lispif.c and LispBM evaluator on the host, and checks that reading a stopped script's statistics leaves it stopped.", "level": 1 } ], "express": [ { "text": "tcp-connect reaches hosts that have only an IPv6 address, and works on an IPv6-only network: it asks for IPv4, then IPv6, and connects to each in turn. Builds without IPv6 resolve IPv4 as before.", "level": 1 }, { "text": "A TLS pin may name an intermediate certificate in the chain the server sends rather than the server's own. A server certificate renewed every 60 to 90 days then keeps matching for as long as its intermediate lives, about a year. Everything below a pinned intermediate must verify -- each certificate signed by the one above, in date, and the server's for the host dialled -- since anyone can send a public intermediate. A pin on the server's own certificate means what it did.", "level": 1 }, { "text": "The Waveshare ESP32-S3-SIM7670G has full-size TLS records (16 kB in, 4 kB out), which a broker with an RSA-4096 certificate chain needs; other C3-sized builds keep 1 kB.", "level": 1 }, { "text": "Data over an IPv6-only network. Google Fi's data APN gives an IPv6 address and no IPv4 whatever is asked for, and PPP was torn down at IPCP. The Waveshare board now runs IPv6 over PPP with address autoconfiguration and DNS from router advertisements, and counts data as up on a global IPv6 address. modem_pdp IP, IPV6 or IPV4V6 sets the context type, kept in NVS.", "level": 1 }, { "text": "The hub client dials the relay over IPv4, then IPv6, so a board with no IPv4 route reaches it through the relay's IPv6 address. hub_ipv6 first or last swaps the order until a reboot, to try the cellular path with WiFi still up.", "level": 1 }, { "text": "Terminal: modem_at sends one AT command and prints its reply, and modem_status lists the last twelve PPP phase and error events and the IPv6 addresses PPP holds.", "level": 1 }, { "text": "Several packages on one board: the script and QML partitions hold a table of packages, each loaded in its own LispBM context or Lua environment, with its own range of settings slots (512 each, 4096 in all), imports, assets and events, and installed, listed and removed with COMM_PKG (166) by ESCargot Tool; tool/docs/multi-package.md describes it. A board written by an older Tool reads as a one-package table without any rewrite, and the old commands serve the first package. The REPL runs in the first package's environment. The table code is shared byte for byte with ESCargot's controller firmware. tools/luapack.py --table and --list build and print a table. A hub friend may not send COMM_PKG.", "level": 0 }, { "text": "An access-point fallback, off unless turned on with wifi_ap_fallback on (kept in its own NVS entry, so no stored settings change): after 30 s with no known network the configured access point comes up, as in access-point mode, so a phone can still reach the board, and the station tries again every 30 s rather than scanning on every failure, which kept moving the access point's channel under a phone. With a network back and nobody on the access point, it closes. It needs an access-point name and a key of 8 characters or more.", "level": 1 }, { "text": "In station mode the access point beside the station, which upstream leaves open under the chip's default name (ESP_ and six hex digits) for the FTM responder and ESP-NOW, is hidden and locked with WPA2 and a random key made at each boot. Nothing stood behind the open one, so joining it led nowhere, but every board in station mode advertised an open network. An upstream bug.", "level": 1 }, { "text": "LispBM grows its heap into memory a disabled radio leaves only while WiFi keeps 48 kB of internal RAM. With WiFi on and bluetooth off, a VESC Express T was left 17 kB and stopped answering on the network within minutes, still associated, until power-cycled. An upstream bug.", "level": 1 }, { "text": "CAN sends one multi-frame packet at a time. Each frame was sent under a lock but a packet's frames were not, so two senders at once -- a script polling the controller and a firmware upload, say -- interleaved their frames, the receiver joined the pieces by offset, and the packet failed its CRC and was sent again. An upstream bug.", "level": 1 }, { "text": "CAN: a multi-frame packet no longer goes into the buffer of one abandoned mid-way. Frames carry only an offset, so a packet fills whichever buffer is already filled up to it, and the first such buffer was taken; a packet whose frames were lost stayed at its offset, and the next one to reach it was filled into that buffer and failed its CRC. Of the buffers at an offset the one filled most recently is taken, and a packet starting with every buffer busy takes the one untouched longest -- the same code as ESCargot's controller firmware. An upstream bug.", "level": 1 }, { "text": "CAN: standard-id frames that no script or callback reads are no longer queued. The processing task sends each reply to VESC Tool over WiFi itself, and while a slow send held it, a node that broadcasts standard frames on its own (an Rmcore every 10 ms) filled the 160-frame queue; replies lost frames, and script reads and firmware updates through the Express failed. Extended frames, the VESC protocol, are queued as before. An upstream bug.", "level": 1 } ], "packages": [ { "text": "tone_seq_ha 0.1.0 (new): tone_seq and ha_mqtt as one LispBM script, for an Express that runs one script at a time: tunes from the SD card still play and the vehicle reports to Home Assistant. Written by combine.py from the two packages unchanged, but for one pacer for both senders to the controller's REPL, which drops a command within 0.5 s of the last; ha_mqtt keeps eeprom slots 0-6 and 16-511. A stopgap until a board runs several packages side by side.", "level": 0 }, { "text": "Vehicle profiles for ESCargot Tool's Simple setup, read from the package archive; nothing installs on a controller. Every figure names its source, and tools/profile_check.py refuses one that does not.", "level": 0 }, { "text": "escargot_parts: motors, batteries and wheels a profile names by id, which Simple's build-your-own setup offers one by one.", "level": 1 }, { "text": "hub_ebike_profile (a 1000 W class direct-drive rear hub on 52 V), eskate_dual_profile (dual 6374 190 KV belt drive, 12S), surron_lbx_profile (Sur-Ron Light Bee X, stock motor and pack) and ubox_evg_profile (one owner's 72 V direct-drive e-bike on a Spintend Ubox 85/250, a worked example).", "level": 1 }, { "text": "A profile's inputs can be a kill switch, a display (both UART pins) or a keyed ignition, on the UART or a board's power key; the Ubox profile has its owner's kill switch on PPM, display on the UART and ignition on IGN.", "level": 1 }, { "text": "jk_bms and jk_bms_lua (new): a JK BMS (B- and BD-series boards, UART-TTL port) read over an Express's UART and sent on CAN as a VESC BMS. Read-only. A cell reading under 0.5 V (a missing reading or broken balance lead) is left out by default, so it can't cut the drive current. Decoding ported from syssi/esphome-jk-bms (Apache-2.0).", "level": 1 } ] } }