cancel
Showing results for 
Search instead for 
Did you mean: 

non- functioning peripherals

amirshn
Associate II

Hello everyone,

I have recently started working on a custom board which has a STM32H733VG as the MCU. various interfaces including UART, I2C, SPI and sdmmc has been implementde hardware wise to provide links between MCU and other chips on the board.I was able to write to an SD card however when i want to read or right from other chips (external RTC (ISL12057), GPS module(MAX-M10M), ...) using I2C or UART interfaces, i get nothing. I am using SEGGER J-link debugger and eveyhting seems fine expect this part while i am trying to debug:

 

Downloading 4 bytes @ address 0x5C001004 - Verified OK
Downloading 4 bytes @ address 0xE000EDFC - Verified OK
Downloading 4 bytes @ address 0xE00400F0 - Verified OK
Downloading 4 bytes @ address 0xE0040010 - Verified OK
Downloading 4 bytes @ address 0xE0000FB0 - Verify failed (expected 0x55 read 0x00 @ 0xE0000FB0)
Downloading 4 bytes @ address 0xE0000E80 - Verified OK
Downloading 4 bytes @ address 0xE0000E40 - Verified OK
Downloading 4 bytes @ address 0xE0000E00 - Verified OK
Downloading 4 bytes @ address 0x5C004FB0 - Verify failed (expected 0x55 read 0x00 @ 0x5C004FB0)
Downloading 4 bytes @ address 0x5C003FB0 - Verify failed (expected 0x55 read 0x00 @ 0x5C003FB0)
Downloading 4 bytes @ address 0x5C003010 - Verified OK
Downloading 4 bytes @ address 0x5C0030F0 - Verified OK
Downloading 4 bytes @ address 0x5C004000 - Verify failed (expected 0x01 read 0x00 @ 0x5C004000)
Downloading 4 bytes @ address 0xE0001020 - Verified OK
Downloading 4 bytes @ address 0xE0001024 - Verified OK
Downloading 4 bytes @ address 0xE0001028 - Verify failed (expected 0x00 read 0x01 @ 0xE000102B)
Downloading 4 bytes @ address 0xE0001030 - Verified OK
Downloading 4 bytes @ address 0xE0001040 - Verified OK
Downloading 4 bytes @ address 0xE0001050 - Verified OK
Downloading 4 bytes @ address 0xE0001000 - Verify failed (expected 0x00 read 0x40 @ 0xE0001003)
Downloading 4 bytes @ address 0xE0040304 - Verify failed (expected 0x01 read 0x00 @ 0xE0040304)

 

So i was wondering is there any connection between my peripherals function issue and these memory verification issues?

In case of software implementation, I am 99% sure that i have done it right.

I have also attached my MX CUBE configuration file and my "main.c" file while i have tried to configure the interfaces.

Any help or hint would be highly appreciated.

Amir

0 REPLIES 0