Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20563

BASCOM-AVR : Brownout reset : REPLY

$
0
0
[quote:7e5b2c8275="njepsen"]Probably because I also turn off Jtag fuses in fuse setups. The line in code was only in case I forgot.[/quote:7e5b2c8275] In the meantime you've pulled out the line? As writing to the wrong register, not only the desired effect isn't achieved, instead a non-existent/reserved bit is written in a different register, which may give other woes. For your problem, I would put a low drop (Schottky) diode into the AVR's supply (and only there), and put an 47µF behind. This secures constant supply of the mcu, even if you get voltage dips from the rest of the circuitry. For the JTag issue, it's easy to fix, look for m1284pdef.dat within Bascoms's main directory, make a copy first, then open with a text editor and look for "MCUCSR", you'll find it under "[IO]". Change the value of it from $34 to $35, save the file and recompile. Voila, c'est fait.

Viewing all articles
Browse latest Browse all 20563

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>