Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: W-ARM project manager for SAM7S.
PostPosted: Wed Aug 04, 2010 1:19 pm 
Offline

Joined: Sun Jan 03, 2010 5:18 pm
Posts: 22
Hello i have been writing a program that combines many useful functions. When i started i noticed that a lot of simple but repetitive things can be done better by the PC then i am able off. As such i wrote this small program, W-ARM project manager. With this program i have put a small but handy distribution together. The program itself creates all necessary files as linkerfile and makefile. All the needed directories in a useful way. All the necessary source and linker files to start with.

In effect it is an IDE comprised of :
W-ARM project manager.
Programmer's notepad 2.
GCC distro 4.4.2 based on Yagarto 23122009.
GCC utils based on yagarto 23122009.
SAMBA 2.10

I have a first beta release finished : W-ARM 0.87.
It is all free and available with documentation on sourceforge.
Do not forget to read the the Changelog_readme.txt
It works with SAM7S, i am planning support for SAM3S when i have one to play with.


Here is the link :

http://sourceforge.net/projects/warmdevkit/files/

I use it myself and am continuously improving and extending it.
When i have a first proper version out, i will be releasing all the source files as well.
For now it seems to work for

i hope i can make some people happy with it :

I have a link here with more information :

http://forums.anandtech.com/showthread.php?t=2084007


Top
 Profile  
 
 Post subject: Re: W-ARM project manager for SAM7S.
PostPosted: Wed Aug 18, 2010 4:55 pm 
Offline

Joined: Sun Jan 03, 2010 5:18 pm
Posts: 22
I am planning for an update for W-ARM V0.90. I hope to have it on sourceforge at 6 september.

This is the changelog for now :


# Version 0.90
- Added default ARM assembler scheme support for all ARM instructions, THUMB instructions, THUMB2 instructions, ARM registers.
And as directives. The highlighter of PN2 now works for assembler files as wel with the unfortunate exception of not making
the comments green as it does for the code. This is i think a bug in PN2.
Removed garbage from c scheme. Created a clean and simple default c scheme.

- W-ARM configfile parser changed. The "&" at the end of the line is now removed. The parser checks now for "/r/n".
As such the & can now be used in a projectname without errors and problems.

- W-ARM does not ask anymore to save your settings if you already have saved your settings after the last settings change.

- W-ARM greyes out menu options that do not apply for the selected MCU architecture.
Affected menu options is : instruction set. I have chosen not to grey out the architecture selection to keep freedom here.

- Solved error in statusfield2 text selection for SAM3S4B with respect to MCU specifications.

- W-ARM now has an option in the project menu which allows you to update the projectpath if it is outdated.
With this new option, there is no need to update the W-ARM configfile by hand in an text editor. All options can now be modified or updated from within the GUI.


Top
 Profile  
 
 Post subject: Re: W-ARM project manager for SAM7S.
PostPosted: Mon Sep 06, 2010 8:50 pm 
Offline

Joined: Sun Jan 03, 2010 5:18 pm
Posts: 22
Hello everybody, a minor update :
W-ARM = updated.

#Placed V0.90 on sourceforge.
#Updated the manual to reflect the extra option.
#Added a readme.txt at sourceforge. As such changes can be directly read without downloading the entire package.

#Added a simple example program with a simple schematic to play with I2C/TWI and the mcp23008. I have written it for the olimex board. As such if you want to use it for a different hardware setup you have to edit the header files and adjust the pin designations for the used pins. To compile, just create a new project and copy the sourcefiles into the empty source(src) and header (inc)directories. After that, run the project manager and setup the configuration for the used SAM7S processor. Create the needed make and linker files. Compile and load into the controller with SAMBA .

I will soon update the ARM GCC pdf with information about the used ARM calling convention for the ARMv4T(ARM7TDMI) and ARMv7(CortexM3) and about stackframes.

Forgot the link :
http://sourceforge.net/projects/warmdevkit/files/

The link is in a post above but like this it is easier.


Top
 Profile  
 
 Post subject: Re: W-ARM project manager for SAM7S.
PostPosted: Mon Nov 08, 2010 12:20 am 
Offline

Joined: Sun Jan 03, 2010 5:18 pm
Posts: 22
For those interested, i am continuing the improvement of the free W-ARM IDE.

This is the changelog for W-ARM V0.93:

# Change log :


# version 0.93
- Added more assembler instructions and directives to assembler scheme of PN2.
- Added basic support for the LPC2104, LPC2105, LPC2106, LPC2129, LPC134, LPC2136, LPC2138.
- Added basic template files for LPC210x. These are comprised of header files and basic startup C code.

- Added multi interrupt support for the SAM7S. All interrupt handlers can be written in C.
The assembler part is taken care of by the Advanced interrupt controller of the SAM7S and by a little assembler
code i have written from studying the examples in ARM cook books and the Atmel datasheet.
All interrupt handlers written in C are stored in RAM to speed up execution and reduce interrupt latency.
I have provided some examples.
I am busy standardizing the semi_stdio.c file with usefull functions. All these functions depend heavily
on the hardware if needed. But most only use generic ARM7TDMI core C code. When in case the onboard hardware gives a
speed advantage i will take advantage of this hardware. All code has comments and is very clear to understand.

- Printstring supports now %b,%h and %d for unsigned conversion of 1 32bit value.
The routines are optimized to run as much from registers as possible. I estimate no stack is used.
All output is directly written into a memory buffer which serves for the UART TX interrupt.
Printstring can be configured to run in PIO mode or INT mode. The first is programmed IO in a software loop.
The second is interrupt based and free's up the CPU for other calculations if OS_MEM_PRTSTR_NO_WAIT is set to 1.
if OS_MEM_PRTSTR_NO_WAIT is set, then the user code must check for OS_MEM_UART_TXNRDY to be cleared before
using printstring again.

- There are 9 timers out of 11 timers available through use of functions and can be written to and read from similar as
hardware pheriperals.
Timer 10 is for now used by printstring but will be free to use when the multitask os i am working on is finished.
Timer 11 is used for the TWI hardware as timeout timer but will be free to use when the multitaks os i am working on is finished.
When the TWI interface or printstring are not used, Timers (11) and (10) can be used at any time.

- Removed a bug in the LPC linker generator.
- Removed a bug in the SAM7S linker generator where a possible alignment error could occur.
- Removed a visual bug at the project tab that popped up when the projectname is too short.

- A strlen function is added.

I hope it is useful, if there are any errors or bugs please let me know, i will solve them as fast as i can.

Here is the link :

http://sourceforge.net/projects/warmdevkit/files/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron