Giter Site home page Giter Site logo

Cannot upgrade DPS5005 about opendps HOT 7 CLOSED

kanflo avatar kanflo commented on August 16, 2024
Cannot upgrade DPS5005

from opendps.

Comments (7)

kanflo avatar kanflo commented on August 16, 2024

From your instructions it's not clear that you flashed the dpsboot.bin and opendps.bin binaries, did you?

from opendps.

iondulgheru avatar iondulgheru commented on August 16, 2024

@kanflo, I guess I didn't.
Can thi be done over UART? Because I have the model with 1.25mm spaced JTAG pins.
From the documentation I understand it can be done only with JTAG.

[11925230.778937] usb 1-3.3.2: new full-speed USB device number 53 using xhci_hcd
[11925230.869021] usb 1-3.3.2: New USB device found, idVendor=1a86, idProduct=7523
[11925230.869038] usb 1-3.3.2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[11925230.869049] usb 1-3.3.2: Product: USB2.0-Serial
[11925230.873025] ch341 1-3.3.2:1.0: ch341-uart converter detected
[11925230.874175] usb 1-3.3.2: ch341-uart converter now attached to ttyUSB1
[root@services opendps]# make -C opendps flash
make: Entering directory '/opt/kit/opendps/opendps'
  FLASH   opendps.elf
(echo "halt; program /opt/kit/opendps/opendps/opendps.elf verify reset" | nc -4 localhost 4444 2>/dev/null) || \
	openocd -f interface/stlink-v2.cfg \
	-f target/stm32f1x.cfg \
	-c "program opendps.elf verify reset exit" \
	2>/dev/null
make: *** [../libopencm3.rules.mk:242: opendps.flash] Error 1
make: Leaving directory '/opt/kit/opendps/opendps'


[root@services opendps]# make -C dpsboot flash
make: Entering directory '/opt/kit/opendps/dpsboot'
  FLASH   dpsboot.elf
(echo "halt; program /opt/kit/opendps/dpsboot/dpsboot.elf verify reset" | nc -4 localhost 4444 2>/dev/null) || \
	openocd -f interface/stlink-v2.cfg \
	-f target/stm32f1x.cfg \
	-c "program dpsboot.elf verify reset exit" \
	2>/dev/null
make: *** [../libopencm3.rules.mk:242: dpsboot.flash] Error 1
make: Leaving directory '/opt/kit/opendps/dpsboot'

from opendps.

kanflo avatar kanflo commented on August 16, 2024

That is true, you can only flash OpenDPS and its bootloader via JTAG.

from opendps.

iondulgheru avatar iondulgheru commented on August 16, 2024

Ok, so I need to solder the JTAG pins and use an adapter to write the bootloader.
So I can do only OpenDPS upgrades over UART?

from opendps.

kanflo avatar kanflo commented on August 16, 2024

Yes, you need to solder JTAG for the initial upgrade. When completed you can upgrade over the UART or via JTAG if you choose to keep the soldered pins. On the newer DPS:es soldering is a pain which is why I created the DPS bottle.

from opendps.

iondulgheru avatar iondulgheru commented on August 16, 2024

Thank you very much @kanflo !

from opendps.

ricktendo avatar ricktendo commented on August 16, 2024

I just used some rainbow colored ribbon cable, pre-tinned the wires so they are stiff and can fit through the holes, permanently soldered them, then I crimped some DuPont female pin headers on the other end

from opendps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.