We are currently working with a new STM32F4 chip with the following internal flash and Ram address:
iROM - Starting address: 0x00000000, Size = 1M bytes
iRAM - Starting address: 0x20000000, Size = 128K bytes
So far we have not been able to transfer program into the internal flash of this new STM32F4 device. We have tested on IAR EWM, KEIL uVison 5 as well as Coocox IDE and none of them work. We are able to debug the program when the program code is loaded into RAM but not when we select the program to be stored into the embedded flash. When we attempted to debug program in flash in KEIL uVison 5 the log windows said "No algorithm for address xxxx".
We checked all the existing STM32F4 devices and their iROM always start at 0x80000000. This new device seems to be the only STM32F4 where the iROM starts from 0x00000000. Does J-Link need a special algorithm to handle flash programming of a STM32F4 device that is starting at address 0x00000000? If so how can we obtain the algorithm?
Thank you in advance for any help.
P/S: The log file for KEIL uVision 5 shows the following error:The log windows show the following errors:
Load "D:\\STMT\\Projects\\PLC2\\MDK-ARM\\PLC2\\PLC2.axf"
* JLink Info: Device "UNSPECIFIED" selected (0 KB flash, 0 KB
RAM).
Set JLink Project File to
"D:\STM\Projects\PLC2\MDK-ARM\JLinkSettings.ini"
* JLink Info: Device "UNSPECIFIED" selected (0 KB flash, 0 KB
RAM).
JLink info:
------------
DLL: V4.84f, compiled May 9 2014 20:05:42
Firmware: J-Link OB-STM32F103 V1 compiled Feb 5 2014 13:48:52
Hardware: V1.00
S/N : 660000034
* JLink Info: TotalIRLen = 10, IRPrint = 0x0011
* JLink Info: Found Cortex-M4 r0p1, Little endian.
* JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
* JLink Info: TPIU fitted.
* JLink Info: ETM fitted.
ROMTableAddr = 0xE00FF003
Target info:
------------
Device: ARMCM4
VTarget = 3.300V
State of Pins:
TCK: 1, TDI: 0, TDO: 1, TMS: 0, TRES: 1, TRST: 1
Hardware-Breakpoints: 6
Software-Breakpoints: 8192
Watchpoints: 4
JTAG speed: 2000 kHz
No Algorithm found for: 00000000H -
00004643H
Erase skipped!
Error: Flash Download failed - "Cortex-M4"
iROM - Starting address: 0x00000000, Size = 1M bytes
iRAM - Starting address: 0x20000000, Size = 128K bytes
So far we have not been able to transfer program into the internal flash of this new STM32F4 device. We have tested on IAR EWM, KEIL uVison 5 as well as Coocox IDE and none of them work. We are able to debug the program when the program code is loaded into RAM but not when we select the program to be stored into the embedded flash. When we attempted to debug program in flash in KEIL uVison 5 the log windows said "No algorithm for address xxxx".
We checked all the existing STM32F4 devices and their iROM always start at 0x80000000. This new device seems to be the only STM32F4 where the iROM starts from 0x00000000. Does J-Link need a special algorithm to handle flash programming of a STM32F4 device that is starting at address 0x00000000? If so how can we obtain the algorithm?
Thank you in advance for any help.
P/S: The log file for KEIL uVision 5 shows the following error:The log windows show the following errors:
Load "D:\\STMT\\Projects\\PLC2\\MDK-ARM\\PLC2\\PLC2.axf"
* JLink Info: Device "UNSPECIFIED" selected (0 KB flash, 0 KB
RAM).
Set JLink Project File to
"D:\STM\Projects\PLC2\MDK-ARM\JLinkSettings.ini"
* JLink Info: Device "UNSPECIFIED" selected (0 KB flash, 0 KB
RAM).
JLink info:
------------
DLL: V4.84f, compiled May 9 2014 20:05:42
Firmware: J-Link OB-STM32F103 V1 compiled Feb 5 2014 13:48:52
Hardware: V1.00
S/N : 660000034
* JLink Info: TotalIRLen = 10, IRPrint = 0x0011
* JLink Info: Found Cortex-M4 r0p1, Little endian.
* JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
* JLink Info: TPIU fitted.
* JLink Info: ETM fitted.
ROMTableAddr = 0xE00FF003
Target info:
------------
Device: ARMCM4
VTarget = 3.300V
State of Pins:
TCK: 1, TDI: 0, TDO: 1, TMS: 0, TRES: 1, TRST: 1
Hardware-Breakpoints: 6
Software-Breakpoints: 8192
Watchpoints: 4
JTAG speed: 2000 kHz
No Algorithm found for: 00000000H -
00004643H
Erase skipped!
Error: Flash Download failed - "Cortex-M4"
The post was edited 1 time, last by trilogi ().