How to determine problem code? (Arduino Mega 2560 compile issue)


so, i'm coding arduino mega 2560, modified few minor sections of code cleanup, , compiled code no longer upload unit.

searching around, (and searching compiled code itself) find compiler has decided "nice" me , stick 3 !'s in row.  @ 115200 apparently dumps mega monitor avrdude cannot escape from, , system "hangs".

now, clear, code not contain 3 !'s in row anywhere, , grep'ing through source trees , libraries has nothing that, in fact safe, went , pulled !'s strings.

is there way (other starting scratch, or randomly modifying code) in can figure out code causing 3 !'s generated in row?

if not, , i'm sol, *shrug* i'll have start randomly changing code.  hoping have upload written.  little annoyed shows in elf binary used generate hex dump load onto unit.... have preferred find out me somewhere... *grin*

post problem code. if have it, can upload previous version successfully? wouldn't hurt post version if so.


Arduino Forum > Using Arduino > Programming Questions > How to determine problem code? (Arduino Mega 2560 compile issue)


arduino

Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial