Post Created date
struck with this code
You have to look further back in the disassembly to see where R0 is initialized.
Monday, 23 April 2012 - 10:38
so confused about the st.w instruction (avr assembly)
The + represents addition, not an OR operation. The instruction simply adds the value in Rp to the sign extended constant disp16 and uses the result as the address to store the...
Sunday, 22 April 2012 - 22:52
Can I Interrupt Someone with a Stupid Interrupt Question?
A1. Not that I am aware of. A2. See A1. A3. Delayed until the higher priority ISR is finished. Post the minimal code that exhibits the problem. I'm sure this can be sorted out.
Wednesday, 18 April 2012 - 23:10
UC3 Cycling Power with Crystal Oscillator
Glad to be of service. :)
Wednesday, 11 April 2012 - 00:09
UC3 Cycling Power with Crystal Oscillator
The third parameter to pm_switch_to_osc0() isn't right. The startup field is only 3 bits wide so it can only take a value 0 to 7. The startup parameter is expected to be one of...
Tuesday, 10 April 2012 - 14:19
UC3 Cycling Power with Crystal Oscillator
musquirt wrote:So, this must be a solder problem, right? Maybe, but why not post your clock init code. I'd be happy to take a look at it and tell you if I see anything suspicious.
Monday, 9 April 2012 - 23:05
AVR-GCC optimization bug? (reported by a newbie..)
catweax wrote:While I expect a race condition as well, overwriting the size parameter should be safe at that point, because it got passed to lMACBSend(...) via call-by-value. Ah,...
Wednesday, 4 April 2012 - 22:24
AVR-GCC optimization bug? (reported by a newbie..)
I highly doubt this is an optimization bug. I use -O3 exclusively and have never encountered any problems. This includes a couple UC3 projects that have over 60,000 lines of...
Tuesday, 3 April 2012 - 23:09
Blackout logging
Why not just do the logging at power on? From the description of what you want to do that should be adequate, and much simpler. If you want to suppress logging for an...
Friday, 30 March 2012 - 10:47
How to get into ISP mode
Where did you get that address? The peripheral registers start at 0xFFFD0000 and go up.
Friday, 23 March 2012 - 10:50
How to get into ISP mode
UC3 devices don't support ISP programming mode. Only JTAG and aWire.
Monday, 19 March 2012 - 10:49
Manually compiling arduino sketches
Is there a new UC3 based arduino that I don't know about? If not, this is the wrong forum.
Sunday, 18 March 2012 - 00:14