Post Created date
Mutually Exclusive Opcodes
Thank you!
Wednesday, 11 January 2012 - 18:55
Strange opcodes disassembling .hex (AVR8)
WrightFlyer, I don't believe the studio disassembler is doing anything incorrectly. It is just blindly reading the raw machine code and attempting to translate each word pair or...
Wednesday, 11 January 2012 - 05:18
Strange opcodes disassembling .hex (AVR8)
It wasn't BST after all. I needed to take a quicker look. I went and located the original project for this .hex file and these unknown opcodes are coming from sections I don't...
Tuesday, 10 January 2012 - 22:40
Strange opcodes disassembling .hex (AVR8)
Good to know, is there some reference that lists the different core architectures and the chips that fall under them? In writing a disassembler, a convenient location to reference...
Tuesday, 10 January 2012 - 20:31
Strange opcodes disassembling .hex (AVR8)
Doing some more digging (I made an opcode table in Excel!). This is what I *think* is going on. The instruction FBFC is actually 'BST'. Here's its opcode. 1111 101d dddd 0bb So...
Tuesday, 10 January 2012 - 20:15
A potential avr TWI bug?
Ahh yes, you are right about that. Since there's no master-transmitter stop bit interrupt it doesn't set TWINT.
Sunday, 4 April 2010 - 07:01
AVR GCC + Optimization + AVR Simulator = Fail.
I haven't jumped into verification at the assembly level. Fortunately, I was able to make a small change in the code to get a more predictable sequence of events in the simulator...
Friday, 26 February 2010 - 19:54
AVR GCC + Optimization + AVR Simulator = Fail.
I'm aware. writeIndex is used only within the ISR. It's not volatile global because I never need to use it outside the ISR. I do have a struct of globals that are used to setup...
Friday, 26 February 2010 - 18:02
AVR GCC + Optimization + AVR Simulator = Fail.
It's static within the ISR. i.e. static uint8_t writeIndex = 0;
Friday, 26 February 2010 - 16:28
Electrical Properties of an AVR switched off....?
..And, even if I used an efficient low-current 3.3v SMPS to power the AVR only, that solves no problems because the stuff it connects to (powered by 5V SMPS) will be off. What do...
Friday, 18 September 2009 - 17:07
Electrical Properties of an AVR switched off....?
danni, that's true. But it's not as simple as that. This is a 12v system, feeding a 5v SMPS, which will likely go to 3.3v LDO for AVR/3.3v stuff (SMPS is possible, but prob no...
Friday, 18 September 2009 - 17:03
Electrical Properties of an AVR switched off....?
That's what I've been doing, and I don't see any problem w/clamp diodes when using low-side switching. e.g. 3.3v logic, with ground Hi-Z and But, obviously clamp diodes are just...
Thursday, 17 September 2009 - 21:38