URL: <http://savannah.nongnu.org/bugs/?34277>
Summary: avrdude reads wrong byte order if using avr911 (aka butterfly) Project: AVR Downloader/UploaDEr Submitted by: None Submitted on: Mon 12 Sep 2011 09:24:57 PM UTC Category: None Severity: 3 - Normal Priority: 5 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Originator Name: Karl Fessel Originator Email: kfes...@st.ovgu.de Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: Hi Developers, reading words from flash using the butterfly protokol in butterfly.c: 'butterfly_read_byte_flash' you are using "g\000\002F" which means read two bytes from Flash as the flash is is little endian byte order it delivers LSB first not MSB as you assume later in that funktion (u are turning the bytes). -reading the flash with the -U f:r: commandline gave correct contend -reading using the read funktion in terminal mode turned the bytes -using the jtagmkii both modes returned the correct content Yours Karl Fessel _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?34277> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/ _______________________________________________ avrdude-dev mailing list avrdude-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avrdude-dev