AM6442: Problems with OSPI Flash on custom board

Part Number: AM6442
Other Parts Discussed in Thread: UNIFLASH

Tool/software:

Hi TI-Team,

some time ago we built a custom board with AM243x chip (Board A). We did a new revision of this board with a AM6442 chip (Board B).

On board B we now have problems to get OSPI boot running. On the new boards the exact same flash was used, which was successfully tested/used on the Board A in conjuction with AM243x. The assembled flash is a Micron MT35XU512ABA1G12-0AAT.
The OSPI flash in general is working. This means after booting in DEV-Boot mode and doing basic SOC init I can successfully execute programs using OSPI Flash such as OSPI Flash IO or OSPI Flash Diagnostic. I am also able to flash a bootloader via a modified JTAG uniflash program.

Here is the read JEDEC information:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"flashSize": 67108864,
"flashPageSize": 256,
"flashManfId": "0x2C",
"flashDeviceId": "0x5B1A",
"flashBlockSize": 131072,
"flashSectorSize": 4096,
"cmdBlockErase3B": "0xD8",
"cmdBlockErase4B": "0xDC",
"cmdSectorErase3B": "0x20",
"cmdSectorErase4B": "0x21",
"protos": {
"p111": {
"isDtr": false,
"cmdRd": "0x03",
"cmdWr": "0x02",
"modeClksCmd": 0,
"modeClksRd": 0,
"dummyClksCmd": 0,
"dummyClksRd": 0,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


However, after booting I will not enter the SBL NULL bootloader and cannot see any messages print on debug UART.
I tried to debug SBL NULL by adding a `loop_forever()` directly in main. However, I will not be able to step into loop. Instead I see that I am stuck at "strange" addresses.



So for me it seems like ROM-code of chip is not able to successfully access OSPI Flash at boot time.
Do I have any further debugging possibilities?
Are there any registers etc. where I could find out what the problem is?

Thanks for any help or tips in advance!


Kind regards,
Dominik