- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm working with Denebola board and there is a problem with firmware load from SPI flash after power up. Switches are set for load via SPI, but after power up CX3 bootloader loads in USB mode. And only if I push the reset button it loads in SPI mode. Does anyone faced with this problem and how it can be solved?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please contact e-consystems reporting about the issue. You may claim for a replacement if they too confirmed the issue. Usually such issues may occur in a faulty board which does not adhere to power up sequence of CX3.
A CX3 design should stick to the following power up sequence.
Regards,
- Madhu Sudhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1) Please make sure that the firmware is actually written in SPI flash. You can verify that the data is being written and read out from the flash correctly (using the USBFlashProg example firmware).
2) Make sure that the PMODE pins are not connected to any other peripherals which may be driving it to some other value (this may cause the boot mode to change)
3) Make sure that the flash size is more than the size of your .img generated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1) The firmware is actually written in SPI flash. After reset button pushing it loads and works fine. The frimware loading fail only after power up.
2) I'm sure that the PMODE pins are not connected to any other peripherals.
3) The flash size is 512 kBytes and the .img size is about 135 kBytes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Vitaliy,
Can you share the schematic of SPI interface?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi yyca,
Here is the page with SPI Flash schematic from "e-CON_DENEBOLA_CX3_RDK_Schematics.pdf":
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI Vitaliy,
Ok, I got it.
I have not faced this kind of problem with Denebola board.
How long is the cable which you use in this application? Does the problem appear with USB 3.0 port only or not?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The cable is about 1 m (I'm using the cable from the Denebola box). The shutdown of USB 3.0 or USB 2.0 in the firmware have no effect on the problem. It seems the firmware loading from SPI flash fails after power on for some hardware reason, but it is perfectly loading after reset button pushing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Vitaliy,
Could you reproduce this problem 100% or it appears sometimes?
I think you could capture the SPI communication with SPI analyzer to get more information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The problem arises constantly. I'll try to capture SPI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You could also share your firmware here. I will check on my side(but I don't think it is a firmware issue).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've downloaded the "CX3RDKOV5640_1.3.133.309.img" from SDK and the problem appears too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please contact e-consystems reporting about the issue. You may claim for a replacement if they too confirmed the issue. Usually such issues may occur in a faulty board which does not adhere to power up sequence of CX3.
A CX3 design should stick to the following power up sequence.
Regards,
- Madhu Sudhan