Post Created date
"for" loops not working with array
theusch, I cannot do a  vanilla setup in Studio7 because I use linux, sorry about that. I appreciate your help and info, avr linux setup is kinda like a "roll your own...
Mon. Dec 3, 2018 - 05:17 PM
"for" loops not working with array
clawson wrote: Well if you are going to use bash copy everything (and I  mean everything) that the Mfile template does to your bash script. I have always read the atmel...
Mon. Dec 3, 2018 - 04:46 PM
"for" loops not working with array
clawson, I like to use bash sometimes instead of makefiles. I have used both, but sometimes I use bash. I prefer bash.  
Mon. Dec 3, 2018 - 04:35 PM
"for" loops not working with array
thanks clawson for all the great info! The switches you provided DO PRODUCE DIFFERENT HEX! even though the data region does not show anything like the t841 chip does... I flashed...
Mon. Dec 3, 2018 - 04:29 PM
"for" loops not working with array
Hi Clawson, I have bad news, I compiled exactly as your switches above, and same result. (t1614 local arrays dont work) Likewise, I used your switches for the t841, and same...
Mon. Dec 3, 2018 - 03:50 PM
"for" loops not working with array
Hi Clawson, I will try it, I know the "'main' is not 'int'" is because the freestanding switch is missing in your compile test, (I already tried leaving that out too and using a...
Mon. Dec 3, 2018 - 03:34 PM
"for" loops not working with array
hi guys, you are using old info, I created a simplified test program which exhibits the issue, all the gui_Hex stuff is gone, removed to prove to myself that code was not the...
Mon. Dec 3, 2018 - 03:32 PM
"for" loops not working with array
Hi Paulvdh post #6, entire source code is posted, U8 is #define U8 uint8_t I'm not the only one who does this, it's a common nomenclature among some programmers. #define...
Mon. Dec 3, 2018 - 01:55 PM
"for" loops not working with array
yes Mike, that does work when the variable is global, problem does only occur when using array as local variable. It seems no local arrays work unless declared "static volatile"
Mon. Dec 3, 2018 - 01:04 PM
"for" loops not working with array
hi Clawson, I believe my compile scrips are correct, they are below. been using bash scripts and PACKS in linux with Geany for a long time. Personal preference, I like...
Mon. Dec 3, 2018 - 12:45 PM
"for" loops not working with array
yes I noticed the t841 has the do_copy_data, I posted all the assembly from the t1614; it seems to be missing that important stuff. no lpm instruction found in the...
Mon. Dec 3, 2018 - 06:20 AM
"for" loops not working with array
and the exact same code, same toolchain, works fine for the attiny841   #include <inttypes.h> #include <avr/io.h> #include <avr/sleep.h> #include <util/...
Mon. Dec 3, 2018 - 06:02 AM

Pages