stm32f030 problem!

Gast #5371639
Lesenswert?

Hallo, ich habe dieses Problem und ich weiß nicht, warum es ist ... Ich 
benutze die LED blinken von 
https://github.com/jjflash65/stm32f030/tree/master/blinky die Wahrheit, 
ich weiß nicht, was passiert ist


st-flash write blinky.bin 0x8000000
st-flash 1.4.0-20-gaf4d2eb
2018-03-30T19:57:22 INFO common.c: Loading device parameters....
2018-03-30T19:57:22 INFO common.c: Device connected is: F0 small device, 
id 0x10006444
2018-03-30T19:57:22 INFO common.c: SRAM size: 0x1000 bytes (4 KiB), 
Flash: 0x4000 bytes (16 KiB) in pages of 1024 bytes
2018-03-30T19:57:22 INFO common.c: Attempting to write 1148 (0x47c) 
bytes to stm32 address: 134217728 (0x8000000)
Flash page at addr: 0x08000400 erased
2018-03-30T19:57:22 INFO common.c: Finished erasing 2 pages of 1024 
(0x400) bytes
2018-03-30T19:57:22 INFO common.c: Starting Flash write for 
VL/F0/F3/F1_XL core id
2018-03-30T19:57:22 INFO flash_loader.c: Successfully loaded flash 
loader in sram
2018-03-30T19:57:25 ERROR flash_loader.c: flash loader run error
2018-03-30T19:57:25 ERROR common.c: stlink_flash_loader_run(0x8000000) 
failed! == -1
stlink_fwrite_flash() == -1
../lib/libopencm3.mk:49: fallo en las instrucciones para el objetivo 
'flash'
make: *** [flash] Error 255
Gast #5371797
Lesenswert?

Autor: Nop (Gast)

st-flash write blinky.bin 0x8000000


st-flash 1.4.0-20-gaf4d2eb
2018-03-30T22:18:01 INFO common.c: Loading device parameters....
2018-03-30T22:18:01 INFO common.c: Device connected is: F0 small device, 
id 0x10006444
2018-03-30T22:18:01 INFO common.c: SRAM size: 0x1000 bytes (4 KiB), 
Flash: 0x4000 bytes (16 KiB) in pages of 1024 bytes
2018-03-30T22:18:01 INFO common.c: Attempting to write 1148 (0x47c) 
bytes to stm32 address: 134217728 (0x8000000)
Flash page at addr: 0x08000400 erased
2018-03-30T22:18:01 INFO common.c: Finished erasing 2 pages of 1024 
(0x400) bytes
2018-03-30T22:18:01 INFO common.c: Starting Flash write for 
VL/F0/F3/F1_XL core id
2018-03-30T22:18:01 INFO flash_loader.c: Successfully loaded flash 
loader in sram
2018-03-30T22:18:01 ERROR flash_loader.c: write error, count == 512
2018-03-30T22:18:01 ERROR common.c: stlink_flash_loader_run(0x8000000) 
failed! == -1
stlink_fwrite_flash() == -1
Gast #5371811
Lesenswert?

wieder ändern, mit der Option reset (st-flash) macht den Versuch, ich 
sehe den Prozess mit st-term, mehrere Male zurückgesetzt, laden und 
laufen, wenn ich den Code neu laden muss alles wieder beginnt
(Firma: developer) #5371821
Lesenswert?

ist eine finale Anwendung, ein Modul für die Erfassung von 
landwirtschaftlichen Daten, wenn ich es ein wenig mehr profiliere, werde 
ich es in das Forum hochladen, damit Sie einen Kommentar abgeben können 
... natürlich, wenn ich blitzen kann ...
(Firma: developer) #5371839
Lesenswert?

STM32_Programmer.sh -c port=SWD -w blinky.bin  0x08000000
      -------------------------------------------------------------------
                        STM32CubeProgrammer v1.0.0
      -------------------------------------------------------------------

ST-LINK Firmware version : V2J30S7
SWD frequency = 4000 KHz
Connection mode: Normal
Device ID: 0x444

Device name:  STM32F030x4/F030x6
Device type:  MCU
Device CPU :  Cortex_M0


Memory Programming ...
Openeing and parsing file: blinky.bin
  File          : blinky.bin
  Size          : 1148 Bytes
  Address       : 0x08000000


Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 1]
Download in Progress:
[==================================================] 100%

File download complete
Time elapsed during the download operation is: 00:00:00.154

DANKE !!!!!

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren