Discussion Title | Created date |
---|---|
ISP via debugWIRE After working past midnight I though of this question and figured I would find the answer here. I don't have the room on the PCB nor the enclosure for a standard 6pin ISP... |
Monday, 27 February 2012 - 15:44 |
TWI - ACK/NACK - SOLVED!! Greets all, I copied the following code essentially right off the Mega48 datasheet: .include "m48def.inc" .def temp = r16 .equ act485 =PD5 .equ SLA_W =0x50 .equ SLA_R =0x51... |
Thursday, 23 February 2012 - 19:27 |
16bit compare THere was a thread recently that involved two pairs of registers. The cure was how the registers were arrainged It was in assembly no less so you would think I would remember... |
Thursday, 16 February 2012 - 22:08 |
TWI/I2C assembly - Oh no!! Here we go again!! All, Not sure if this is the right forum, but here goes. I wrote code for a sensor that outputs in SPI, 16bit. No issues, runs great. Here is my problem. The part is not off the... |
Thursday, 16 February 2012 - 18:43 |
The avr that keeps on running? THis is a first...for me :? I was runnung the final tests on a project when something strange came up. First the setup: Studio 4.19 ATMEGA48 STK500 AVRDRAGON Breadboard with RS-... |
Thursday, 16 February 2012 - 12:55 |
Advanced programming tab I want to program the internal oscillator of my Mega48. The note in the manual on how to do this is rather confusing. What I want to do is set the osccal register to 0xEC. The... |
Tuesday, 7 February 2012 - 15:47 |
Default path to projects Is there a way to tell studio to aim at a specific path for projects...especially new ones? it defaults to the local directory, but I store everything on a server. Not a big deal... |
Tuesday, 7 February 2012 - 15:20 |
6/12mhz quickie I need to generate either 6mhz, or 12mhz for an avr. I have a hogepoge of crystals laying around, but none really that close. Ideally I'd like a square wave out which is easy... |
Thursday, 2 February 2012 - 18:59 |
Uarts/USARTs don't care? While runing Brays terminal I noticed that the parity was set to none. I thought this odd as everything was running fine but the avr is set to odd parity. Hooked up the logic... |
Monday, 30 January 2012 - 18:14 |
EEPROM loading I see in the programming section a way to preload information into the eeprom space. I believe it is looking for an .elf file. Anyone suggest a for dummies paper on how this is... |
Saturday, 28 January 2012 - 13:55 |
NiCD battery chargers I have just about every Ryobi 18v cordless tool they make. The black and yellow battery packs that come with the tool work fine. No complaints. The newer chargers though........ |
Thursday, 26 January 2012 - 16:32 |
SPI UART/USART ic Greets freaks, I have an application that is using the usart on my mega48/88. I want to add one more UART/USART using the SPI interface that is being used for the data storage,... |
Wednesday, 25 January 2012 - 01:29 |