Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Compute & Autopilot
  3. VOXL 2
  4. Updating VOXL2 IO board errors

Updating VOXL2 IO board errors

Scheduled Pinned Locked Moved VOXL 2
2 Posts 2 Posters 644 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Zachary LowellZ Offline
    Zachary LowellZ Offline
    Zachary Lowell
    ModalAI Team
    wrote on last edited by
    #1

    Trying to update the voxl2 IO board via a jlink/stlink connection but I am receiving the following output:

    ****** Error: Failed to prepare RAMCode using RAM
    Communication timed out: Requested 24 bytes, received 0 bytes !
    Target voltage too low (1 Volt is required, Measured: 0.0 Volt).
    Unspecified error -1
    J-Link>loadbin v1.11.4-0.0.2-modalai_voxl2io-v2.bin,0x08001000
    Downloading file [v1.11.4-0.0.2-modalai_voxl2io-v2.bin]...
    CPU could not be halted
    
    ****** Error: Failed to prepare for programming.
    Could not preserve target memory.
    Cannot read register 16 (XPSR) while CPU is running
    Cannot read register 20 (CFBP) while CPU is running
    Cannot read register 0 (R0) while CPU is running
    Cannot read register 1 (R1) while CPU is running
    Cannot read register 2 (R2) while CPU is running
    Cannot read register 3 (R3) while CPU is running
    Cannot read register 4 (R4) while CPU is running
    Cannot read register 5 (R5) while CPU is running
    Cannot read register 6 (R6) while CPU is running
    Cannot read register 7 (R7) while CPU is running
    Cannot read register 8 (R8) while CPU is running
    Cannot read register 9 (R9) while CPU is running
    Cannot read register 10 (R10) while CPU is running
    Cannot read register 11 (R11) while CPU is running
    Cannot read register 12 (R12) while CPU is running
    Cannot read register 14 (R14) while CPU is running
    Cannot read register 15 (R15) while CPU is running
    Cannot read register 17 (MSP) while CPU is running
    Cannot read register 18 (PSP) while CPU is running
    Tar
    Unspecified error -1
    J-Link>r
    Reset delay: 0 ms
    Reset type UNKNOWN: ???
    J-Link>q
    
    Script processing completed.
    

    Any direction would be great.

    1 Reply Last reply
    0
    • modaltbM Offline
      modaltbM Offline
      modaltb
      ModalAI Team
      wrote on last edited by
      #2

      We resolved offline, but ended up have Zach use an STLink.

      How to build FW is here: https://docs.modalai.com/voxl2-io-firmware/

      And here's an example using STLink (download from ST's site...)

      BL_FW_FILE="modalai_voxl2_io_bl.bin"
      BL_FLASH_START_ADDR="0x8000000"
      
      APP_FW_FILE="modalai_voxl2io-v2.bin"
      APP_FLASH_START_ADDR="0x08001000"
      
      if ! [ -f "${BL_FW_FILE}" ]; then
          exit 10
      fi
      if ! [ -f "${APP_FW_FILE}" ]; then
          exit 11
      fi
      
      echo "erasing..."
      sleep 1
      STM32_Programmer_CLI -c port=SWD -e all
      
      echo "programming bootloader..."
      sleep 1
      STM32_Programmer_CLI -c port=SWD -w "${BL_FW_FILE}" "${BL_FLASH_START_ADDR}" -v
      
      echo "programming application..."
      sleep 1
      STM32_Programmer_CLI -c port=SWD -w "${APP_FW_FILE}" "${APP_FLASH_START_ADDR}" -v
      
      echo "resetting..."
      sleep 1
      STM32_Programmer_CLI -c port=SWD -hardRst
      
      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      ModalAI
      Categories Recent Tags ModalAI.com Docs
      © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups