Royce,
>Could anyone help in setting up the IDE ?
Your best bet is to try posting on the Code::Blocks support forum.
Another alternative would be to use codelite.
Matt___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailm
Ormund,
Yah... its the atmega1284 that's not supported, the 1284p works fine.
I think the and p versions of Atmel processors are functionally
identical from a programming standpoint.
Matt___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
h
Ormund Williams sez,
>I'm using 4.7.2 and it doesn’t recognize the atmega1284, is there a
>later version that handles 1284? or is there any software difference
>between the 1284 and 1284p?
That's odd, I'm using (still) avr-gcc 4.3.3 (WinAVR-20100110) and it supports
the atmega1284p
Matt
dfx see notes below.
// #define KEY_FUNC_SEL PIND4 // --> first key (Port D pin 4)
// in WinAvr PIND4 is a bit position and is equal to 4
#define KEY_FUNC_SEL (1< 0) { // Test a key
LED_PORT |= (1 << PORTB0);
_delay_ms(100);
LED_PORT &= ~(1 << PORTB0);
_delay_ms(300);
}
Domenico,
>I would like to use Netbeans to develop AVR-GCC but I had just started a small
>problem.
>I created a new Netbeans project using source code for atmega324pa already
>successfully developed previously.
>The editor of Netbeans correctly recognize all symbols except two: MCUCR and
>JT
Parthasaradhi Nayani sez,
>What are the differences between GCC and AVR-GCC save for the libraries? GCC
>is supposed to cross compile for various processors so if I have a source
>file, can I not compile this source file using regular GGC say on Linux by
>using appropriate switches like selecti
Joerg sez,
>AVR-GDB is usable. You need a so-called proxy process that links the ICE to
>GDB, this one is calle AVaRICE.
Okay I'll try and see if I can get it to work on Codelite.
>The latest release of AVaRICE doesn't support the JTAGICE3 yet, but I've been
>working hard lately to add supp
I have a question about the status of avr-gdb
For the last couple of years I've been using codelite (http://codelite.org/)
for developing my AVR code. And then debugging with AVR Studio 4. This works
well enough. Recently though we bought a JtagIce3 from Atmel. And I've been
exploring AVR S
klass sez,
> struct
> {
> uint8_t *tx_head;
> uint8_t * volatile tx_tail;
> uint8_t tx_buffer[DBG_BUF_SZ];
> /* blah blah */
> uint8_t dbg_timer;
> } dbg_serial_port;
> Declare the pointer volatile, not the value it is pointing to
Thanks mucho grande.
Mr Foo
___
Hi,
I recently run into an issue with a struct with some volatile members and
was wondering is this is a problem with me or gcc, ar avr-gcc.
I have a structure used to define a buffer for a serial port somewhat like
this.
struct
{
uint8_t *tx_head;
volatile uint8_t *tx_tail;
uint8_t tx
prabu sez,
> Tool:ICCAVR
Aiiig! Back foul spawn of Satan!
(heh)
> I am using timer1 for the delay of 1 second.
>
> So the value for the timer TCNT1 (0x1E84).( Clk/1024
> prescale).
>
> My intention is I have to generate 1 sec periodic delay.
>
> AT every one sec the portc PC6 will
Joerg Wunsch sez,
> In hosted mode (which is the default), you are not allowed
> to replace library functions by your own implementation.
> Either use -ffreestanding, or use a non-conflicting name
> instead.
I have a question, unrelated. I use my own non conflicting printf
that looks like,
i
Brian Neltner sez,
> I've tried now compiling the exact same source code on
> my windows computer running AVR Studio, and the hex file
> produced by that compilation works exactly as expected.
> rand() produces a sequence which doesn't repeat after
> only seven calls, and it is not halting or
Charalampos Alexopoulos sez,
> Thank you for your answer, but i am not looking for the
> easiest way. I want to have some solution similar to previus
> example. I can use ISR's even with c++ with no problem, what
> i need, as i said before, is to assign a vector as a static
> class member i
Stu Bell sez,
> > There's an OS for the AVR? Whoa. I had no idea.
>> Guess I know what website I'll be perusing this morning.
> >
> > Is it stable yet?
>
> Check the Tutorials forum on avrfreaks.net -- there's a
> thread with a pile of Oses for AVRs of all flavors.
I've used AVRX and it's certa
Alexander,
> Does the latest winavr work with the mega324p right out of
> the box? I saw there are patches in the source folder - do
> they have to be installed? If so, which patches in order to
> make the 324p work?
Not sure if you're trying to do work on the WinArv itself
or justing trying to
Sven Schlender sez,
> So far I know. There is another (or maybe the same) problem I
> think about. Lets say there is function which is callable
> from main() AND from any interrupt routine.
Aggghh!
Such a thing is safe as long as the function is truly reentrant.
That is only operat
Sven Schlender sez,
> I just wondering if there are some experiences with
> reentrant interrupt service routines with avr-gcc.
I have a timer routine that is reentrant.
> Is this a known issue? How the avr-gcc handle
> it? Is there a possibility to find such reentrant calls
> with a compiler or
Sebastian Brückner sez,
> I have been trying to port one of the existing avr910
> bootloaders (namely [1] and [2]) to an ATmega324p without
> much success.
I spent some time trying to port a boot loader to the the
Atmega324p and found it not really worthwhile. If you are
using WinAvr all the ro
TTTechsDomino sez,
> It's a good idea and normaly quite easy. The main problem will be
> to crush a FAT files system into the 4kByte Bootloader Section of
> the AVR ATMEGA.
And actually only the code that writes to flash needs to be in the
boot section. The code that reads fat can exist in it's
Adam sez,
> How about using a ROM/PROGMEM array in which dynamic code is loaded
> instead of putting it after _etext? This is what we are doing in
> the Contiki OS. One nice thing with this is that you can decide
> beforehand how much space you'd like to reserve for the dynamic
> code (and you'll
21 matches
Mail list logo