About Chipwhisperer Studio
Chipwhisperer Studio is an MCP server published by keyuraghao in the IoT category: desktop app for ChipWhisperer side-channel and fault-injection hardware: live waveforms, capture, CPA, glitch sweeps, UART/SPI/JTAG/SWD interfaces, a logic analyser with protocol decoders, firmware code mapped onto the power trace, notebooks, one-click firmware builds and an MCP server for AI agents. Linux, Windows, macOS. Conduid read 123 tools from its source: bitbang, calculate, capture_single, capture_start, capture_stop, code_map_align and 117 more. No package is published for it, so it installs from a source checkout.
The repository has 29 stars and 3 forks, and its last commit was on 2 Nov 2026. Conduid has no tagged release on record for it. Its topics include chipwhisperer, cpa, desktop-app, embedded, fault-injection and firmware.
Install
git clone https://github.com/keyuraghao/chipwhisperer-studioTools (123)
bitbangHusky bit-banger: send bits ('0' and '1') on data_pin with a clock on clock_pin ('disabled' for none); record has one 0/1 per bit, 1 = release the line and record it. clk_div (even, from the ADC clock) sets the time slot. Returns the recorded bits. Needs a Husky and a chipwhisperer library newer than 6.0.0.calculateEvaluate a calculator expression: arithmetic, bitwise (^ is XOR), hex/bin, math functions, mean/median/std/rms, and side-channel helpers hw(x), hd(a, b), sbox(x). Variables persist (x = 3), ans is the last result.capture_singleCapture exactly one trace and return it (summary statistics plus at most max_points samples).capture_startCapture power traces. count=0 runs until capture_stop. mode='simpleserial' sends key/plaintext to the target each trace, 'trigger_only' just arms and waits for the target's own trigger. key_mode/text_mode choose fixed, random, counter or tvla data (tvla interleaves the fixed text with random ones for leakage_ttest; key/text give fixed values in hex, length is the block size, seed makes random data repeatable). store=false only displays; clear empties the trace store first; ack waits for the SimpleSerial ack; max_timeouts aborts after that many consecutive timeouts; max_rate limits traces/s (0 = unlimited). disk writes every trace to <disk>_waves.npy (plus _textins, _textouts, _keys) as it arrives, for streamed (adc.stream) or very long captures that would not fit in memory: pair it with store=false and load the set later with traces_import. wait=true returns when the capture ends.capture_stopStop the running hardware job (capture or glitch sweep).code_map_alignFit the cycle to sample mapping by cross-correlating the emulated power model with the mean of the stored traces (or one trace): returns the shift (samples), scale, correlation, a confidence (0..1, label high/medium/low: high means a strong correlation with no rival match within the search window) and whether the fit was applied (a low confidence fit is not: the nominal mapping is kept). With refine (default) the trace is then cut into `windows` pieces and each is matched to the model near where the previous one matched, so the drift between the emulated cycle counts and the real core is followed and kept as a piecewise correction (the mapping's knots); the result's refine field lists every window's correlation and lag and the largest correction. Giving shift and/or scale instead sets the mapping by hand; clear_warp drops the piecewise correction.code_map_buildcode_map_disassembleDisassembly of a function or of a source line (file and line) of the mapped firmware, with how often each instruction ran in the emulated trace.code_map_lookupWhere a function (by name) or a source line (file name or path, and line number) ran during the trace: its cycle and sample ranges.code_map_pc_traceExact mode: record real program counter samples through a ChipWhisperer-Husky's Arm trace port (SWO, every `interval` cycles, rounded to the nearest the Arm DWT supports: 64 or 1024 times 1 to 16, the result's `interval`; needs simpleserial-trace firmware) and compare them with the emulation: agreement (share of samples in the predicted function) and the fitted cycle scale. On the simulator the samples come from the emulated run through the same decoder.code_map_regionWhich code a range of samples represents (after code_map_build): the functions with their self cycles, share of the range and inclusive spans, and the source lines (file, line, source text, cycles, how often they ran), in the order they first run.cpa_correlationCorrelation versus sample index for the best guess of one key byte (0-15), decimated, which shows where in the trace the leakage happens.cpa_exportSave the CPA result (per-guess maxima and samples, best correlation trace per byte as .npz; the summary with history as .json) under the data folder or an absolute path.cpa_resultLatest CPA result: best key guess, per-byte ranking with correlation values, PGE per byte when the key is known, progress.cpa_startRun a correlation power analysis attack on the stored traces. model is the leakage model: sbox_hw for software AES such as TINYAES128C, lastround_hd for hardware AES, sbox_lsb/sbox_msb single-bit models, aes256_round2_hw for the second half of an AES-256 key (known_key = the first 16 bytes recovered with sbox_hw), custom with expr (a numpy expression over tin, tout, b, g, HW, SBOX, INV_SBOX giving an (N, 256) matrix). trace_start/trace_end and point_start/point_end limit traces and sample window; bytes limits key bytes (0-15); known_key (hex) or the stored key enables partial guessing entropy; report_every sets progress granularity. wait=true returns the final result.cpa_stopStop a running CPA attack (the partial result stays available).dfa_aesDifferential fault analysis of AES-128: recover the key from faulty ciphertexts where a glitch corrupted one byte of the state entering round 9 (the fault spreads to one MixColumns column of the ciphertext; about two usable faults per column, eight in all, give the key). With no arguments it uses the last glitch sweep's replies (sweep command p with a fixed 16-byte plaintext, output_len 16, expected = the correct ciphertext and checker aes_dfa); otherwise give the correct ciphertext and the faulty ones in hex. Returns the tenth round key and master key once every column is unique, else how many candidates each column still has, and which ciphertexts were unusable and why.firmware_buildCompile a ChipWhisperer firmware project for a platform with GCC or clang using ChipWhisperer's makefiles. crypto_target picks the AES/crypto implementation (TINYAES128C, AVRCRYPTOLIB, MBEDTLS, HWAES...), ss_ver the SimpleSerial protocol (SS_VER_2_1 for current Studio/ChipWhisperer, SS_VER_1_1 legacy), cflags adds compiler flags, make_args adds make variables (e.g. 'OPT=2 EXTRA_OPTS=...'), clean rebuilds from scratch. Returns the .hex path, sizes and programmer, plus the end of the build log.firmware_build_cancelStop a running firmware build.firmware_build_logBuild output lines after line number 'since' (use 'next' from the reply to continue).firmware_buildsFirmware images built so far (newest first) with their paths, ready for firmware_program or target_program.firmware_catalogueFirmware sources state (folder, upstream repo, channel, installed commit, update check) plus buildable projects (simpleserial-aes, simpleserial-glitch...), every platform with its architecture, MCU and programmer, crypto targets and SimpleSerial versions.firmware_check_updatesAsk GitHub for the newest commit on the chosen channel and report whether the downloaded firmware sources are out of date.firmware_fetch_sourcesDownload or update the ChipWhisperer firmware sources (firmware/mcu and the fw-extra HALs) from newaetech's GitHub at the channel's current commit, or at ref (branch, tag or commit) if given.firmware_planShow exactly how a build would run (make command, toolchains chosen, output file, programmer) without building.firmware_programProgram the target with the last successful build (or path) using the platform's programmer (or the one given). Needs a connected scope.firmware_set_channelChoose which upstream newaetech/chipwhisperer version firmware sources follow: a branch (develop), 'latest-release', or any tag or commit. Apply it with firmware_fetch_sources.firmware_set_folderBuild from your own firmware folder (firmware/mcu of a ChipWhisperer checkout, e.g. with local changes) instead of the downloaded sources; root=None goes back to the downloaded sources.get_logsRecent Studio and ChipWhisperer log messages (also capture and glitch events), optionally only those after sequence number since_seq or at a given level.glitch_checkersThe result checkers glitch_start accepts: the built-in ones, the user's own from the data folder's checkers directory (each a .py with check(ctx)), and the ctx fields an expr checker sees.glitch_exportSave the glitch sweep results as CSV (relative paths go into Studio's data folder).glitch_resultsResults of the current or last glitch sweep: counts per outcome and each point's parameter values, outcome and response; only filters by outcome.glitch_startgpio_pulsePull a pin low for ms milliseconds and release it; on nRST this resets the target.gpio_readDrive mode and logic level of each target pin (TIO1-4, nRST, PDIC, PDID, and on the Husky MISO/MOSI/SCK). The CW-Nano can drive pins but not read them back.gpio_setDrive a target pin high or low, or release it (high_z). Pins the model cannot drive are refused with the reason.hardware_capabilitiesWhat the connected ChipWhisperer (or the simulator's model) supports: UART pin modes, SimpleSerial versions, SPI, JTAG/SWD, GPIO, USERIO, bit-banger, 1-Wire, each trigger type, each programmer, Arm trace, the logic analyser sources and whether clock.adc_mul exists, as {available, reason, details}. Check this before using the other interface tools.interfaces_statusState of every interface: capabilities, UART configuration and pins, SimpleSerial version, SPI master, the last trigger configured here, OpenOCD server and MPSSE mode.job_waitWait until the running capture or glitch job finishes (or the timeout passes) and return the final status.kernel_interruptInterrupt the running cell of a kernel and drop its queued cells: the shared default kernel, the kernel of the notebook at notebook_path, or every kernel with notebook_path="all".kernel_listRunning notebook kernels: id (the notebook path, or "default"), busy, queued cells, execution count, number of variables and how many Studio windows have the notebook open.kernel_restartRestart a kernel, clearing its variables (Studio's hardware connection is kept): the shared default kernel, or the kernel of the notebook at notebook_path. Other notebooks are not affected.kernel_shutdownShut down the kernel of the notebook at notebook_path and free its memory (it starts again, empty, when the notebook next runs a cell). Use it after notebook_run on notebooks you no longer need.kernel_variablesVariables defined in a notebook kernel (name, type, shape, short repr): the shared default kernel, or the kernel of the notebook at notebook_path.la_capturela_channelsList the current capture's channels (index, name, colour, hidden, edge count) and change them: rename {old: new}, hide/show lists, order (top to bottom), colors {name: '#rrggbb'}, buses [{name, channels (MSB first), format hex/dec/bin}] shown as a value row. With no arguments it only lists.la_decodeDecode the current capture and return the annotations (time from the trigger, row, channel, kind, text, value). channels maps roles to channel names or indices (uart/simpleserial: rx, tx; spi: cs, sck, mosi, miso; i2c: scl, sda; onewire: owr; jtag: tck, tms, tdi, tdo; swd: swclk, swdio; can: can); left out, they are guessed from the channel names. options: uart baud ('auto' or a number), data_bits 5-9, parity, stop_bits, bit_order, inverted; spi mode 0-3, bit_order, word_size, cs_active; i2c address_format; can bitrate, sample_point; simpleserial version auto/1/2 plus the UART options; sigrok spec (e.g. 'uart:rx=D0:baudrate=115200', channels named D0..Dn by position, needs sigrok-cli). add_to_view also shows it in the Logic tab.la_exportWrite the current capture as VCD, CSV (Saleae style) or a sigrok .sr session; path defaults to Studio's logic/exports folder. channels exports a subset (names or indices).la_importImport a logic capture from any analyser: a .vcd, .csv (Saleae Logic export, or a time/sample-index column plus one 0/1 column per channel) or sigrok .sr file on the Studio machine. samplerate is needed for CSV files with sample indices or no time column. It becomes the current capture.la_measureMeasure a channel (name or index; all channels when left out) of the current capture between t0 and t1 seconds from the trigger (or sample indices): edge counts (rising/falling), frequency, period, duty cycle and high/low pulse width min/max/avg.la_searchFind the next (or previous) edge on a channel, a pattern across the shown channels in display order ('1X0': first channel high, second any, third low; optionally only at an edge of edge_channel), or a decoded value (text like '0x41' or 'NACK'), starting from a sample index. Returns the sample index and time.la_selectMake another of the captures kept in memory (the newest eight, ids from la_status) the current one, which every other la_* tool works on. Returns its summary.la_sourcesLogic analyser sources and whether each is available (with the reason when not): native (Husky scope.LA: 9-signal groups 'CW 20-pin', 'USERIO 20-pin', 'glitch'), adc (one line on the analog input of any ChipWhisperer, thresholded), sim (the simulator's demo traffic: UART, SPI, I2C, 1-Wire, CAN, JTAG, SWD, trigger, clock), sigrok (external analysers through sigrok-cli, with install steps when missing) and files (VCD, CSV, .sr). Also lists LA triggers, clock sources and the decoders with their options.la_statusThe logic analyser state: a running capture, the current capture's summary, the captures kept in memory, configured decoders and buses.leakage_snrSignal-to-noise ratio per sample for one key byte: classes by the S-box output Hamming weight under the known (or stored fixed) key, or by the plaintext byte value. Returns the peak SNR and where, and the series.leakage_ttestTVLA: Welch's t-test per sample between the traces with the fixed plaintext (capture with text_mode tvla, or give fixed_text in hex) and the random ones. |t| above 4.5 at any sample means the implementation leaks; returns max |t|, where, how many samples are over, and the t series (decimated to max_points, peaks kept).list_devicesList ChipWhisperer USB devices attached to the machine running Studio (name, serial number, whether in use).note_readRead one note.note_writeWrite to a note (created if missing); append=true adds the text at the end, for example to record a recovered key or working glitch settings.notebook_listNotebooks stored in Studio (paths relative to the notebooks folder) and the state of the ChipWhisperer tutorial download.notebook_readA notebook's cells (type, source and, optionally, a text summary of the outputs).notebook_runRun every code cell of a stored notebook in order (like Run all) in that notebook's own kernel, save the outputs into the notebook and return a per-cell summary. Its variables stay available to notebook_run_code(notebook_path=path) until kernel_shutdown.notebook_run_codeRun Python in a Studio notebook kernel and return its output. Without notebook_path it runs in the shared default kernel (one persistent namespace for agent code); with notebook_path (relative to the notebooks folder) it runs in that notebook's own kernel, the namespace its tab in the Notebook tab uses, with the notebook's folder as working directory. Inside, `import chipwhisperer as cw` gives cw.scope()/cw.target() bound to Studio's connected devices, cw.capture_trace() stores traces in the Capture tab, IPython magics and !shell commands work, and `studio` offers studio.traces, studio.add_trace(), studio.build_firmware(), studio.program(). Cells of all kernels run one at a time.notebook_writeCreate or overwrite a notebook from a list of cells, each {"type": "code" or "markdown", "source": "..."}; the user sees it in the Notebook tab.notes_listText notes in Studio's notes pad.onewire1-Wire on the Husky bit-banger: reset (reset pulse and presence detect) or read_rom (command 0x33: family code, 48-bit serial, CRC check). The simulator has a DS18B20-style device (family 0x28).open_uiReturn the URL of the Studio web UI (live waveform, settings tree) and optionally open it in the default browser on this machine.openocd_commandRun an OpenOCD command on the running server (e.g. 'targets', 'halt', 'reg', 'mdw 0x08000000 4', 'reset run') and return ok and its output.openocd_mpsseSwitch the scope into MPSSE mode for JTAG or SWD (header 'userio' routes it to the Husky USERIO header) or back to normal mode (enable=false, which reconnects the scope; it also restores a scope Studio found already in MPSSE mode, for example after a restart, shown as mpsse.detected in openocd_status). While MPSSE is on, Studio has no scope connection, USB-CDC serial and the native programmers are unavailable. Not on the simulator.openocd_programFlash a .hex/.elf (or .bin with address, e.g. '0x08000000') on the Studio machine through OpenOCD's program command, then verify and reset.openocd_startStart an OpenOCD server with the ChipWhisperer interface config and a target config from OpenOCD's scripts folder (see openocd_status list_targets). Needs MPSSE mode (openocd_mpsse) and real hardware. GDB connects to gdb_port.openocd_statusOpenOCD state: whether it is installed (toolchain id 'openocd', install with toolchain_install), the server and its GDB/telnet/TCL ports, MPSSE mode, recent log lines; list_targets adds the target configs from OpenOCD's scripts folder (filter by text, e.g. 'stm32').openocd_stopStop the OpenOCD server.recipe_applyApply a recipe's actions and settings on the connected scope and return what was done plus the capture parameters and notes to follow.recipesThe best way to reach each goal on the connected ChipWhisperer model: fast capture, long capture, a trigger without a GPIO, a first voltage or clock glitch, cleanest traces. Each recipe lists the settings and actions it applies and the notes that matter on this model; unavailable goals say why.scope_actionRun a scope action: default_setup (recommended defaults), arm_capture (arm and wait for one trigger without talking to the target, to test triggering), reset_fpga, glitch_disable (stop glitching and restore the clock and power outputs), cglitch_setup (clock glitch preset: glitch clock on HS2, crowbar off) or vglitch_lp / vglitch_hp / vglitch_both (voltage glitch preset with that crowbar MOSFET). The presets keep the capture settings; the Nano has no clock glitch.scope_clear_errorsClear the scope's sticky errors and alarms (a Husky powers its glitch, logic analyser and SAD blocks down after an XADC alarm until this is done) and return the health read afterwards.scope_connectConnect to a capture scope. kind='sim' uses the built-in simulator (no hardware); sim_model picks which ChipWhisperer it stands in for (default husky), which decides the protocols, triggers and programmers offered. sn picks a device by serial number, force reconnects a device another program left open, default_setup applies ChipWhisperer's recommended settings for the default target.scope_disconnectDisconnect the scope (and release the USB device).scope_get_settingsAll scope settings as a flat list of {path, value, type, writable, choices} read back from the hardware; filter keeps paths containing the text (e.g. 'glitch', 'adc', 'clock'); include_docs adds each setting's documentation.scope_healthHow the scope is doing: FPGA temperature and rails with alarms (Husky), PLL or DCM lock, external clock drift, sticky capture errors (clip, FIFO, trigger too soon), USB controller serial overflows, glitches fired and the last trigger length, plus 'problems': plain sentences about anything wrong and what to do. Read fresh from the hardware by default.scope_pinoutPin diagram of the ChipWhisperer Studio has open (the active device): every pin of the 20-pin target header with its number, name, direction, function and scope.io alias, the Husky USERIO header, the coax ports and model notes. connected False with the message "No ChipWhisperer connected" when no scope is open.scope_set_settingSet one scope setting by dotted path (e.g. 'gain.db'=25, 'adc.samples'=5000, 'adc.offset'=0, 'trigger.triggers'='tio4', 'clock.clkgen_freq'=7.37e6, 'glitch.width'=10). Returns the value read back from the hardware.scope_set_settingsSet several scope settings in order, given as {path: value}; stops at the first error and reports what was applied.scope_upgrade_firmwareFlash the SAM firmware bundled with this chipwhisperer library onto the connected scope (studio_status shows scope.firmware with the current, library and upstream versions and upgrade_available). The scope re-enumerates afterwards: unplug and replug it, then scope_connect again.selection_statsStatistics (count, sum, mean, median, min, max, peak to peak, std, variance, RMS) of explicit values, of samples start..end of a stored trace (trace_index, -1 = newest), or of one sample index across all stored traces.serial_readSerial traffic seen by Studio (both directions) after timestamp 'since', each entry {t, dir, data, hex}.serial_writeWrite raw data to the target serial port: text, or hex bytes when hex=true; newline appends a line feed, or eol picks the line ending (none, lf, cr, crlf).simpleserialSend one SimpleSerial command with a hex payload and read the reply, e.g. cmd='k' with a 16 byte key, cmd='p' with a plaintext (read_len=16 for AES output). read_len=0 skips reading.simpleserial_connectConnect the target with a SimpleSerial protocol version: 1.0 (no acks), 1.1, 2.1 (current firmware) or cdc (v2 over the scope's USB-CDC port, when the firmware has it). Then use simpleserial or serial_write.spi_disableTurn off the SPI master and release its pins.spi_enableTurn on the SPI master on the 20-pin header (SCK, MOSI, MISO; chip select on the chosen pin). Needs the TARGET_SPI firmware feature; not on the CW-Nano. nRST is held high while SPI is on. On the simulator a W25Q128-style SPI flash (JEDEC ID EF 40 18) answers.spi_transferSend hex bytes on MOSI (e.g. '9f 00 00 00' reads a flash JEDEC ID) and return the bytes read on MISO. start/stop control chip select at the beginning and end, so a long transaction can be split.studio_optionsEvery choice Studio accepts: scope kinds, target kinds, programmers, CPA leakage models, crypto targets, SimpleSerial versions, host platform and version.studio_statusCurrent state: connected scope and target, running job and its progress, stored trace count, CPA summary, data folder and the Studio URL.target_connectConnect the target interface. SimpleSerial2 matches current ChipWhisperer firmware, SimpleSerial is the legacy v1 protocol, sim is the simulated AES target. options are passed to chipwhisperer.target() (e.g. {'bsfile': ...} for CW305).target_disconnectDisconnect the target interface.target_get_settingsAll target interface settings (baud rate, protocol options...) as a flat list, same format as scope_get_settings.target_programErase and program the target microcontroller with a .hex/.bin file on the machine running Studio, using the chosen programmer (STM32F for CWLITEARM/Nano/STM32 targets, XMEGA for CWLITEXMEGA, AVR for ATmega, SAM4S for Husky's target, NEORV32 for the soft core), or load an FPGA bitstream (iCE40, XC7A35T on CW312T boards). Programmers the connected model does not support are refused with the reason (see hardware_capabilities).target_set_settingSet one target interface setting by dotted path (e.g. 'baud'=38400).toolchain_add_customRegister another toolchain, e.g. for targets Studio has no download for (TriCore, PowerPC, RX) or a specific GCC version: give an archive url (+ sha256) to download, or path to an existing install. arch lists the architectures it serves (arm, avr, riscv, tricore, ppc, rx...), prefix is the tool prefix (e.g. 'arm-none-eabi-').toolchain_cancelCancel a running toolchain download.toolchain_installDownload, verify (SHA-256) and unpack a toolchain by id (arm-gcc, avr-gcc, riscv-gcc, clang, win-build-tools, openocd or a custom id). Works offline afterwards.toolchain_removeDelete an installed toolchain from disk (it can be installed again later).toolchain_remove_customRemove a custom toolchain entry (and its download, if Studio installed it).toolchains_listToolchains Studio knows (GCC for Arm, AVR and RISC-V, clang, make for Windows, OpenOCD, plus custom ones): version, download size, whether installed, bin folder, a system copy on PATH, and any running download.toolchains_refreshFetch the latest toolchain list published in the Studio repository, so newer compiler versions become available without updating Studio.trace_getOne stored trace: its plaintext, ciphertext and key (hex), summary statistics (min, max, mean, std, argmin, argmax) and at most max_points samples (min/max decimated for long traces).trace_spectrumMagnitude spectrum (dB below the peak) of one stored trace or, without an index, of the mean trace; frequencies in Hz from the scope's ADC rate when connected. Shows the clock harmonics and where a filter cutoff should go.traces_alignStatic alignment: find the shift of every stored trace that best matches the reference trace over the window start..end (0 = whole trace) within +-max_shift samples by cross-correlation; apply=true shifts the traces in place. Returns the shift statistics and histogram.traces_clearDelete all stored traces from memory (exports on disk are kept).traces_exportSave stored traces with their inputs/outputs/keys: npz (numpy), cwp (ChipWhisperer project, opens in the Python API), csv or npy (a set of .npy files). Relative paths go into Studio's data folder.traces_filterFilter every stored trace in place: windowed-sinc FIR lowpass, highpass or bandpass with cutoffs as a fraction of the sample rate (or in Hz when sample_rate is given), or a moving average of cutoff samples.traces_importLoad traces from an .npz, .npy or ChipWhisperer .cwp file (or a .zip holding a ChipWhisperer project) on the machine running Studio; replace=false appends to the stored traces.traces_statsPer-sample statistics over stored traces start..end (mean, min, max, std...) each decimated to at most max_points, useful to find where the target is computing.traces_summaryHow many traces are stored, samples per trace and memory used.trigger_configuretrigger_output_setRoute a trigger or clock output port: aux (Pro) 'true' or 'false'; trig_mcx (Husky) glitch, trigger, 'inverted glitch' or 'inverted trigger'; aux_mcx (Husky) high_z, userio_ck or hs2.trigger_outputsThe trigger and clock output ports of the scope (Pro: AUX SMA on or off; Husky: TRIG/GLITCH MCX carrying the trigger or the glitch, AUX MCX high-Z, USERIO clock or HS2) and what each carries now.trigger_sad_previewScore a SAD reference (stored trace 'trace' from sample start) over the stored traces offline, exactly as the connected model's SAD engine would: per trace where it fires and its best score, how many traces fire and how many at the expected position, and a suggested threshold. No hardware access.tutorials_fetchDownload NewAE's tutorial notebooks (chipwhisperer-jupyter, matched to the installed firmware sources) into the notebooks folder, with firmware paths linked so their build cells work. Locally edited or added files are kept; if some of them would be replaced by a different upstream version the job stops in state "confirm" listing job.conflicts, and nothing changes until you call again with on_modified="backup" (install the new versions and keep the local copies as <name>.local-<timestamp>.<ext>) or on_modified="keep" (leave the local copies in place). Ask the user before choosing.uart_configureConfigure the target UART: baud (500 to 2000000), parity, stop bits (1, 1.5 or 2; data bits are always 8) and which TIO pins are RX and TX. Only pin modes valid for the connected model are accepted (the CW-Nano is fixed to RX on TIO1 and TX on TIO2; TIO4 can only transmit).userio_setHusky USERIO header: mode routes the header (normal GPIO, fpga_debug internal signals, trace for Arm trace, target_debug_jtag or target_debug_swd for OpenOCD); in normal mode direction is a bit mask (bit n = 1 drives Dn, bit 8 is CK where the library supports it) and drive the levels to drive. Returns the pins read back. Husky only.Security checks
6 checks have not been run yet.