Hello EW-team,
I was working with STM32F746G DISCO board running a GUI project created with EMbedded Wizard studio. I used STMPlatformpackage as mentioned in the documentation and able to run successfully on it. Also created STM32CubeIDE project and able to load on DISCO board
Now , the customized hardware has STM32F746ZE MicroController : 1MB Flash , 320KB RAM , with QSPI flash (128Mb) , SDRAM (128Mb) , 480x272 size LCD with RGB565 color format used. Hence I have used above DISCO board platform package as Template.
The customized hardware is already up and running with GUI and Application code (without Graphic framework). Here, I am trying to evaluate EW framework to create same screens.
The change made to the platform package STM32F746G DISCO :
- MPU_Config() : updated (based on the existing working code )
Also, there is no boatloader preloaded in the controller.
But I am facing issue below issue added from Console output : Failed to initialize RAMCode. Kindly suggest a solution
SEGGER J-Link GDB Server V6.86f Command Line Version
JLinkARM.dll V6.86f (DLL compiled Oct 23 2020 18:00:13)
Command line: -port 2331 -s -device STM32F746NG -endian little -speed 4000 -if swd -vd
-----GDB Server start settings-----
GDBInit file: none
GDB Server Listening port: 2331
SWO raw output listening port: 2332
Terminal I/O port: 2333
Accept remote connection: localhost only
Generate logfile: off
Verify download: on
Init regs on start: off
Silent mode: off
Single run mode: on
Target connection timeout: 0 ms
------J-Link related settings------
J-Link Host interface: USB
J-Link script: none
J-Link settings file: none
------Target related settings------
Target device: STM32F746NG
Target interface: SWD
Target interface speed: 4000kHz
Target endian: little
Connecting to J-Link...
J-Link is connected.
Firmware: J-Link V9 compiled Dec 13 2019 11:14:50
Hardware: V9.30
S/N: 59302918
Feature(s): GDB
Checking target voltage...
Target voltage: 3.22 V
Listening on TCP/IP port 2331
Connecting to target...
Connected to target
Waiting for GDB connection...Connected to 127.0.0.1
Reading all registers
Read 4 bytes @ address 0x0803D114 (Data = 0xBF00E7FE)
Read 2 bytes @ address 0x0803D114 (Data = 0xE7FE)
Connected to 127.0.0.1
Reading all registers
Read 4 bytes @ address 0x0803D114 (Data = 0xBF00E7FE)
Received monitor command: WriteDP 0x2 0xF0
O.K.
Received monitor command: ReadAP 0x2
O.K.:0xE00FD003
Reading 32 bytes @ address 0xE00FDFD0
Reading 64 bytes @ address 0x2004FFC0
Read 4 bytes @ address 0x2004FFEC (Data = 0x21000000)
Read 4 bytes @ address 0x08042354 (Data = 0x0000BF00)
Read 2 bytes @ address 0x08042354 (Data = 0xBF00)
Read 4 bytes @ address 0x080425B8 (Data = 0xFC16F7FF)
Reading 64 bytes @ address 0x20050000
WARNING: Failed to read memory @ address 0x20050000
WARNING: Failed to read memory @ address 0x20050004
...
Reading 64 bytes @ address 0x20050000
WARNING: Failed to read memory @ address 0x20050000
WARNING: Failed to read memory @ address 0x20050004
Received monitor command: reset
Resetting target
Downloading 456 bytes @ address 0x08000000 - Verified OK
Downloading 16128 bytes @ address 0x080001D0 - Verified OK
...
...
Downloading 16224 bytes @ address 0x900276A0 - Verified OK
Downloading 9240 bytes @ address 0x9002B600 - Verified OK
ERROR: Timeout while restoring target, core does not stop. (PC = 0x20010E16, XPSR = 0xA1000000, SP = 0x20011E10)!
Failed to initialize RAMCodeTimeout while restoring target, core does not stop. (PC = 0x20010112, XPSR = 0x41000000, SP = 0x20011DF8)!Failed to initialize RAMCode
Writing register (PC = 0x 8042848)
Read 4 bytes @ address 0x08042848 (Data = 0xD034F8DF)
Read 2 bytes @ address 0x08042848 (Data = 0xF8DF)
Read 2 bytes @ address 0x0804284A (Data = 0xD034)
Starting target CPU...
GDB closed TCP/IP connection (Socket 1012)
Debugger requested to halt target...
...Target halted (PC = 0x20010DDE)
GDB closed TCP/IP connection (Socket 1008)