### ## ## ## ## ####
## ## ####### ####### ## # ## ## ##
___ ( _`\ | | ) | | | | ) | |_) | (____/'
### # #### # # ### #
_____ ( _ ) | (_) | | _ | | | | | (_) (_)
IMPORTANT: enter the case-INsensitive alphabetic (no numbers) code AND WRITE SOME SHORT summary of changes (below) if you are saving changes. (not required for previewing changes). Wiki-spamming is not tolerated, will be removed, so it does NOT even show up in history. Spammers go away now. Visit Preferences to set your user name Summary of change: I have ecu board#1981 here, the customer took it apart, left one clamping plate loose, probably touched across some contacts inside as a result. The problem is, the '''ecu is stuck in bootloader mode.''' I can upload firmware (1.0.73), remove power, and on the first power-up it is back in bootloader mode again. One reason to remain in bootloader mode is '''serial loopback on the ECU RS232 lines (TX to RX). It need not be a direct "galvanic" path or short.''' We've seen capacitive coupling in one case, when a (in that case 2m long serial extension) cable without anything connected to the end caused loopback mode. With notebook connected this is unlikely to happen though. MT says wrong firmware expected, vemstune says stuck in bootloader. I also tried to add "tools\megaloader.exe firmware\upload.hex -wE 38400 -c com1" to the "upload-firmware 16x16" file. And I tried PSItuner, which worked for me in the past. But nothing will work this time. * if you suspect the bootloader is damaged, read GenBoard/Firmware/Upload * build STK200 cable to connect to ISPI header (remove SDcard if present) * remove endplate * verify fuses (usually avrdude, perhaps uisp software. Keywords are lfuse, hfuse, lfuse and lock ) * optional, but preferrably dump (in avrdude -t stk200 -p m128 or similar "terminal" mode) the command is ''dump flash 0 0x20000'' or ''read flash 0x1f800 0x800'' to read just the 2kbyte long bootloader from 128kbyte offset, or similar, maybe filename has to be provided where it saves the hex data. If you publish this, we can comment if it appears to be damaged. * erase, write bootloader and fuses if necessary Optional: Add document to category: Wiki formatting: * is Bullet list ** Bullet list subentry ... '''Bold''', ---- is horizontal ruler, <code> preformatted text... </code> See wiki editing HELP for tables and other formatting tips and tricks.