Neural Inverse is Open Source →
DocsAgent Tools Reference

Agent Tools Reference

All firmware tools are accessible via the AI agent in chat or Power Mode. Type the tool name as a command.

Core Hardware (10 tools)

ToolDescription
fw_get_mcu_infoGet selected MCU specifications
fw_list_peripheralsList all peripherals on the MCU
fw_get_register_mapFull register map for a peripheral
fw_get_peripheral_configCurrent config state of a peripheral
fw_get_bit_field_infoBit field details for a register
fw_get_errataGet silicon errata for a peripheral
fw_check_silicon_bugCheck if code triggers a known erratum
fw_get_timing_constraintsGet timing constraints from datasheet
fw_get_clock_configGet current clock configuration
fw_nvic_priority_guideNVIC interrupt priority recommendations

Project & MCU (4 tools)

ToolDescription
fw_scan_projectScan workspace for firmware indicators
fw_search_mcuSearch MCU database
fw_initCreate Firmware.inverse manifest
fw_read_config_fileRead a project config file

Datasheet (3 tools)

ToolDescription
fw_query_datasheetQuery extracted datasheet content
fw_get_datasheet_citationsGet page references for a topic
fw_upload_datasheetUpload and parse a PDF datasheet

Debug (12 tools)

ToolDescription
fw_debug_startStart GDB server and connect
fw_debug_stopStop debug session
fw_debug_haltHalt CPU
fw_debug_continueResume execution
fw_debug_stepStep one source line
fw_debug_step_instructionStep one instruction
fw_debug_set_breakpointSet breakpoint
fw_debug_remove_breakpointRemove breakpoint
fw_debug_read_registersRead CPU registers
fw_debug_read_memoryRead memory at address
fw_debug_backtraceShow call stack
fw_debug_combinedExecute multiple debug commands

Serial (8 tools)

ToolDescription
fw_serial_list_portsList available serial ports
fw_serial_connectConnect to serial port
fw_serial_disconnectDisconnect serial
fw_serial_sendSend string data
fw_serial_readRead received data
fw_serial_monitorStream serial output
fw_serial_clearClear buffers
fw_serial_auto_baudAuto-detect baud rate

Build & Binary Analysis (13 tools)

ToolDescription
fw_buildCompile the project
fw_flashFlash binary to target
fw_binary_sizeSection size breakdown
fw_get_build_errorsParse build errors
fw_get_build_commandShow build command
fw_detect_flash_toolsFind available programmers
fw_check_toolchainVerify toolchain installation
fw_analyze_map_fileParse linker map file
fw_analyze_stack_usageParse GCC .su files
fw_read_elf_symbolsRead ELF symbol table
fw_lookup_symbolsFind symbol by name
fw_disassembleDisassemble function
fw_check_stack_overflow_riskIdentify overflow-prone functions

Code Generation (8 tools)

ToolDescription
fw_generate_peripheral_initGenerate peripheral initialization
fw_generate_gpio_configGenerate GPIO configuration
fw_generate_dma_configGenerate DMA setup
fw_generate_clock_configGenerate clock/PLL configuration
fw_generate_isrGenerate ISR stubs
fw_generate_linker_scriptGenerate .ld linker script
fw_generate_rtos_taskGenerate RTOS task template
fw_generate_init_sequenceGenerate full init sequence

Peripheral Intelligence (6 tools)

ToolDescription
fw_peripheral_listList known external peripherals
fw_peripheral_searchSearch component catalog
fw_peripheral_driverGet driver info for a component
fw_peripheral_addAdd peripheral to session
fw_peripheral_removeRemove peripheral from session
fw_peripheral_wiringGet wiring diagram for a component

Pin Mux (8 tools)

ToolDescription
fw_check_pin_conflictsDetect pin conflicts
fw_get_pin_assignmentsList all pin allocations
fw_get_available_pinsFind free pins
fw_suggest_pin_assignmentSuggest optimal pin
fw_pinout_showVisualize pin assignments
fw_pinout_checkValidate all assignments
fw_pinout_exportExport pin map
fw_gpio_alternate_functionsList alternate functions for a pin

Clock Tree (4 tools)

ToolDescription
fw_calculate_prescalerCompute prescaler for baudrate
fw_get_clock_constraintsMCU clock limits
fw_suggest_clock_configSolve PLL for target frequency
fw_validate_clock_treeValidate clock configuration

Register Compositor (3 tools)

ToolDescription
fw_compute_register_valuesCompute register value from config
fw_decode_register_valueDecode hex value to bit fields
fw_diff_register_configCompare two register configs

Memory Layout (2 tools)

ToolDescription
fw_memory_layoutShow memory regions and usage
fw_read_config_fileRead linker script or config

Dependencies (2 tools)

ToolDescription
fw_check_peripheral_depsCheck peripheral dependency chain
fw_dma_channel_mapShow DMA channel/stream assignments

Logic Analyzer (5 tools)

ToolDescription
fw_la_captureCapture digital signals
fw_la_statusConnection status
fw_la_triggerArm trigger condition
fw_la_decodeDecode captured protocol
fw_la_exportExport capture data

Power Analyzer (6 tools)

ToolDescription
fw_pa_measureMeasure power consumption
fw_pa_statusConnection status
fw_pa_recordRecord power profile
fw_pa_triggerArm measurement trigger
fw_pa_set_voltageSet voltage rail reference
fw_pa_profile_bootProfile boot power

Oscilloscope (6 tools)

ToolDescription
fw_scope_discoverFind oscilloscopes
fw_scope_captureCapture waveform
fw_scope_scpiSend raw SCPI command
fw_scope_measureMeasure signal property
fw_scope_screenshotCapture display
fw_scope_rail_checkCheck voltage rail

Coordinated Capture (2 tools)

ToolDescription
fw_capture_allMulti-instrument synchronized capture
fw_correlate_power_logicCorrelate power with logic

RTT / ITM / SWO (6 tools)

ToolDescription
fw_rtt_startStart RTT session
fw_rtt_readRead RTT channel
fw_rtt_writeWrite to RTT down-channel
fw_itm_startStart ITM/SWO tracing
fw_itm_readRead ITM output
fw_swo_profileDWT cycle profiling

Peripheral Catalog (2 tools)

ToolDescription
fw_peripheral_catalog_searchSearch component library
fw_peripheral_catalog_detailGet component details

Project Configuration (6 tools)

ToolDescription
fw_initCreate Firmware.inverse
fw_niignore_checkCheck if a file is edit-blocked
fw_checkpoint_createCreate workspace snapshot
fw_checkpoint_listList checkpoints
fw_checkpoint_rewindRewind to a checkpoint
fw_checkpoint_forkFork from a checkpoint

GitHub Daemon (3 tools)

ToolDescription
fw_daemon_startStart GitHub @ni mention polling
fw_daemon_stopStop daemon
fw_daemon_statusDaemon status

Errata (2 tools)

ToolDescription
fw_errata_searchSearch silicon errata
fw_errata_check_operationCheck if code triggers erratum

Formula Verification (2 tools)

ToolDescription
fw_list_formulasList hardware formulas
fw_verify_formulaVerify a formula calculation

Closed-Loop Optimization (3 tools)

ToolDescription
fw_closed_loopStart autonomous optimization
fw_closed_loop_abortAbort optimization
fw_closed_loop_statusOptimization status

HIL Testing (4 tools)

ToolDescription
fw_hil_defineDefine a HIL test
fw_hil_listList defined tests
fw_hil_runRun a single HIL test
fw_hil_run_suiteRun all HIL tests

Simulation (2 tools)

ToolDescription
fw_qemu_availabilityCheck QEMU support for target
fw_renode_board_checkCheck Renode support

Compliance (6 tools)

ToolDescription
fw_misra_checkMISRA check on code snippet
fw_misra_check_fileFull file MISRA analysis
fw_cert_c_checkCERT-C compliance check
fw_safety_auditFull framework audit
fw_list_framework_violationsList framework violations
fw_generate_traceabilityGenerate traceability matrix

RTOS (5 tools)

ToolDescription
fw_rtos_detectDetect RTOS in project
fw_rtos_snapshotCapture RTOS state
fw_rtos_syncSync RTOS symbols
fw_rtos_threadsList running threads
fw_rtos_heapHeap usage analysis

Was this page helpful?

Last edited