Jump to content

Error parsing the line


Recommended Posts


I am trying to flash my duck with c_duck_v2.1.hex (twin duck) and am getting the following error message:

Error parsing the line. Something went wrong with creating the memory image

I am using the following command:

dfu-programmer at32uc3b1256 flash  /Users/jcamillo/Desktop/c_duck_v2.1.hex

Before running the above command I erased the current flash.



Link to comment
Share on other sites

Here is  a little more info

dfu-programmer at32uc3b1256 flash --suppress-bootloader-mem c_duck_v2_S001.hex --debug 6

     target: at32uc3b1256

    chip_id: 0x2ff6

  vendor_id: 0x03eb

    command: flash

      quiet: false

      debug: 6

device_type: AVR32

------ command specific below ------

   validate: true

   hex file: c_duck_v2_S001.hex


Error parsing the line.

Something went wrong with creating the memory image.



Link to comment
Share on other sites

  • 9 months later...

I know this thread is super old but I just wanted to say, I encountered the same issue, because I am using the windows dfu-programmer I thought it was because of that, but it turns out I was typing it slightly wrong each time which is odd because I sware I typed each letter individually, but copy and pasting the command from here to cmd worked, then I got Error on line 1, not error parsing line. And to resolve this I opened the raw file on github of the firmware and copied it to notepad and saved as all files .hex, that seemed to work. Just wanted to say just encase someone who is also trying this on windows stumbles accross this thread from google like I did :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...