Sobakava
Full Member level 6
arm linux programming
I'm newbie on programming ARM on Linux.
I've a board with AT91RM9200, it boots from ethernet
with ftptp.exe at PC side... There are bin files and ramdisk image at PC...
it loads linux from PC using U-boot then runs arm linux....
I see the actions using Hyperterminal on serial port.
after linux boots, I can use simple Linux commands from command line using HyperTerminal...
Now, I want to develop simple software for it... For instance blinking IO pins or sending some characters from other serial port...
I plan to use ARM- GCC tools... I've Windows on my PC and I can install Linux if needed. I already built Macroigor compatiple in-circuit-debugger also.
Could anyone explain me how to write led-blinking code to this system?
As I understand, after I compile and link my source code at PC using cross-platform tools, I've copy the executable to ramdisk of ARM board and run it from command line... right?
I wish someone could explain this and give me some very basic ready to compile source code....
Regards
I'm newbie on programming ARM on Linux.
I've a board with AT91RM9200, it boots from ethernet
with ftptp.exe at PC side... There are bin files and ramdisk image at PC...
it loads linux from PC using U-boot then runs arm linux....
I see the actions using Hyperterminal on serial port.
after linux boots, I can use simple Linux commands from command line using HyperTerminal...
Now, I want to develop simple software for it... For instance blinking IO pins or sending some characters from other serial port...
I plan to use ARM- GCC tools... I've Windows on my PC and I can install Linux if needed. I already built Macroigor compatiple in-circuit-debugger also.
Could anyone explain me how to write led-blinking code to this system?
As I understand, after I compile and link my source code at PC using cross-platform tools, I've copy the executable to ramdisk of ARM board and run it from command line... right?
I wish someone could explain this and give me some very basic ready to compile source code....
Regards