Discussion Title | Created date |
---|---|
No IRQs generated for Mega128 Timer0 if XDIV is used This topic came up on the CodeVision Yahoo forum about a Mega64. There is a TIMER0_COMP interrupt and a TIMER1_OVF interrupt and the system clock is divided by 4 using the XDIV... |
Friday, 24 July 2009 - 17:41 |
Avrdude: usbdev_open() did not find any USB device "usb I can connect and program JTAG devices using my JTAGICE-mk2 via Studio4 or CodeVision. But when I try to use: avrdude -p m128 -c jtagmkii -v -P usb I just get an error:... |
Thursday, 21 May 2009 - 13:44 |
I have damaged a STK600 I have an XPLAIN board connected to a STK600 via its JTAG header. (the STK600 supplies 3V via VTG on the JTAG header). I programmed the AT90USB1287 via the JTAG in the normal... |
Tuesday, 5 May 2009 - 10:49 |
Rowley CrossWorks AVR C Compiler and PSTR() The PSTR() macro is commonly used with avr-gcc to place anonymous strings in flash. e.g. printf_P(PSTR("This string is in flash\n")); You can re-arrange the macro for... |
Thursday, 12 February 2009 - 10:20 |
AVR307 USI Uart but with Tiny85 AVR307 code is written for a Tiny26 and IAR C. I have ported the code to both CodeVision and avr-gcc quite easily. However I cannot get the code to run. As far as I can see, a... |
Thursday, 8 May 2008 - 23:38 |
Consistent delays do not really need optimisation The avr-gcc _delay_us() macros cause an awful lot of grief in this forum. I do not think it is really necessary. This example shows the results that can still be achieved with... |
Wednesday, 23 April 2008 - 15:10 |
How do you stimulate the UART in Studio4 I can see how you stimulate a regular i/o port with the stimulus file. Is it possible to get UART input ? Or would I have to produce the actual start bit... stop bit on the RXD... |
Sunday, 6 April 2008 - 08:31 |
Batron Graphic LCD Display uses STE2004S driver chip I am having difficulties with this driver chip made by ST Microelectronics. It is possible to send commands via TWI or SPI and the chip generates its own LCD drive and bias... |
Tuesday, 9 October 2007 - 16:38 |
gcc copying anonymous literals to SRAM When gcc-avr encounters an anonymous literal like printf("David"), the "David" is copied to SRAM so that printf() is always passed a SRAM address. I would have assumed that:... |
Tuesday, 17 July 2007 - 17:38 |