-
Notifications
You must be signed in to change notification settings - Fork 0
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
flashing -> no device present #1
Comments
With the new batches of SHPi.one u have to do it this way: i2cset -y 2 0x2A 0xFE 0x00 # sets CRC check off The HWB Pin is set high via 10k Ohm and enables Autostart. Old revisions need the command "sudo dfu-programmer atmega32u4 start" on each linux boot, we decided to change it, to have a boot screen asap. |
Thank you for your prompt reply.
|
can u give me output of "i2cdetect -y 2" "lsusb" and "gpio -g readall" maybe to my email lh@shpi.de |
what does "lsusb" print? |
It seems the atmega32u4 is flashed with a wrong software, did u changed it? we ship it only with preflashed firmware. to fix it, u need to take the pcb out, power it via microusb from the raspberry zero and short the HWB pin to GND while resetting the ATmega with gpio 11 or on startup. you'll find the HWB pin near the main 12pin connector from power supply. after that the atmega should show up on lsusb command in DFU modus, ready to flash. please short hwb pin to gnd with 1k resistor. we could also do the job for u. does the display still work? the display is initialized via the atmega. |
When I try to flash the ATmega I get the following error message:
gpio -g mode 11 out
gpio -g write 11 0
sleep 1
gpio -g write 11 1
sleep 1
sudo dfu-programmer atmega32u4 erase
dfu-programmer: no device present.
make: *** [Makefile:498: flash] Error 1
The text was updated successfully, but these errors were encountered: