Part Number: AM2434
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: AM2434
Christian,
A copule of questions to help narrow down and determine where progress can potentially be made.
My assumption is that some non-volatile memory stores contents that are loaded into the PSRAM during startup. Is it possible on a good startup to do some read/write testing as the memory contents being corrupted on inspection may indicate something wrong with the write side.
If you are also able to share what mode and frequency of operation you are using for the PSRAM, a memory type, and/or a partial schematic of the memory interface it could help further review.
Thanks,
Chris
Hi Christian,
Below are a few more questions to help understand the issue further:
Regards,
Erik
Hi Erik,
Thanks for the fast answer.
I will check with our hardware guys to get some of the answers.
I will try to check the first point. I think this should be possible, but it may take some time before I can do this.
For the last point, I don't think this is possible. The problem does not occur deterministically, and it is not easy to reproduce. The boot time is short, and I can't heat the board in a controlled environment that quickly. Once the firmware is running, it seems that the problem does not occur anymore, regardless of the temperature.
I'm on vacation for the next few weeks, so it may take some time before I get back to this.
Thanks and kind regards,
Christian
Hi Christian,
I look forward to the results of the testing and the feedback from the hardware team.
For the last point, I don't think this is possible. The problem does not occur deterministically, and it is not easy to reproduce. The boot time is short, and I can't heat the board in a controlled environment that quickly. Once the firmware is running, it seems that the problem does not occur anymore, regardless of the temperature.
Can you confirm this point? Normal read/writes can take place without issue after successfully booting, even at high temperature?
Regards,
Erik
Hi Erik,
I can confirm that normal read/write operations work at high temperature after booting. Once booted, the firmware runs without problems, even when heating the board to the same temperatures at which the boot problem occurs. I will try to read/write to a specific location where I saw the problem in the debugger, but this may take some time.
Some additional information regarding the PSRAM:
It is an asynchronous PSRAM, type: IS67WVE4M16TBLL-70BLA2. No clock and no DQS.
Regards,
Christian
Hi Christian,
Are you re-configuring GPMC after ROM boot, when you have no problems at high temperature? If so can you share your GPMC_CONFIG[7:0]_0 registers?
If your config is different, can you try a write/read/verify test to use the GPMC registers set by the ROM? You can dump the registers right after GPMC boot. They should match below:
//ROM GPMC NOR boot GPMC_CONFIG[7:0]_0 registers CSL_REG32_WR(0x3B000060, 0x00001010); //GPMC0_CONFIG1_0 used by ROM GPMC NOR boot CSL_REG32_WR(0x3B000064, 0x00101c01); //GPMC0_CONFIG2_0 used by ROM GPMC NOR boot CSL_REG32_WR(0x3B000068, 0x23060917); //GPMC0_CONFIG3_0 used by ROM GPMC NOR boot CSL_REG32_WR(0x3B00006C, 0x1005bc1a); //GPMC0_CONFIG4_0 used by ROM GPMC NOR boot CSL_REG32_WR(0x3B000070, 0x011b111e); //GPMC0_CONFIG5_0 used by ROM GPMC NOR boot CSL_REG32_WR(0x3B000074, 0x8f070000); //GPMC0_CONFIG6_0 used by ROM GPMC NOR boot CSL_REG32_WR(0x3B000078, 0x00000c50); //GPMC0_CONFIG7_0 used by ROM GPMC NOR boot
Can you also confirm which silicon revision you have? You could send a photo of the AM243 device.
Quickly studying the timings of the GPMC NOR boot mode against the ISSI pSRAM appears to show good margins. A more in-depth timing analysis may reveal some timing marginality. Did you do this activity? Errors that occur only when raising the temperature might indicate a timing margin issue.
The ROM config translates to the below waveforms for reads.

Finally, the ROM was intended for NOR flash - not pSRAM. The timings appear compatible at first glance.
Is the pSRAM a suitable non-volatile memory for booting from? My understanding is that it retains data as long as power is supplied. Are you cycling power? Is voltage stable between boots?
Looking forward to solving this issue together.
-Mark
Hi Mark,
I will try to read the registers, but it may take some time. I will also check if it is possible to measure the timings.
This is the AM243 on a newer board, where the problem occurs at about 65°C:
This is the AM243 on an older Board where the problem occurs above 110°C:
There is no power cycle when the PSRAM is in use. The boot sequence looks like this as I understand it:
1. Power up
2. ROM Bootloader
3. The image (Core 1) is loaded from flash (into INTRAM and PSRAM)
4. Second Stage Bootloader
5. Core 1 startup
6. Core 3 image loaded from flash (into INTRAM and PSRAM) [executed from Core 1, Core 1 waits for Core 3 after this step]
7. Core 3 startup
8. Core 1 + Core 3 syncing + startup sequence => the problem occurs somewhere in this step, but it is not deterministic
9. Core 1 + Core 3 running
Kind Regards,
Christian