ArduCAM / Arduino

This is ArduCAM library for Arduino boards
MIT License
479 stars 351 forks source link

OV2640 broken after failed flash? #203

Open dduenker opened 7 years ago

dduenker commented 7 years ago

I have made a mistake during flashing in the Arduino IDE and started flashing again, while this procedure was still running. At first i got nothing but exceptions on my serial monitor, but after some tries i got something back up. But when i try the example code now, i can't get the camera running. I have added the log from one of my tries with the capture stream, where it ends with a reset, as soon as i request the stream. Have i broken it now beyond repair or is there anything else i can do, apart from reflashing the same stuff over and over again, whilst pulling my hair out?

load 0x4010f000, len 1264, room 16 
tail 0
chksum 0x0f
csum 0x0f
~ld
ArduCAM Start!
OV2640 detected.

Share AP: arducam_esp8266
The password is: 

192.168.4.1
Server started

Soft WDT reset

ctx: cont 
sp: 3fff1730 end: 3fff1a70 offset: 01b0

>>>stack>>>
3fff18e0:  00000084 3ffeff88 3fff0928 40206041  
3fff18f0:  00000041 3ffeff88 3fff0928 402060d8  
3fff1900:  00000001 00000001 00000008 40206100  
3fff1910:  3ffe948a 3fff1970 3fff1970 4020611c  
3fff1920:  00000001 00000001 3ffeff88 40202a9c  
3fff1930:  3ffe9510 00000000 000003e8 3fff09f0  
3fff1940:  3ffeffb8 3fff237c 3fff1e44 0000004f  
3fff1950:  0000004c 3fff19b0 3fff19b0 40206d50  
3fff1960:  3fff1f4c 00000007 3fff19b0 40206d9f  
3fff1970:  3fff09f0 00000070 00000070 402045a8  
3fff1980:  00000001 00000001 3fff1dc4 4020761a  
3fff1990:  00000000 00000000 3fff1dc4 4020459e  
3fff19a0:  3fff1dc4 3ffeffd4 3fff1dc4 402045da  
3fff19b0:  00000000 00000000 00000000 40206f00  
3fff19c0:  3fff1dc4 3ffeffd4 3ffeff94 40204669  
3fff19d0:  3fff1f4c 0000000f 00000007 40203680  
3fff19e0:  3ffeffd4 00000000 3fff0a50 00000001  
3fff19f0:  00000001 40203c10 00000010 3fff0a50  
3fff1a00:  00000000 00000000 3ffeff94 3fff0a3c  
3fff1a10:  00000001 3ffeffb8 3ffeff94 402048cf  
3fff1a20:  3ffe9510 00000000 000003e8 40207610  
3fff1a30:  00000000 3fff237c feefeffe feefeffe  
3fff1a40:  3fffdad0 00000000 3fff0a34 40202758  
3fff1a50:  3fffdad0 00000000 3fff0a34 402074e8  
3fff1a60:  feefeffe feefeffe 3fff0a50 40100718  
<<<stack<<<

 ets Jan  8 2013,rst cause:2, boot mode:(1,6)

 ets Jan  8 2013,rst cause:4, boot mode:(1,6)

wdt reset
supprot commented 7 years ago

@dduenker Hi, Which demo do you use? Do your i2c and spi work fine? Do you try add some yield()?

Let us know if you need more help. Regards, ArduCAM support team.