Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
STM32F030 script error
#1
(Sorry - reposted here under the proper thread)
Hi All,
with STM32F030 target, eblink aborts.
cause: there is a syntax error in scripts/STM32F0x.script, line 71

70        case 0x444 : // CHIPID_STM32_F0_SMALL
71           deviceStr = "3x" // = was missing
72            page_size = 0x400
73            ram_size = 0x1000
74            break

cheers, escalator
Reply
#2
(31-10-2021, 07:38 PM)escalator Wrote: (Sorry - reposted here under the proper thread)
Hi All,
with STM32F030 target, eblink aborts.
cause: there is a syntax error in scripts/STM32F0x.script, line 71

70        case 0x444 : // CHIPID_STM32_F0_SMALL
71           deviceStr = "3x" // = was missing
72            page_size = 0x400
73            ram_size = 0x1000
74            break

cheers, escalator

Thanks for the report.
Updated on github and will be in releases beyond 4.4-[31]
Reply
#3
Hi.
(Sorry for my english...)
I try Embitz v.2.00  with EBlink and have a problem with ST-link.  Sad
I have 2 different St-Links:
First - clone from China - my preffered variant (I use 4 wire connection - VDD, Gnd, SW_CLK, SW_DIO) powered STmicro device from ST-Link
Second - original ST-Link V2 Isol from ST/ powered STmicro device from external PSU
Both variant ST-Link work with Embitz v 1.11 without problem more 2 years...
When I tried any communication between ST-Link and device in Embitz 2.00 -> I had errors ..
When I try "Flash -> reset " without connected device I have message "Error initializing interface STLink. Target power perhaps?" - It is correct error. Programmer/Debugger really do not connected in this moment. All GOOD.
For example I want to erase chip. I connect ST-Link to device and press "Flash-> Erase" and have pop-up message:
"Script error: SquirrelFunction <> call failed"
Logs:
Code:
EBlink version 4.4-[31] by Gerard Zagema
Interface USB# : 51FF71064885504842360387
Interface type : STlink/V2
STlink connect : Under reset
Target voltage : 6.41V                    (my comment: !!! - China ST-Link . Mistake voltage/ really - 3.2V)
Interface speed: 4000KHz
Target detected: Cortex-M0 (r0p0)
HW breakpoints : 4
HW watchpoints : 2
Fault unwind   : Active break (level 2)
Script error :
SquirrelFunction<> call failed
stmicro/stm32f0x.script line = (71) column = (27) : error end of statement expected (; or lf)
Error: end of statement expected (; or lf)
stmicro/stm32f0x.script line = (71) column = (27) : error end of statement expected (; or lf)
Error: end of statement expected (; or lf)

AN ERROR HAS OCCURED [Failed to load required script: stmicro/stm32f0x.script]

CALLSTACK
*FUNCTION [set_target()] stm32-auto.script line [76]

LOCALS
[deviceId] 1092
[this] TABLE

I not use physically RESET pin  --->>>  and tried change setting "Configure Flash tool.." Reset (System/Core/JTAG/User) but no result/

Sorry for "baby-question" - What I do incorrect?


Attached Files Thumbnail(s)
   
Reply
#4
Hi, Check this thread from the start.

There was an error in the 030 script. Please modify the script or download the latest at
https://github.com/EmBitz/EBlink
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)