rbenamotz / lempa Goto Github PK
View Code? Open in Web Editor NEWStandalone programmer for micro controllers.
License: MIT License
Standalone programmer for micro controllers.
License: MIT License
I can't seem to find the actual schematic for the PCB?
I've been working on a kinda similar thing, designed around a USB<-->UART FT232 instead of a pi, and I'm curious how you're dealing with GPIO0 and 3V3 on the ESP to rest it properly and such things.
I've been planning to use the reset circuit off the D1 mini, but I'm curious as to how you approached it.
This would be useful for programming single or multiple MSP430 units.
[Errno 121] Remote I/O error
Traceback (most recent call last):
File "./program.py", line 54, in
cycle()
File "./program.py", line 41, in cycle
event = state.do_step()
File "/home/pi/LEMPA/states/wait_for_button_state.py", line 39, in do_step
if self.button_erase.loop() or self.button_prog.loop():
File "/home/pi/LEMPA/states/hat_button.py", line 68, in loop
return self.__check_long_click()
File "/home/pi/LEMPA/states/hat_button.py", line 43, in __check_long_click
self.app.print(self.long_click_action_name + "? " + str(pt))
File "/home/pi/LEMPA/application.py", line 58, in print
v.print(txt)
File "/home/pi/LEMPA/views/display_view.py", line 88, in print
self.__refresh()
File "/home/pi/LEMPA/views/display_view.py", line 78, in __refresh
self.disp.display()
File "/home/pi/.local/lib/python3.7/site-packages/Adafruit_SSD1306/SSD1306.py", line 182, in display
self._i2c.writeList(control, self._buffer[i:i+16])
File "/home/pi/.local/lib/python3.7/site-packages/Adafruit_GPIO/I2C.py", line 127, in writeList
self._bus.write_i2c_block_data(self._address, register, data)
File "/home/pi/.local/lib/python3.7/site-packages/Adafruit_PureIO/smbus.py", line 364, in write_i2c_block_data
self._device.write(data)
OSError: [Errno 121] Remote I/O error
Exception
Traceback (most recent call last):
File "./program.py", line 54, in
cycle()
File "./program.py", line 41, in cycle
event = state.do_step()
File "/home/pi/LEMPA/states/wait_for_button_state.py", line 39, in do_step
if self.button_erase.loop() or self.button_prog.loop():
File "/home/pi/LEMPA/states/hat_button.py", line 68, in loop
return self.__check_long_click()
File "/home/pi/LEMPA/states/hat_button.py", line 43, in __check_long_click
self.app.print(self.long_click_action_name + "? " + str(pt))
File "/home/pi/LEMPA/application.py", line 58, in print
v.print(txt)
File "/home/pi/LEMPA/views/display_view.py", line 88, in print
self.__refresh()
File "/home/pi/LEMPA/views/display_view.py", line 78, in __refresh
self.disp.display()
File "/home/pi/.local/lib/python3.7/site-packages/Adafruit_SSD1306/SSD1306.py", line 182, in display
self._i2c.writeList(control, self._buffer[i:i+16])
File "/home/pi/.local/lib/python3.7/site-packages/Adafruit_GPIO/I2C.py", line 127, in writeList
self._bus.write_i2c_block_data(self._address, register, data)
File "/home/pi/.local/lib/python3.7/site-packages/Adafruit_PureIO/smbus.py", line 364, in write_i2c_block_data
self._device.write(data)
OSError: [Errno 121] Remote I/O error
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./program.py", line 62, in
state = load_state(Application.APP_STATE_EXCEPTION)
File "./program.py", line 31, in load_state
app.app_state = code
File "/home/pi/LEMPA/application.py", line 92, in app_state
v.header()
File "/home/pi/LEMPA/views/display_view.py", line 98, in header
self.__refresh()
File "/home/pi/LEMPA/views/display_view.py", line 78, in __refresh
self.disp.display()
File "/home/pi/.local/lib/python3.7/site-packages/Adafruit_SSD1306/SSD1306.py", line 168, in display
self.command(0) # Column start address. (0 = reset)
File "/home/pi/.local/lib/python3.7/site-packages/Adafruit_SSD1306/SSD1306.py", line 129, in command
self._i2c.write8(control, c)
File "/home/pi/.local/lib/python3.7/site-packages/Adafruit_GPIO/I2C.py", line 114, in write8
self._bus.write_byte_data(self._address, register, value)
File "/home/pi/.local/lib/python3.7/site-packages/Adafruit_PureIO/smbus.py", line 322, in write_byte_data
self._device.write(data)
OSError: [Errno 121] Remote I/O error
Describe the bug
Button won't response if down before state loads
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Clicking on a prog button will.. prog but it does not respond
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.