Embedded program paste to IDE has problems.
my project @ http://github.com/tz1/bluev i'm working on interface radar detector. works on mega series, ran strange problem.
if use makefile (malefile.ardumega) compile bluevmega.c, , manually use avrdude, works fine. if paste ide, compiles , partially works, input capture timing off - using icp4 (and oc interrupts) create software uart missing many edges when use ide. suspect there other interrupts running interfere or perhaps optimization very, low, or subtle compiler setting playing signed v.s. unsigned games, or 1 of subroutines being superseded.
i figure out if saw actual build commands , generated files. know adding , altering things, there no way can find recover actual steps, e.g. recreate script file process or see parameters avr-gcc , alteredprogram.c file may have changed. these available anywhere? i'm surprised either not documented @ or hard find, both going on if wanted commands manually , lack of build logs or scripts, errors on console. can't find "verbose" mode.
an earlier version of worked fine - before added sprintf , other calls handle onboard ui. don't think changed significant, binary different - expect that, have no idea how determine difference come from.
any appreciated, pointers how generate or recover build scripts or logs.
if use makefile (malefile.ardumega) compile bluevmega.c, , manually use avrdude, works fine. if paste ide, compiles , partially works, input capture timing off - using icp4 (and oc interrupts) create software uart missing many edges when use ide. suspect there other interrupts running interfere or perhaps optimization very, low, or subtle compiler setting playing signed v.s. unsigned games, or 1 of subroutines being superseded.
i figure out if saw actual build commands , generated files. know adding , altering things, there no way can find recover actual steps, e.g. recreate script file process or see parameters avr-gcc , alteredprogram.c file may have changed. these available anywhere? i'm surprised either not documented @ or hard find, both going on if wanted commands manually , lack of build logs or scripts, errors on console. can't find "verbose" mode.
an earlier version of worked fine - before added sprintf , other calls handle onboard ui. don't think changed significant, binary different - expect that, have no idea how determine difference come from.
any appreciated, pointers how generate or recover build scripts or logs.
quote
an earlier version of worked fine - before added sprintf , other calls handle onboard ui
it sounds may running out of sram memory. have offloaded print strings program memory space?
Arduino Forum > Using Arduino > Programming Questions > Embedded program paste to IDE has problems.
arduino
Comments
Post a Comment