Search found 37 matches

by PanicanWhyasker
Fri May 03, 2019 8:55 am
Forum: Hardware
Topic: Device bricked ("csum err") after two months of service
Replies: 32
Views: 11814

Re: Device bricked ("csum err") after two months of service

Whoa, this is a very good idea, definitely worth implementing! Many thanks!
by PanicanWhyasker
Fri May 03, 2019 5:42 am
Forum: Hardware
Topic: Device bricked ("csum err") after two months of service
Replies: 32
Views: 11814

Re: Device bricked ("csum err") after two months of service

Many good points, @ESP_Angus! I will definitely try the multiple dump procedure the next time I have such a device (the one I had I reflashed and sent back and is now working well in the field. Reflashing somehow cures the problem. We haven't burnt the write protect fuse on these particular devices,...
by PanicanWhyasker
Thu May 02, 2019 8:56 pm
Forum: Hardware
Topic: Device bricked ("csum err") after two months of service
Replies: 32
Views: 11814

Re: Device bricked ("csum err") after two months of service

First of all, many thanks for your time, @ESP_Angus! Your help is greatly appreciated. On to your suggestions: Any chance you could install binwalk and run "binwalk -E flash_readback.bin"? This produces an analysis of the entropy level in the file. You should see close to 1.0 entropy level for all o...
by PanicanWhyasker
Wed May 01, 2019 10:26 am
Forum: Hardware
Topic: Device bricked ("csum err") after two months of service
Replies: 32
Views: 11814

Re: Device bricked ("csum err") after two months of service

@ESP_Angus, In the first 8 sectors, the flash has 0xFFs in the ranges 0x0000-0x0fff 0x5000-0x7fff The bootloader occupies 0x1000-0x4fff, with the last 1-2 kb of it having equal 16-byte parts (i.e. each 32-byte aligned address consists of two equal copies of 16 bytes), which I presume is an artefact ...
by PanicanWhyasker
Tue Apr 30, 2019 7:47 am
Forum: Hardware
Topic: Device bricked ("csum err") after two months of service
Replies: 32
Views: 11814

Re: Device bricked ("csum err") after two months of service

Using encryption unfortunately. I had a similar issue with one device which didn't have encryption. It was behaving funnier, the "csum err" was there, but the computed checksum was different each time. However it was misconfigured at 80 MHz DIO, so it may be bitslip, so the issues may be completely ...
by PanicanWhyasker
Tue Apr 30, 2019 6:55 am
Forum: Hardware
Topic: Device bricked ("csum err") after two months of service
Replies: 32
Views: 11814

Re: Device bricked ("csum err") after two months of service

Oh, so the on-flash bootloader is corrupted?
by PanicanWhyasker
Tue Apr 30, 2019 5:18 am
Forum: Hardware
Topic: Device bricked ("csum err") after two months of service
Replies: 32
Views: 11814

Device bricked ("csum err") after two months of service

Hi, I need some help to debug an issue which I presume happens when the ROM bootloader tries to load the flash bootloader: ets Jun 8 2016 00:22:57 rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (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:0...
by PanicanWhyasker
Thu Mar 14, 2019 4:24 pm
Forum: ESP-IDF
Topic: What is "wifi0iram", and how to get rid of it?
Replies: 3
Views: 2247

Re: What is "wifi0iram", and how to get rid of it?

Many thanks, we updated the IDF to a stable version and the problem went away!
by PanicanWhyasker
Mon Mar 11, 2019 4:25 pm
Forum: ESP-IDF
Topic: What is "wifi0iram", and how to get rid of it?
Replies: 3
Views: 2247

What is "wifi0iram", and how to get rid of it?

Me and a colleague are developing using the ESP-IDF. The IDF version is v3.3 beta 1 (git commit e931fe9). The strangest thing is happening when we try compiling on Windows. On Linux (which I'm using), everything builds nicely. On his machine, the exact same app code, the exact same IDF (using the sa...
by PanicanWhyasker
Mon Jan 14, 2019 1:07 pm
Forum: ESP-IDF
Topic: Functions for getting/setting the SPI flash frequency
Replies: 1
Views: 1682

Re: Functions for getting/setting the SPI flash frequency

Any thoughts? I implemented 1 and got: 80 MHz: SPI_USER1_REG(0) = 0x5c000005 SPI_USER2_REG(0) = 0x700000bb g_rom_spiflash_dummy_len_plus[0] = g_rom_spiflash_dummy_len_plus[1] = 2 40 MHz: SPI_USER1_REG(0) = 0x5c000004 SPI_USER2_REG(0) = 0x700000bb g_rom_spiflash_dummy_len_plus[0] = g_rom_spiflash_dum...

Go to advanced search