by le fatumbi » Mon May 19, 2008 7:10 am
by le fatumbi
Mon May 19, 2008 7:10 am
Hello,
I used also successfuly gnu's avr-gcc built on msys to program my cm5 this week-end.
example.c works fine, as an example, and I get inspired from it to build my own gateway between my PC and DaisyBus, and it begins to run well.
Is there any complementary ressources on how I/O ports are used ?
For coms, it's easy to find and understand, but I'd need a little more definitions : ie button, leds, battery charging, and also on what is let free to use in cm-5.
Robotis seems not so cooperatif with these informations on their FAQ ?
I have another little problem, in the same idea:
Now, I'm trying also to program cm5 using ADA langage, with avr-ada.
The version of the compiler I'm using is the snapshot built on 2002 and is not so mature, but the code generated seems not so bad at a first (and third...) glance.
However the result is appalling... even after having reduced my code at minimum, with no interruption and only uart1 initialized, I can not see why mcu resets every time. I'm not able to send more than two characters.
At minimum, I'd need a tool able to debugg/simulate (with nothing like jtag-ice or so...).
Even AVR-studio does not seem to be able to simulate directly a MCU from hex or elf file, and seems to need a C source or I missed something ?
Any experience from somebody in this way ?
Hello,
I used also successfuly gnu's avr-gcc built on msys to program my cm5 this week-end.
example.c works fine, as an example, and I get inspired from it to build my own gateway between my PC and DaisyBus, and it begins to run well.
Is there any complementary ressources on how I/O ports are used ?
For coms, it's easy to find and understand, but I'd need a little more definitions : ie button, leds, battery charging, and also on what is let free to use in cm-5.
Robotis seems not so cooperatif with these informations on their FAQ ?
I have another little problem, in the same idea:
Now, I'm trying also to program cm5 using ADA langage, with avr-ada.
The version of the compiler I'm using is the snapshot built on 2002 and is not so mature, but the code generated seems not so bad at a first (and third...) glance.
However the result is appalling... even after having reduced my code at minimum, with no interruption and only uart1 initialized, I can not see why mcu resets every time. I'm not able to send more than two characters.
At minimum, I'd need a tool able to debugg/simulate (with nothing like jtag-ice or so...).
Even AVR-studio does not seem to be able to simulate directly a MCU from hex or elf file, and seems to need a C source or I missed something ?
Any experience from somebody in this way ?