Hi
I would like flash my STM32F407VGT Board, but get Error-messages while flashing.
My Script (i work under Linux):
Error-Messages:
Display All
What am i doing wrong ? On other boards with STM32F107, it works well.
Thanks for any help
Daniel
I would like flash my STM32F407VGT Board, but get Error-messages while flashing.
My Script (i work under Linux):
Error-Messages:
Brainfuck Source Code
- SEGGER J-Link Commander V4.50i ('?' for help)
- Compiled Jun 22 2012 19:00:38
- DLL version V4.50i, compiled Jun 22 2012 19:00:36
- Firmware: J-Link ARM V8 compiled Jul 20 2012 16:33:52
- Hardware: V8.00
- S/N: 268000082
- OEM: SEGGER-EDU
- Feature(s): FlashBP
- VTarget = 3.254V
- Info: TotalIRLen = 9, IRPrint = 0x0011
- Info: Found Cortex-M4 r0p1, Little endian.
- Info: TPIU fitted.
- Info: ETM fitted.
- Info: FPUnit: 6 code (BP) slots and 2 literal slots
- Found 2 JTAG devices, Total IRLen = 9:
- #0 Id: 0x4BA00477, IRLen: 04, IRPrint: 0x1, CoreSight JTAG-DP (ARM)
- #1 Id: 0x06413041, IRLen: 05, IRPrint: 0x1, STM32 Boundary Scan
- Cortex-M4 identified.
- JTAG speed: 100 kHz
- J-Link>exec EnableFlashDL
- J-Link>exec Device=STM32F407VG
- Info: Device "STM32F407VG" selected (1024 KB flash, 128 KB RAM).
- J-Link>speed 100
- JTAG speed: 100 kHz
- J-Link>h
- R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000
- R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000
- R8 = 00000000, R9 = 00000000, R10= 00000000, R11= 00000000
- R12= 00000000, R13= FFFFFFFC, MSP= FFFFFFFC, PSP= 00000000
- R14(LR) = FFFFFFFF, R15(PC) = FFFFFFFE
- XPSR 01000000, APSR 00000000, EPSR 01000000, IPSR 00000000
- CFBP 00010000, CONTROL 00, FAULTMASK 01, BASEPRI 00, PRIMASK 00
- FPS0 = 00000000, FPS1 = 00000000, FPS2 = 00000000, FPS3 = 00000000
- FPS4 = 00000000, FPS5 = 00000000, FPS6 = 00000000, FPS7 = 00000000
- FPS8 = 00000000, FPS9 = 00000000, FPS10= 00000000, FPS11= 00000000
- FPS12= 00000000, FPS13= 00000000, FPS14= 00000000, FPS15= 00000000
- FPS16= 00000000, FPS17= 00000000, FPS18= 00000000, FPS19= 00000000
- FPS20= 00000000, FPS21= 00000000, FPS22= 00000000, FPS23= 00000000
- FPS24= 00000000, FPS25= 00000000, FPS26= 00000000, FPS27= 00000000
- FPS28= 00000000, FPS29= 00000000, FPS30= 00000000, FPS31= 00000000
- FPSCR= 00000000
- J-Link>loadbin /home/a239368/personal/Mikrocontroller/Cortex/stm32f4/mikromedia/project.bin, 0x0000
- Loading binary file... [/home/a239368/personal/Mikrocontroller/Cortex/stm32f4/mikromedia/project.bin]
- Writing bin data into target memory @ 0x00000000.
- ****** Error: PC of target system has unexpected value after calculating CRC. (PC = 0x20000054)!
- ---------------------------------------------------------------------- Registers -------------------------------------------------------------------------------------
- PC = 20000054
- Current: R0 = 00000000, R1 = 08000000, R2 = 00004000, R3 = 00000003
- R4 = 20000358, R5 = 200003B8, R6 = 000000FF, R7 = 20000147
- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- Info: J-Link: Flash download: Flash programming performed for 1 range (0 bytes)
- ****** Error: Failed to erase sectors 0 @ address 0x08000000 (erase error)
- Info: J-Link: Flash download: Total time needed: 7370.504s (Prepare: 1.692s, Compare: 0.078s, Program: 0.000s, Verify: 7367.605s, Restore: 1.126s)
- J-Link>r
- Reset delay: 0 ms
- Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET bit.
- Info: Found Cortex-M4 r0p1, Little endian.
- Info: TPIU fitted.
- Info: ETM fitted.
- Info: FPUnit: 6 code (BP) slots and 2 literal slots
- J-Link>g
- J-Link>exit
What am i doing wrong ? On other boards with STM32F107, it works well.
Thanks for any help
Daniel