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

Program gets stuck on garbage frame detection. #5

Closed
SalahAssana opened this issue Jul 15, 2016 · 14 comments
Closed

Program gets stuck on garbage frame detection. #5

SalahAssana opened this issue Jul 15, 2016 · 14 comments

Comments

@SalahAssana
Copy link

When I tried running the program it gets stuck on line 156 of Lepton.py and I'm not sure why. It was working a minute ago, but now it just keeps detecting all readings as garbage frames.

@junkert
Copy link

junkert commented Dec 9, 2016

I have the same issue.

@junkert
Copy link

junkert commented Dec 10, 2016

This happens when the SPI device is not responding. Maybe a better error message could be used here.

@SalahAssana
Copy link
Author

There is no error message. The only way I even detected this was by putting a bunch of print statement in my code and finding where the code got stuck.

@larryfkm
Copy link

Is there any way to reset and recover from this situation instead of getting stuck forever here?

@ghost
Copy link

ghost commented Jun 16, 2017

I have this issue also--any fix yet?

@kekiefer
Copy link
Member

There was some advice on google groups on how to get LEP_RunOemReboot working through python (due to the lack of a python i2c/cci command processor in this project). https://groups.google.com/forum/#!msg/flir-lepton/aUU_F_iswlE/xSil-2XdBAAJ

It would be great to incorporate something like this into pylepton if it could be built easily.

@phishstang65
Copy link

I am getting this same issue. Has anyone tried putting VIN on a Raspberry Pi 3.3V GPIO and toggled the GPIO to reset the Lepton when this condition occurs?

@david-ra
Copy link

The same issue Here. Im using RPI3 with pylepton v3. This is the output of the console:

$ pylepton_capture out.png
Garbage frame number resetting...
Garbage frame number resetting...
Garbage frame number resetting...
Garbage frame number resetting...
Garbage frame number resetting...

I attach a image of the breackboard scorpio v7 ( without mosi pin, i dont know why ):
20180228_105759

@david-ra
Copy link

Problem solved. Just a cable problem in the GPIO :P

@rmnd0
Copy link

rmnd0 commented Feb 27, 2019

Problem solved. Just a cable problem in the GPIO :P

To wich GPIO pin did you connect CS?

@rmnd0
Copy link

rmnd0 commented Mar 7, 2019

Hardware:

Rpi zero w.
FLIR Lepton breakout board.
FLIR Radiometric Lepton 3.5.

Software:

Raspbian Stretch.

GPIO pinout:
CS -> Pin 24, CE0
MOSI -> Pin 19, MOSI
MISO -> Pin 21, MISO
CLK -> Pin 23, CLK
GND -> Pin 6, GND
VIN -> Pin 1, 3V3
SDA -> Pin 3, SDA
SCL -> Pin 5, SCL

It doesn't matter if using lepton3 or lepton3-dev, the output of pylepton_capture is always "Garbage frame number resetting...".

I'm running out of ideas before I declare the thermal core broken.

Any thoughts?

Thank you.

@rmnd0
Copy link

rmnd0 commented Mar 10, 2019 via email

@TinManAkshay
Copy link

Hi,

As i have seen people posting here about black images and garbage frame detection.

When i run pylepton_overlay -a 255 example, I get black images. I am using Lepton 3 and breakout out board v2. I have not found the cause of these black images. Any help would be highly appreciated if anyone has fixed the issue so far.

Thanks,
Akshay

@AF079
Copy link

AF079 commented Dec 10, 2022

Hi all,
Any solutions for "Program gets stuck on garbage frame detection" and/or the camera just not sending frames after a certain amount of time?

Thanks

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

9 participants