I can't get rid of hardware button action [SOLVED]


#1

Hello all, as I said in the previous thread (when I stupidly broken the firmware upload) I have this hardware button connected to PB9 and I haven't been able to unlink it from changing the patch to the start patch on the SD card or the flash patch in case the SD card is not present.

As far as I can tell I have no controller patch and in the current patch I send to the board there's no use of gpio/in/digital PB9, or if present, for example connected to a disp/bool, it doesn't do that and continue to change the patch and thus disconnects the editor, where I see

Control transfer failed: -4
Ping: WaitSync Timeout, disconnecting now
Disconnect request

so, my question is: is there a possibility that with my weak soldering skills I have connected it in a way that does what it does? I think it's very unlikely. So, it must be something software, but I can't understand for the life of me what is happening....

Can you help me?
Is there a way to completely reset any input function?

Thanks in advance


#2

Ok I've also tried to reinstall everything from scratch on my OS (debian stable) but the problem is still there... I think the only way to workaround the problem for me at this point is to solder the button to another input... :frowning: although I would have rather know what was happening...


#3

if there is no controller patch them there is no code to relate PB9 with changing patch...

press down S2 whilst powering up the board (wait for lights to stop flashing), this will prevent any patch loading.

does PB9 still cause a disconnect?

do you know for sure its change the patch? or is it possible its just causing the board to crash? (and thus disconnecting the editor)


#4

Yes

No I'm not sure the board it's not crashing, what happens is that with the sdcard it goes to start.bin and without it goes on the flash patch. I guess it's what it would do if crashing... So maybe it's crashing. It's possible to crash it with something (badly) soldered?

Thanks


#5

Now that you suggested, I'm pretty sure it crashes, because when I press PB9 it does the flashing lights... so I guess it reboots, while when I change patch it does without flashing; correct?


#6

why not desolder the switch? or check at least for bad contacts? maybe you short two pins together somehow?


#7

Yes indeed it was just a short between PB9 and the adiacent gnd... I'm very new to soldering... Now I cut the very small solder short with a blade and everything works as expected. Thank you very much for helping me