Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hardware and software checks? #12

Open
RolandWijnen opened this issue Apr 17, 2022 · 9 comments
Open

Hardware and software checks? #12

RolandWijnen opened this issue Apr 17, 2022 · 9 comments

Comments

@RolandWijnen
Copy link

Hi,

I've been able to compile and upload the code to CoopCommand and CoopCam. When I plug in power (12V) the LCD lits up for 2 seconds and then goes black. Is there a way to test the CoopCommand and CoopCam board separately. I've hooked up TX and RX to look at the SerialMonitor but nothing to see there.

Are there some hardware checks that I can do? Software checks after that? Would appreciate your help, once again. Thanks!!

@RolandWijnen
Copy link
Author

Hi hms-11,

Any suggestions for checks? Thanks a lot!

Best regards, Roland.

@hms-11
Copy link
Owner

hms-11 commented Jul 19, 2022 via email

@RolandWijnen
Copy link
Author

Hi Corey!

No worries. I'll upload some photos tomorrow. I've connected a (led) power supply of 12V 80W. The display only flashes and then the motor starts turning, switching direction every couple of seconds. It seems that the code is stuck in some loop.

I also noticed earlier that the ESPCam came online on my Wifi, but now it does not appear anymore.

To be continued...

@RolandWijnen
Copy link
Author

RolandWijnen commented Jul 23, 2022

Hi Corey,

Here are some close-ups from the board. In the zipfile there are high-res photos from the entire board.

Let me know what you think...

Thanks, Roland.

attachments (6).zip

IMG_005
IMG_004
IMG_003
IMG_002
IMG_001

@RolandWijnen
Copy link
Author

Hi Corey,

I've uploaded some hi-res picture as you can see. What do you think?

Cheers, Roland.

@hms-11
Copy link
Owner

hms-11 commented Aug 9, 2022

Hey @RolandWijnen, I had a chance to look through your images.
There are a couple questionable solder joints and places where I feel a short could have been introduced.

Do you have access to a multimeter? It would be nice to check if you have 5v on all the pins that expect them and GND continuity at all the GNDs

The odd behavior makes me think the system is constantly rebooting, or is getting pins pulled high or low by a solder short somewhere.

@RolandWijnen
Copy link
Author

Hey Corey,

Thanks, I'll check this later next week. I'll let you know what I find. Thanks again!

@hms-11
Copy link
Owner

hms-11 commented Aug 10, 2022

Hey @RolandWijnen, one other thought.

Have you seen what it is outputting in the serial monitor during this? If you fire up the Arduino IDE and have your programmer connected while the strange behavior is happening (only hook up RX, TX and GND if you are feeding it 12v power at the same time). That might also give us some hints as to what is going on.

Let me know what you discover!

Corey

@RolandWijnen
Copy link
Author

I don't see anything on the serial monitor of the mainboard. I've also checked the serial monitor of the ESPcam. This is the output. It indeed is rebooting all the time. There is also something wrong with camera config. I'll further investigate.

10:24:22.398 -> Rebooting... 10:24:22.398 -> ets Jun 8 2016 00:⸮&⸮⸮S⸮ 10:24:22.398 -> rst:0xc (⸮W_CPU_RESET⸮I⸮⸮⸮:0x13 (SPI_FAST_FLASH_BOOT) 10:24:22.398 -> configsip: 0, SPIWP:0xee 10:24:22.398 -> clk_drv:0^⸮b⸮}⸮⸮⸮鰼⸮b"⸮drv:0^⸮b�⸮⸮_drv:⸮⸮0⸮⸮}⸮⸮}⸮⸮⸮0⸮�}⸮⸮⸮⸮0x00 10:24:22.398 -> mode:DIO, clock div:1 10:24:22.398 -> load:0x3fff0030,len:1s24 10:24:22.398 -> ho 0 t⸮Z�⸮⸮⸮roo⸮j 10:24:22.398 -> load:0x4007800⸮⸮⸮⸮u1;508⸮⸮⸮+⸮⸮0x40⸮⸮⸮⸮⸮bb⸮⸮⸮3604 10:24:22.473 -> entry 0x400805f0 10:24:22.787 -> E ⸮⸮⸮⸮ �⸮⸮}⸮⸮⸮⸮ cam_dma_config(280): frame buffer malloc failed 10:24:22.787 -> e (133)⸮⸮⸮_hal> cam_c⸮⸮⸮g(36⸮J'�⸮}%⸮⸮�⸮⸮⸮kg f⸮-⸮⸮⸮H⸮⸮(134) camera: Camera config failed with error 0⸮⸮⸮⸮˙⸮⸮� 10:24:27.642 -> C⸮⸮͕⸮сfailed: tgpip_send_msg_wait߮V�J⸮Fi⸮{pon΋ͽlwip/lwi⸮i⸮c/api/tcpip.c:455 (I⸮valid mbox) 10:24:27.642 -> 10:24:27.642 -> 10:24:27.642 -> Backtrace:0x40&⸮⸮⸮⸮z0x3ffb25100x4008bf15:0x3ffr⸮53X⸮Lq⸮⸮ʷ⸮⸮⸮⸮fb6550a0x400e87d6:0x3ffb2680 0x400f8651:0x3ffb26b0 0x400f86⸮L'⸮⸮ffb26d0 0x400e7fc9:0x⸮⸮⸮⸮7Y2⸮⸮500Z⸮⸮⸮҂⸮⸮ffb2⸮� 10:24:27.738 -> ⸮⸮⸮0⸮�S⸮⸮҂⸮⸮ffb2790 0x400d37ed:0x3ffb27c0 0x400d3f69:0x3⸮⸮⸮8&�⸮⸮⸮⸮0d6\⸮҂z3ffbN⸮⸮�n 10:24:27.738 -> 10:24:27.738 -> 10:24:27.738 -> 10:24:27.738 -> ⸮Qʁ⸮ile SHC25⸮'$⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮j 10:24:27.738 -> 10:24:27.738 -> Rebooting... 10:24:27.738 -> ets Jun 8 2016 00:2⸮⸮⸮SH⸮HH⸮⸮⸮0xc ⸮⸮⸮5⸮U⸮⸮⸮�Q⸮,⸮⸮⸮0x⸮&B⸮A⸮_F⸮⸮⸮e1�M!}⸮OOT) 10:24:27.738 -> configsip: 0, SPIWP:0xee 10:24:27.738 -> clk_drv:0x00,q_drv:0⸮⸮b"⸮drv:p⸮0,c_⸮⸮⸮⸮:0x0& ⸮}irv:0⸮⸮b⸮⸮}⸮⸮⸮⸮0x00 ⸮[⸮⸮颩⸮ �⸮⸮⸮⸮⸮div:1 10:24:27.738 -> load:0x3fff0030,len:1324 10:24:27.738 -> ho 0 tail 12 room 4 10:24:27.738 -> load⸮⸮⸮0⸮�⸮⸮⸮⸮len:13508⸮!⸮+⸮}⸮⸮�⸮�⸮⸮⸮jb⸮⸮⸮sO⸮j 10:24:27.738 -> entry 0x400805f0 10:24:28.086 -> E (c33) c⸮[E⸮⸮⸮ cam_dma_⸮⸮˥⸮⸮280): frame buffer malloc failed 10:24:28.086 -> E (133) cam_hal: cam_confi⸮J&�SI��⸮⸮}⸮⸮⸮}⸮⸮⸮⸮⸮⸮⸮⸮⸮�⸮⸮� 10:24:28.086 -> E ⸮⸮&SE⸮⸮⸮⸮Ʌ⸮ ⸮X[Y⸮⸮config failed with error 0xffffffff 10:24:32.938 -> 10:24:32.938 -> assert failed: tcpip_send_msg_wa⸮⸮5⸮⸮⸮%��⸮co⸮⸮˫⸮⸮ͽlwip/lwip/src/api/tcpipnc⸮Sk⸮⸮Inv⸮+⸮⸮mbox) 10:24:32.938 -> 10:24:32.938 -> 10:24:32.938 -> Backtrace:0x40083649:0x3ffb25100x4008bf15:0x3ffb2530 0x40091O⸮҂⸮⸮ff⸮⸮SS�⸮⸮Ѹ⸮�⸮⸮⸮⸮p⸮⸮⸮N'⸮⸮0 0⸮�⸮2⸮651:0x3ffb26b0 0x400f86b1:0x3ffb26d0 0x400e7fc''�⸮f⸮,⸮⸮⸮0x400d57⸮''&⸮fgb⸮���
10:24:33.030 -> ⸮⸮00d4177:0x3ffb2798⸮0x4⸮Lֺ*⸮⸮0x3ffb27c0 0x400d3f69:0x3ffb2800 0x400d6db1⸮⸮⸮ffb2820
10:24:33.030 ->
10:24:33.030 ->
10:24:33.030 ->
10:24:33.030 ->
10:24:33.030 -> ELF file SHA256: 00⸮�⸮08⸮⸮⸮⸮00⸮C⸮⸮R⸮⸮⸮K⸮⸮⸮⸮..
10:24:33.030 -> ets Jun 8 2016 00:22:57
10:24:33.030 ->
10:24:33.030 -> rst:0xc (SW_c⸮U%UM�Q⸮,boot⸮&ų�i�⸮}��MS}�1�M⸮BOOT)
10:24:33.030 -> c⸮˥⸮ͥ⸮; 0,"SPIWP:0xee
10:24:33.030 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00K⸮}⸮⸮⸮⸮⸮⸮0,w^E⸮⸮;0x0pC⸮닕⸮DIO, clock d⸮⸮⸮j⸮⸮+⸮⸮0x3fff0030,len:1324
10:24:33.030 -> ho 0 tail 12 room 4
10:24:33.030 -> load:0x40078000,len:13508
10:24:33.030 -> l+⸮⸮0x⸮⸮¢⸮⸮⸮bb⸮⸮⸮3604
10:24:33.030 -> ⸮⸮⸮夘x400805f⸮C⸮E⸮⸮L⸮⸮ �⸮⸮⸮hal: c⸮[E⸮⸮}⸮⸮⸮⸮⸮⸮I�J⸮�2Ʌ⸮⸮⸮b
⸮V⸮⸮malloc failed
10:24:33.381 -> E (133) cam_hal: cam_config(364): cam_dma_config faile⸮c⸮�⸮134) camera: Cq[Y⸮⸮gonfi⸮2⸮⸮le⸮HW⸮⸮ errK⸮0xffffffff
10:24:38.255 ->
10:24:38.255 -> assert failed: tcp⸮}͕⸮⸮}⸮͝}݅⸮⸮}͕⸮⸮IDF/compone⸮׽lwip/lwip/src/api/tcpip.c:47⸮ (Kn⸮X+⸮⸮mbox)⸮⸮C⸮HH*k⸮⸮race:0x40083649:0x3ffb25100x4008bf15:0x3ffb2530 0~}⸮⸮⸮⸮⸮⸮~&⸮⸮⸮g⸮�⸮3⸮[⸮⸮['⸮⸮ffb2680 0x400f8671:0x3f⸮b26⸮�⸮⸮⸮00f86b1:0x3ffb26d0 0x400e7fc9:0x3ffb2720 0x400d⸮778:0x3ffb2740 0x400d4177:0x3ffb2790 0x40⸮ֺ⸮⸮⸮0x3ffb27c⸮⸮⸮⸮00d3f69:0x3ffb2800 0x400d6db1:0x3ffb2820
10:24:38.255 ->
10:24:38.255 ->
10:24:38.255 ->
10:24:38.401 ->
10:24:38.401 -> ⸮{c⸮9⸮⸮ɻ⸮⸮&2⸮&&⸮⸮q⸮⸮b⸮3⸮HHU⸮⸮⸮⸮ung...⸮⸮ets"⸮]��⸮�⸮⸮⸮⸮�⸮⸮Ғ⸮Ҫ⸮j
10:24:38.401 ->
10:24:38.401 -> rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
10:24:38.401 -> configsip:⸮b�⸮A%⸮P:⸮⸮VVHh⸮k⸮%⸮⸮⸮⸮⸮,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv⸮l⸮0�s닫uDIOl⸮,⸮k⸮⸮dyv:1
⸮⸮+⸮⸮0x3fnf0030,len:132k
10:24:38.401 -> ho⸮L⸮⸮⸮⸮⸮12 room 4
10:24:38.401 -> load:0x40078000,len:13508
10:24:38.401 -> load:0x40080400,len:3604
10:24:38.401 -> ⸮⸮⸮0x40⸮805f0
10:24:38.696 -> E (133⸮҅⸮}⸮⸮⸮⸮ cam_dma_config(28⸮J'2Ʌ⸮⸮⸮buffer mall�c failed
10:24:38.696 -> E (133) cam_hal: cam_config(364): cam_dma_config failed
10:24:38.696 -> E (⸮&S ⸮⸮⸮⸮Ʌ⸮ Ca⸮Y⸮⸮config failed wi⸮*⸮⸮.⸮xffff⸮⸮⸮V⸮
10:24:43.556 -> assert⸮V⸮⸮⸮⸮⸮ tcpip_send_msg_�ait_sem IDF/components/lwip/lwip/src/api/⸮,⸮⸮⸮c:455 (Invalid mbox)
10:24:43.556 ->
10:24:43.556 -> C!⸮⸮⸮⸮Ʌ⸮e:0x40083⸮S҂⸮⸮ffb25100x4008bf15:0x3ffb2530 0x400913b9:0x3ffb25�0⸮L⸮�⸮⸮8⸮9⸮⸮⸮⸮⸮⸮⸮2v>0 0𚘚⸮⸮SS҂⸮⸮ffb26b0 0x400f86b1:0x3ff⸮&���⸮⸮⸮00e7fc9:0x3ffb2720 0x400d4778:0x3ffb2740 0x400d4177:0⸮&⸮⸮⸮⸮ʂ�⸮⸮Ѱ0⸮S�⸮⸮⸮⸮ffb27⸮�⸮⸮⸮0⸮֚⸮9:⸮⸮ffb2800 0x400d6db1:0x3ffb2820
10:24:43.556 ->
10:24:43.556 ->
10:24:43.655 ->
10:24:43.655 ->
10:24:43.655 -> ELF file SHA256: 000⸮&⸮⸮⸮1L&⸮⸮⸮5Jy⸮⸮ﯹ⸮⸮⸮]⸮⸮ets Jun < 2016 00:22:57
10:24:43.655 ->
10:24:43.655 -> rst:0xc (SW
⸮U⸮%UM�Q⸮,boot:0x13 (SPI_FAST_FLASH_BOOT)
10:24:43.655 -> configsip: 0, ⸮⸮⸮�⸮⸮�⸮5
10:24:43.655 -> clk_drv:0x00,q
⸮.⸮⸮x00,d⸮Y.⸮⸮⸮⸮0,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
10:24:43.655 -> mode:DIO, clock d闊j)loa⸮⸮⸮ff⸮⸮⸮⸮bb⸮⸮y⸮&&⸮
10:24:43.655 -> ho ⸮⸮W⸮⸮⸮12 room 4
10:24:43.655 -> load:0x40078000,len:13508
10:24:43.655 -> load⸮⸮⸮0080400,len:3604
10:24:43.655 -> entry 0x400805f0
10:24:43.962 -> E (133) cam_hal: cam_dma_confiw(280)⸮ frame ⸮]⸮v⸮⸮manvk⸮⸮XZ⸮⸮
10:24:43.962 -> E (133) ⸮X[⸮⸮⸮⸮acam_config(364): cam_dma_⸮⸮˥⸮⸮failed
10:24:43.962 -> E (134) camera: Camera conf⸮�Ʌ⸮⸮⸮⸮⸮with error ⸮⸮⸮⸮⸮⸮⸮⸮⸮
⸮⸮⸮X⸮n⸮сfailed: tcpip_s⸮}⸮⸮}⸮⸮it_sem IDF/components/lwip/lwix/src/api/tcpip.c:455 (InvX+⸮⸮mbox⸮C⸮H⸮
10:24:48.832 -> ⸮X⸮-⸮⸮⸮e:0x40083649⸮⸮͙⸮⸮⸮5⸮⸮⸮q008bf15:5x3ffb2530 0x400913b9:0x3ffb2550 0x400e87d⸮'⸮⸮ffb268⸮⸮⸮⸮0⸮⸮⸮⸮::0⸮3^⸮ɶ⸮�⸮⸮⸮00f86⸮L'⸮⸮ffb26d0 0x400⸮⸮+҂⸮3⸮⸮⸮720 0x400d4778:0x3ff⸮⸮���⸮⸮⸮00d4177:0x3ffb2790 0x400d37ed:0x3ffb27c0 0x400d;f69:0x3f⸮,&⸮⸮�⸮⸮⸮0⸮⸮�⸮V҂⸮⸮f⸮,&'&�j
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants