candle-usb / candleLight_fw

gs_usb compatible firmware for candleLight, cantact and canable
Other
662 stars 292 forks source link

Openmoko firmware upgrade , no jumper to enter DFU mode or button #169

Closed pergolafabio closed 1 year ago

pergolafabio commented 1 year ago

Hi,

hope someone can help me, i have purchased an canable, seems its an Openmoko, i want to change firmware on it, was testing it like below, but it gives errors? As you can see in screenshot, i dont have a jumper to enter DFU mode? nor do i have a button on it? Anyone seen this before?

image

image

marckleinebudde commented 1 year ago

What's the output of lsusb|grep -i open?

marckleinebudde commented 1 year ago

Use make flash-candleLight_fw to flash the firmware.

Edit: For a canable device use make flash-canable_fw.

pergolafabio commented 1 year ago

hi, thnx for answering, here is the output :

debian@debian:~$ lsusb|grep -i open
Bus 002 Device 004: ID 1d50:606f OpenMoko, Inc. Geschwister Schneider CAN adapter
marckleinebudde commented 1 year ago

hi, thnx for answering, here is the output :

debian@debian:~$ lsusb|grep -i open
Bus 002 Device 004: ID 1d50:606f OpenMoko, Inc. Geschwister Schneider CAN adapter

looks good!

marckleinebudde commented 1 year ago

If it's a canable device better flash the canable firmware: make flash-canable_fw.

pergolafabio commented 1 year ago

sorry, indeed new to this, but according to canable site, i also need to set the jumper or press the button, but i dont see any of those?

marckleinebudde commented 1 year ago

It should work without an extra jumper.

pergolafabio commented 1 year ago

ah ok, just unclear how to flash? i have downloaded the canable_fw file, as you can see? but the command gives an error?

image

codebuk commented 1 year ago

I have a sample here of that board. It has a pair of BOOT0 pins labelled on the rear. I have not reflashed this unit.

[image: image.png]

On Tue, 6 Jun 2023 at 17:52, Pergola Fabio @.***> wrote:

sorry, indeed new to this, but according to canable site, i also need to set the jumper or press the button, but i dont see any of those?

— Reply to this email directly, view it on GitHub https://github.com/candle-usb/candleLight_fw/issues/169#issuecomment-1578116015, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABRRGWNBZXRA22MMG2V2CDXJ3OTPANCNFSM6AAAAAAY373JUM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

pergolafabio commented 1 year ago

hmm, dont see your image

marckleinebudde commented 1 year ago

try dfu-util -a 0 -R -s 0x08000000 -D canable_fw.dfu

pergolafabio commented 1 year ago

image

codebuk commented 1 year ago

image

pergolafabio commented 1 year ago

yeah, mine looks the same indeed, it just named 303canable3 instead

i need to shortwire those pins then ? buts its a plastic box :-)

marckleinebudde commented 1 year ago

open the plastic box, or use a solder iron to make some holes :)

pergolafabio commented 1 year ago

omg, why did they make it so difficult then

pergolafabio commented 1 year ago

Thnx for all support guys!! appreciated

If anyone have some good tips how i can short ciruit thos 2 pins when i remove the plastisc, feel free to show first them i gonna do this! :-)

marckleinebudde commented 1 year ago

Use some metal tweezers or unfold a paper clip.

pergolafabio commented 1 year ago

just last question, if i use a tweezer or clip, do i need to connect it the while time? Or is is enough to use the tweezer, then plugin usb , at that point , can i detach the tweezer?

marckleinebudde commented 1 year ago

Unplug USB, short pins, plug USB, then you can remove the tweezers/paperclip.

pergolafabio commented 1 year ago

thnx for all support guys!