joec Posted October 20, 2016 Share Posted October 20, 2016 Hi 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. Thanks Quote Link to comment Share on other sites More sharing options...
joec Posted October 20, 2016 Author Share Posted October 20, 2016 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. Quote Link to comment Share on other sites More sharing options...
joec Posted October 20, 2016 Author Share Posted October 20, 2016 I was able to fix this by actually copying the text and pasting into notepad. Save As was causing issues with the file. Quote Link to comment Share on other sites More sharing options...
Ub3rZ4cH Posted July 24, 2017 Share Posted July 24, 2017 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 :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.