![]() |
|
EBlink squirrel error on stm32f3 - The index 'ntrfApi' does not exist - Printable Version +- EmBitz (https://www.embitz.org/forum) +-- Forum: EBlink (https://www.embitz.org/forum/forum-3.html) +--- Forum: Bug report (https://www.embitz.org/forum/forum-9.html) +--- Thread: EBlink squirrel error on stm32f3 - The index 'ntrfApi' does not exist (/thread-231.html) |
EBlink squirrel error on stm32f3 - The index 'ntrfApi' does not exist - jack133 - 13-10-2025 Hello, I try to programm an Evaluation board with a STM32F303VE and an integrated STLink V2: https://www.st.com/en/evaluation-tools/stm32303e-eval.html#documentation When I click on the debugger button under Embitz, I have the following error: Squirrel Error The index 'ntrfApi' does not exist stm32_device[65] in 'stmicro/stm32f3.script' Even if I try debugging in Power Shell to launch the EBLink alone with this command : .\eblink.exe -v 7 -I stlink -S stm32 -G The same error appears: EBlink version 6.02-[201] by Gerard Zagema Using EB_SCRIPT_PATH = C:\Program Files (x86)\EmBitz\EBlink\scripts Interface : STlink Interface USB# : 36FF71063447313049172557 Interface at 1:40 - <BUS>:<ADDR> Interface type : STlink/V2 STlink Frmware : V2.J46.S0 Target voltage : 3.21V Interface speed: 4000KHz Try DAP_AP 0. Read CPU id on DAP_AP 0 CPU id found (0x410FC241) Target selected: Cortex-M Target detected: Cortex-M4 (r0p1) with FPv4_SP HW breakpoints : 6 HW watchpoints : 4 Fault unwind : Active (level 2) Search script stm32.script in path: C:\Program Files (x86)\EmBitz\EBlink\scripts Script found: stm32.script Squirrel debug main©[17] {stm32.script} Squirrel debug main®[167] {stm32.script} Squirrel debug ebMain©[62] {stm32.script} Squirrel debug findDevice©[90] {stm32.script} STmicro device : 0x446 Search script stmicro/stm32f3.script in path: C:\Program Files (x86)\EmBitz\EBlink\scripts Script found: stmicro/stm32f3.script Squirrel debug main©[15] {stmicro/stm32f3.script} Squirrel debug main®[104] {stmicro/stm32f3.script} Squirrel debug stm32_device©[56] {stmicro/stm32f3.script} Squirrel debug stm32_device(e)[65] {stmicro/stm32f3.script} Squirrel debug stm32_device®[65] {stmicro/stm32f3.script} Squirrel debug findDevice®[113] {stm32.script} Catch{..} at ebMain[68] in "stm32.script" Squirrel Error The index 'ntrfApi' does not exist stm32_device[65] in 'stmicro/stm32f3.script' Squirrel debug ebMain®[69] {stm32.script} What can I do to correct this error ? Thank you, Stéphane RE: EBlink squirrel error - embitz - 14-10-2025 Well, as the error already mention, I made a typo. In the script file stm32f3.script on line 65 change ntrfApi.write(DBGMCU_APB1_FZ, 0x00001800) into intrfApi.write(DBGMCU_APB1_FZ, 0x00001800) Thanks for the report. On github I already changed this. https://github.com/EmBitz/EBlink-scripts If you need help with finding the script file, please report your OS so I can direct you to the right location. |