Odroid Go not working (spiram: SPI SRAM memory test fail)

Moderators: mdrjr, odroid

Odroid Go not working (spiram: SPI SRAM memory test fail)

Unread postby ElTentakel » Fri Jul 13, 2018 12:51 am

Hi, i've reveived my unit today, assembled it and made a first test - everything worked (I got the missing roms symbol). Then I copied the skeleton and a gbc rom file to a 4GB SD Card and inserted it. After turning on the machine, the display stays white. I tried the menu trick and reflashed the Firmware - same thing.

Then i just plotted the serial output and it throws the following error on boot:

Code: Select all
rst:0x1 (POWERON_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:796
load:0x40078000,len:4880
load:0x40080000,len:7592
entry 0x40080300
E (1137) spiram: SPI SRAM memory test fail. 2/131072 writes failed, first @ 3FBC           DB20

E (1137) cpu_start: External RAM failed memory test!
abort() was called at PC 0x400814da on core 0

Backtrace: 0x40088c37:0x3ffe3c50 0x40088d8f:0x3ffe3c70 0x400814da:0x3ffe3c90 0x4           0078655:0x3ffe3cb0 0x400787d7:0x3ffe3ce0 0x4008032d:0x3ffe3df0 0x40007c31:0x3ffe           3eb0 0x4000073d:0x3ffe3f20


Is my device broken?
ElTentakel
 
Posts: 5
Joined: Fri Jul 13, 2018 12:41 am
languages_spoken: english german
ODROIDs: Go

Re: Odroid Go not working (spiram: SPI SRAM memory test fail

Unread postby ElTentakel » Fri Jul 13, 2018 1:57 am

I tried to upload the latest Firmware with this method:

viewtopic.php?f=158&t=31513

First thing: Now I know, that the display works, but it cancelled with an sdcard block error after starting the flash of firmware.img. I will try another SD Card.

Code: Select all
rst:0x1 (POWERON_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:6680
load:0x40078000,len:7684
load:0x40080000,len:10192
entry 0x400804a4
I (29) boot: ESP-IDF v3.1-beta1-42-gd5c0610 2nd stage bootloader
I (29) boot: compile time 00:51:19
I (33) boot: Enabling RNG early entropy source...
I (35) qio_mode: Enabling QIO for flash chip GD
I (40) boot: SPI Speed      : 40MHz
I (44) boot: SPI Mode       : QIO
I (48) boot: SPI Flash Size : 16MB
I (52) boot: Partition Table:
I (56) boot: ## Label            Usage          Type ST Offset   Length
I (63) boot:  0 nvs              WiFi data        01 02 00009000 00004000
I (71) boot:  1 otadata          OTA data         01 00 0000d000 00002000
I (78) boot:  2 phy_init         RF data          01 01 0000f000 00001000
I (86) boot:  3 firmware         factory app      00 00 00010000 000f0000
I (93) boot:  4 app_0            OTA app          00 10 00100000 00100000
I (100) boot:  5 app_1            OTA app          00 11 00200000 00100000
I (108) boot:  6 app_2            OTA app          00 12 00300000 00100000
I (116) boot:  7 app_3            OTA app          00 13 00400000 00100000
I (123) boot:  8 app_4            OTA app          00 14 00500000 00100000
I (131) boot:  9 app_5            OTA app          00 15 00600000 00100000
I (138) boot: 10 app_6            OTA app          00 16 00700000 00100000
I (146) boot: 11 app_7            OTA app          00 17 00800000 00100000
I (153) boot: 12 app_8            OTA app          00 18 00900000 00100000
I (161) boot: 13 app_9            OTA app          00 19 00a00000 00100000
I (168) boot: 14 storage          Unknown data     01 82 00f00000 00100000
I (176) boot: End of partition table
I (180) boot: Defaulting to factory image
I (5185) boot: Detect a condition of the factory reset
I (5185) boot: Data partitions to erase: nvs
I (5185) boot_comm: ## Label            Usage Offset   Length   Cleaned
I (5320) boot_comm:  0 nvs              data  00009000 00004000 [yes]
I (5386) boot_comm:  1 otadata          data  0000d000 00002000 [yes]
I (5386) boot_comm:  2 phy_init         data  0000f000 00001000 [no]
I (5389) boot_comm: 14 storage          data  00f00000 00100000 [no]
I (5396) boot: Defaulting to factory image
I (5400) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x1675c ( 91996) map
I (5452) esp_image: segment 1: paddr=0x00026784 vaddr=0x3ffb0000 size=0x02308 (  8968) load
I (5456) esp_image: segment 2: paddr=0x00028a94 vaddr=0x3ffb2308 size=0x00000 (     0) load
I (5459) esp_image: segment 3: paddr=0x00028a9c vaddr=0x40080000 size=0x00400 (  1024) load
I (5468) esp_image: segment 4: paddr=0x00028ea4 vaddr=0x40080400 size=0x0716c ( 29036) load
I (5492) esp_image: segment 5: paddr=0x00030018 vaddr=0x400d0018 size=0x24a2c (150060) map
I (5561) esp_image: segment 6: paddr=0x00054a4c vaddr=0x4008756c size=0x01994 (  6548) load
I (5564) esp_image: segment 7: paddr=0x000563e8 vaddr=0x400c0000 size=0x00000 (     0) load
I (5567) esp_image: segment 8: paddr=0x000563f0 vaddr=0x50000000 size=0x00000 (     0) load
I (5582) boot: Loaded app from partition at offset 0x10000
I (5583) boot: Disabling RNG early entropy source...
I (5589) cpu_start: Pro cpu up.
I (5592) cpu_start: Starting app cpu, entry point is 0x40080e84
I (0) cpu_start: App cpu up.
I (5603) heap_init: Initializing. RAM available for dynamic allocation:
I (5610) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (5616) heap_init: At 3FFDB250 len 00004DB0 (19 KiB): DRAM
I (5622) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (5628) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (5635) heap_init: At 40088F00 len 00017100 (92 KiB): IRAM
I (5641) cpu_start: Pro cpu start user code
I (68) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
LCD: calling ili_init.
LCD: calling backlight_init.
LCD Initialized (40000000 Hz).
E (1195) spi_master: spi_bus_initialize(146): host already in use
I (1195) gpio: GPIO[22]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
Opening file '/sd/firmware.bin'.
Header OK: 'ODROIDGO_FIRMWARE_V00_00'
FirmwareDescription='go-play-20180712'
ERASE: [0] BLOCKS=0xc8
BLOCK: [0] 000000
E (8695) sdmmc_cmd: sdmmc_read_sectors_dma: sdmmc_send_cmd returned 0x107
E (8695) diskio_sdmmc: sdmmc_read_blocks failed (263)
BLOCK: [0] 0x1000
Last edited by ElTentakel on Fri Jul 13, 2018 2:48 am, edited 1 time in total.
ElTentakel
 
Posts: 5
Joined: Fri Jul 13, 2018 12:41 am
languages_spoken: english german
ODROIDs: Go

Re: Odroid Go not working (spiram: SPI SRAM memory test fail

Unread postby ElTentakel » Fri Jul 13, 2018 2:45 am

OK, tried three SD Cards, last one worked. But I get still the SRAM Error. Is my PSRAM broken?

Code: Select all
rst:0x1 (POWERON_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:6680
load:0x40078000,len:7684
load:0x40080000,len:10192
entry 0x400804a4
I (29) boot: ESP-IDF v3.1-beta1-42-gd5c0610 2nd stage bootloader
I (29) boot: compile time 00:51:19
I (35) boot: Enabling RNG early entropy source...
I (35) qio_mode: Enabling QIO for flash chip GD
I (40) boot: SPI Speed      : 40MHz
I (44) boot: SPI Mode       : QIO
I (48) boot: SPI Flash Size : 16MB
I (52) boot: Partition Table:
I (56) boot: ## Label            Usage          Type ST Offset   Length
I (63) boot:  0 nvs              WiFi data        01 02 00009000 00004000
I (71) boot:  1 otadata          OTA data         01 00 0000d000 00002000
I (78) boot:  2 phy_init         RF data          01 01 0000f000 00001000
I (85) boot:  3 firmware         factory app      00 00 00010000 000f0000
I (93) boot:  4 app_0            OTA app          00 10 00100000 00100000
I (100) boot:  5 app_1            OTA app          00 11 00200000 00100000
I (108) boot:  6 app_2            OTA app          00 12 00300000 00100000
I (115) boot:  7 app_3            OTA app          00 13 00400000 00100000
I (123) boot:  8 app_4            OTA app          00 14 00500000 00100000
I (131) boot:  9 app_5            OTA app          00 15 00600000 00100000
I (138) boot: 10 app_6            OTA app          00 16 00700000 00100000
I (146) boot: 11 app_7            OTA app          00 17 00800000 00100000
I (153) boot: 12 app_8            OTA app          00 18 00900000 00100000
I (161) boot: 13 app_9            OTA app          00 19 00a00000 00100000
I (168) boot: 14 storage          Unknown data     01 82 00f00000 00100000
I (176) boot: End of partition table
I (180) esp_image: segment 0: paddr=0x00100020 vaddr=0x3f400020 size=0x86f58 (552792) map
I (353) esp_image: segment 1: paddr=0x00186f80 vaddr=0x3ffb0000 size=0x02bf0 ( 11248) load
I (357) esp_image: segment 2: paddr=0x00189b78 vaddr=0x3ffb2bf0 size=0x00000 (     0) load
I (360) esp_image: segment 3: paddr=0x00189b80 vaddr=0x40080000 size=0x00400 (  1024) load
I (369) esp_image: segment 4: paddr=0x00189f88 vaddr=0x40080400 size=0x06088 ( 24712) load
I (387) esp_image: segment 5: paddr=0x00190018 vaddr=0x400d0018 size=0x2fc20 (195616) map
I (445) esp_image: segment 6: paddr=0x001bfc40 vaddr=0x40086488 size=0x073ac ( 29612) load
I (456) esp_image: segment 7: paddr=0x001c6ff4 vaddr=0x400c0000 size=0x0006c (   108) load
I (457) esp_image: segment 8: paddr=0x001c7068 vaddr=0x50000000 size=0x00000 (     0) load
I (471) boot: Loaded app from partition at offset 0x100000
I (472) boot: Disabling RNG early entropy source...
E (1326) spiram: SPI SRAM memory test fail. 2/131072 writes failed, first @ 3FBCDB20

E (1326) cpu_start: External RAM failed memory test!
abort() was called at PC 0x400814da on core 0

Backtrace: 0x40088c37:0x3ffe3bf0 0x40088d8f:0x3ffe3c10 0x400814da:0x3ffe3c30 0x40078a5f:0x3ffe3c50 0x40078b11:0x3ffe3c80 0x40078b2f:0x3ffe3cc0 0x40078e1d:0x3ffe3ce0 0x400804c9:0x3ffe3df0 0x40007c31:0x3ffe3eb0 0x4000073d:0x3ffe3f20

Entering gdb stub now.
ElTentakel
 
Posts: 5
Joined: Fri Jul 13, 2018 12:41 am
languages_spoken: english german
ODROIDs: Go

Re: Odroid Go not working (spiram: SPI SRAM memory test fail

Unread postby odroid » Fri Jul 13, 2018 8:52 am

We will check when/how the failure error message appears since this is the first time I've ever seen.
User avatar
odroid
Site Admin
 
Posts: 28849
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Odroid Go not working (spiram: SPI SRAM memory test fail

Unread postby crashoverride » Fri Jul 13, 2018 9:43 am

The PSRAM test is part of the esp-idf. Since PSRAM is self contained inside the WROVER module, it indicates an issue with the module.
crashoverride
 
Posts: 4021
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1

Re: Odroid Go not working (spiram: SPI SRAM memory test fail

Unread postby odroid » Fri Jul 13, 2018 9:49 am

@crashoverride,
Well noted.

@ElTentakel,
You have a hardware issue.
Please contact "odroid at hardkernel dot com" with a link of my post.
She will help your RMA process if you purchased the board from us directly.
Otherwise, contact your local distributor.
User avatar
odroid
Site Admin
 
Posts: 28849
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Odroid Go not working (spiram: SPI SRAM memory test fail

Unread postby ElTentakel » Sun Jul 15, 2018 4:22 am

Hi, i have no idea why, but on Friday morning after flashing, everything was fine. I changed nothing.

Maybe the wroover has a bad cold solder joint. But I was to excited to play with the go, so I will report back if I have any issues again.
ElTentakel
 
Posts: 5
Joined: Fri Jul 13, 2018 12:41 am
languages_spoken: english german
ODROIDs: Go

Re: Odroid Go not working (spiram: SPI SRAM memory test fail

Unread postby odroid » Mon Jul 16, 2018 1:34 pm

Glad to hear it works now even though it is weird.

Once you meet a similar issue again, please let me know.
User avatar
odroid
Site Admin
 
Posts: 28849
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID


Return to General Chat

Who is online

Users browsing this forum: No registered users and 2 guests