Using IAR for ARM.
I first worked with the dicovery EV board (stm32f4-
discovrey) which uses ST-LINK and all worked fine.
Now ,using our board im having trouble debugging/loading to internal
flash.using the stm32f427vi on our board. boot0=1 boot1=0;using segger jlink
EDU;I am able to connect once with IAR workbench and run/debug the SW.Second
time I get "the flash loader program reported an error".When setting the
boot to load directly from flash(boot0=0, boot1=1)the SW is running ok but I
cant debug or load flash..
When chacking with jlink commander I get the folllowing:
SEGGER J-Link Commander V4.82 ('?' for help) Compiled Mar 10 2014 19:07:55
DLL version V4.82, compiled Mar 10 2014 19:07:45
Firmware: J-Trace Cortex-M Rev.3 compiled May 9 2014 18:01:15
Hardware: V3.10
S/N: 183100033
OEM: IAR
Emulator has RAWTRACE capability
VTarget = 3.203V
Info: TotalIRLen = 9, IRPrint = 0x0011
Info: Found Cortex-M4 r0p1, Little endian.
Info: FPUnit: 6 code (BP) slots and 2 literal slots
Info: TPIU fitted.
Info: ETM fitted.
Found 2 JTAG devices, Total IRLen = 9:
#0 Id: 0x4BA00477, IRLen: 04, IRPrint: 0x1, CoreSight JTAG-DP (ARM)
#1 Id: 0x06419041, IRLen: 05, IRPrint: 0x1, STM32 Boundary Scan
Cortex-M4 identified.
Target interface speed: 100 kHz
And after reset I get:
J-Link>r
Reset delay: 0 ms
Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET
bit.
WARNING: Could not set S_RESET_ST
WARNING: Could not set S_RESET_ST
J-Link>
Please advise,
project is pending for this reason.
Thanks in advance,
I first worked with the dicovery EV board (stm32f4-
discovrey) which uses ST-LINK and all worked fine.
Now ,using our board im having trouble debugging/loading to internal
flash.using the stm32f427vi on our board. boot0=1 boot1=0;using segger jlink
EDU;I am able to connect once with IAR workbench and run/debug the SW.Second
time I get "the flash loader program reported an error".When setting the
boot to load directly from flash(boot0=0, boot1=1)the SW is running ok but I
cant debug or load flash..
When chacking with jlink commander I get the folllowing:
SEGGER J-Link Commander V4.82 ('?' for help) Compiled Mar 10 2014 19:07:55
DLL version V4.82, compiled Mar 10 2014 19:07:45
Firmware: J-Trace Cortex-M Rev.3 compiled May 9 2014 18:01:15
Hardware: V3.10
S/N: 183100033
OEM: IAR
Emulator has RAWTRACE capability
VTarget = 3.203V
Info: TotalIRLen = 9, IRPrint = 0x0011
Info: Found Cortex-M4 r0p1, Little endian.
Info: FPUnit: 6 code (BP) slots and 2 literal slots
Info: TPIU fitted.
Info: ETM fitted.
Found 2 JTAG devices, Total IRLen = 9:
#0 Id: 0x4BA00477, IRLen: 04, IRPrint: 0x1, CoreSight JTAG-DP (ARM)
#1 Id: 0x06419041, IRLen: 05, IRPrint: 0x1, STM32 Boundary Scan
Cortex-M4 identified.
Target interface speed: 100 kHz
And after reset I get:
J-Link>r
Reset delay: 0 ms
Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET
bit.
WARNING: Could not set S_RESET_ST
WARNING: Could not set S_RESET_ST
J-Link>
Please advise,
project is pending for this reason.
Thanks in advance,