Search found 13 matches

by lllucius
Fri Mar 09, 2018 6:02 pm
Forum: Showcase
Topic: External flash component
Replies: 26
Views: 47140

Re: External flash component

Nope, can't seem to get speed above 20MHz to work when going through the GPIO matrix. When using native pins, I can go all the way to 80MHz.

hgptamn, if you're still watching, can you try reducing the speed to 20 and test again?
by lllucius
Fri Mar 09, 2018 3:52 pm
Forum: Showcase
Topic: External flash component
Replies: 26
Views: 47140

Re: External flash component

Changing the speed from 40 to 20 produces good results:


.speed_mhz = 20,



ERASE/WRITE/VERIFY Test...

Bus
std 1-1-1
Flash size 16777216
Sector size 4096
Register 1 result binary = 00000010
Register 1 result decimal = 2
Register 2 result binary = 00111100
Register 2 result decimal = 60 ...
by lllucius
Fri Mar 09, 2018 3:38 pm
Forum: Showcase
Topic: External flash component
Replies: 26
Views: 47140

Re: External flash component

I think we might be on to something. I'll have to re-verify my wiring, but here's what I get using hgptamn pin assignments:


ERASE/WRITE/VERIFY Test...

Bus
std 1-1-1
Flash size 16777216
Sector size 4096
Register 1 result binary = 00000000
Register 1 result decimal = 0
Register 2 result binary ...
by lllucius
Fri Mar 09, 2018 3:09 pm
Forum: Showcase
Topic: External flash component
Replies: 26
Views: 47140

Re: External flash component

And here's what I get when using hgptamn modified code:


ERASE/WRITE/VERIFY Test...

Bus
std 1-1-1
Flash size 16777216
Sector size 4096
Register 1 result binary = 00000010
Register 1 result decimal = 2
Register 2 result binary = 00111100
Register 2 result decimal = 60
Erase error code: 0
<snip ...
by lllucius
Fri Mar 09, 2018 2:58 pm
Forum: Showcase
Topic: External flash component
Replies: 26
Views: 47140

Re: External flash component

This is what I get when I use the original code from github on a Winbond W25Q128FV chip:


ERASE/WRITE/VERIFY Test...

Bus
Proto Cycles
std 1-1-1 erase/write/verify successfully tested 16 sectors
unaliged write successful
dual 1-1-2 erase/write/verify successfully tested 16 sectors
unaliged ...
by lllucius
Thu Mar 08, 2018 6:10 pm
Forum: Showcase
Topic: External flash component
Replies: 26
Views: 47140

Re: External flash component

Wow! You're much braver than I am. I would never have thought to pop the top on one of ESP32 mods to replace chips. It'll be interesting to see how things go.
by lllucius
Tue Mar 06, 2018 8:57 pm
Forum: Showcase
Topic: External flash component
Replies: 26
Views: 47140

Re: External flash component

That would be great, thanks!
by lllucius
Tue Mar 06, 2018 3:56 pm
Forum: Showcase
Topic: External flash component
Replies: 26
Views: 47140

Re: External flash component

It all "looks" good. I'm really starting to wonder if reading is actually working. Even though the esp32 SPI transactions complete normally, that's not a guarantee that they really did work since there's no success/failure response from the chip.

The only thing I can think to check is the wiring ...
by lllucius
Mon Mar 05, 2018 7:38 pm
Forum: Showcase
Topic: External flash component
Replies: 26
Views: 47140

Re: External flash component

Good eyeballs! I totally missed that.

And yes, it would matter in the bigger picture. The is an example of why I made nearly all of the methods virtual. There "seems" to be a general flash "standard", but there seems to be slight differences here an there that must be handled by chip specific code ...
by lllucius
Mon Mar 05, 2018 3:34 pm
Forum: Showcase
Topic: External flash component
Replies: 26
Views: 47140

Re: External flash component

Grasping at straws here, but when was the last time you updated your esp-idf SDK? There was a bug I'd reported that "may" be relevant here and it was fixed on December 12th:

https://github.com/espressif/esp-idf/issues/1549

Go to advanced search