_ | | | | _ | | | |__| | \____/
###### # ## # ######
## ###### ## ## ## ###
### ## ## ## ## ## ##### ## #####
##### ## ## ## ## ##
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: Firmware update tool (BootLoader) that does not require PERL (and support libraries). ---- '''Problem: sync with firmware''' With an USB-RS232 adapter, in mt-r027/upload-firmware.bat * wintools\megaloader.exe firmware\vems.hex -wtE says "no hello from AVR" and refuses to upgrade the firmware. There is strong suspicion that some USB-RS232 adapters tend to lose a character when baudrate is changed (eg. the default case when going from firmware 9600 baud to bootloader 19200 baud). With prog.pl, some trick was needed to make it more robust to handle the case. '''workaround for users''' who face this: try to use 9600 baud like: * wintools\megaloader.exe firmware\vems.hex 9600 -wtE or * loopback the serial TX-RX (short ECM RS232 connector DSUB9pin2 and DSUB9pin3 with a small wire) * power the ECM * remove the loopback short * connect the notebook * use megaloader without "t" option: ** wintools\megaloader.exe firmware\vems.hex -wtE ---- Anyone had luck compiling megaloader for linux? /utilities/megaloader/source$ make -f Linux_makefile.mak Actually, it compiles and links fine, but: ./megaloader.bin -c /dev/ttyUSB0 Start terminal emulation - ESC to exit and for keypress (even s or S) it exits. Shoould it provide an ncurses interface ? I haven't investigated it much. I guess in command-line mode it works well. (will try) ---- megaloader will download firmware into the AVR using the same code sequences as the perl scripts. It uses ncurses for a fairly complete VT100 terminal emulation. The original thought was to use VT100 cursor positioning commands in the maintenance screens and thereby make the LCD optional. See MembersPage/DavidHelland for documentation. ---- It does work, althought needed some source tweaks to compile depending on the GCC used. SVN has been updated. http://vems.hu/files/MembersPage/RichardBarrington/megaloader.png ---- '''See also''' * UsabiLity/GenBoard/WinTools 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.