Is there already any porting of Astrobe to the Arduino Due board (Cortex M3)?
If not, which are the main steps to do such porting?
Arduino Due
-
- Site Admin
- Posts: 516
- Joined: Fri Dec 31, 2010 12:30 pm
- Contact:
Re: Arduino Due
Assumimg:
how much work you would have to do to get Astrobe executables working on the Arduino Due depends very much on which peripheral devices you want to use. As a minimum you would need to implement Main (OSC/Clock Control), GPIO / pin configuration, Serial (UART), and Timers to run the general examples. That typically is a total of ~500 lines of device-specific code.
SPI is usually the next (~200 lines) to do and I2C is the trickiest (~350 lines).
The generic library modules (Convert, FPU, Graphics, In, Out, Math, Random, Reals, ResData, Storage, Strings and Traps) should work without any modification.
- you have access to software to upload a Cortex-M3 'bin' executable file to the board
- the memory map can be defined using Astrobe's configuration options
how much work you would have to do to get Astrobe executables working on the Arduino Due depends very much on which peripheral devices you want to use. As a minimum you would need to implement Main (OSC/Clock Control), GPIO / pin configuration, Serial (UART), and Timers to run the general examples. That typically is a total of ~500 lines of device-specific code.
SPI is usually the next (~200 lines) to do and I2C is the trickiest (~350 lines).
The generic library modules (Convert, FPU, Graphics, In, Out, Math, Random, Reals, ResData, Storage, Strings and Traps) should work without any modification.
Re: Arduino Due
Thanks. I think that the bossac utility should be the tool for uploading compiled images.
Will try to follow your hints.
Will try to follow your hints.