Keil, ARM and AS7

Go To Last Post
14 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

is there anybody who can help me to add keil extension to my atmel studion 7.

it is not working on studio 7, I can not find it in extension manager!!!!

 

I download it and instaled it from atmel gallary. but it still does not work>!!!!

 

thx

 

* Split from 12 year old thread and moved by moderator *

Last Edited: Fri. Jan 29, 2016 - 04:19 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The thread is 12 years OLD!!!

 

This thread belongs in the ARM Studio forum.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hi

could you help me to find the right topic for this question. I am new in this forum and quite confused

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

As far as I know,   there is no Keil extension to AS7.

 

If you want to use Keil,   there is a free Keil Demo version that will build 4kB on a 8051 or 32kB on an ARM target.

The full licence is very expensive.

 

Which microcontroller(s) do you want to use?

Are you a hobbyist, student or professional?

 

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

thanks alot to your attention. 

I am student and I just have a project on ARM microcontrollers. Based on project requirements we have chos ATSAMS7Q20.

we started with atmel studio, but it is a bit complicated and sonfused us. before we were working with AVRs with enough experience, but now we are quite confused. it is over 2 weeks we are trying to just blink a LED on the Arduino DUE without using their fonctions.

we need to work directly with ports. so at the moment we are working with ATSAM3X8E ARM microcontroller to be familier.

also now I am moving to Keil compiler.

 

in our project we have a parallel ADC (12 bit) 3 MSPS, we have to read the data and send it through the USB to PC online.

 

but still can not blnk a LED :(.

 

could you help me please, I appriciate you for taking time to help me

Last Edited: Thu. Jan 28, 2016 - 10:01 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

If I was you,  I would start by building the project on your Due using the regular Arduino libraries.

 

Develop the whole project on the Arduino.   i.e. the ADC, USB and any display on a Serial Terminal.

 

The end-user will not know whether you used Arduino or raw C, C++, Basic, ...

Only you and your Teacher will know that there is Arduino code.

 

If it is important to port your finished Arduino project to bare C code on Keil or AS7,   we can probably help you.

 

I have no idea what a SAMS7 chip is.    I am 100% certain that no one expects you to write USB code from scratch.    Your teacher may want you to write the ADC or Serial code yourself.     However it is more likely that they want you to use Atmel Library code and the ASF.

 

I would concentrate on the finished product before I learned how to do a Blinky with raw C.    You will learn how to use the Arduino and a working project.   This experience will help you to "port" or replace sections with raw C at a later date.    You will make more progress than trying to start from the bottom.

 

If you can not blink an LED with Arduino in less than an hour,   you should choose another subject.

 

David.

Last Edited: Thu. Jan 28, 2016 - 10:48 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi

thanks for your clear answer. and sorry for bothering you alot. I am a bite excited that someone answering me :)

in fact it is easy to work with Arduino and we have test it and everything is ok with that. the point is that at the end we  can not use the arduino board since it is so big. we have very limited space and we have to design our own PCB.

 

in this case, 

1- if we complete the projetc with arduino is it possible to program the new chip with the program that was written with arduino IDE?

2- is it possible to program it with Atmel-ICE JTAG ?

 

3- how can I find all headers and syntaxed for atmel studio (ASF) and learn how to work with them. ? (so important)

4- is it possible to use ASF for custom project (for a specific ARM microcontroller. since all th examples in atmel studion are based on start up kits or atmel predesigned boards?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

If you choose a SAM3X or a SAMD21G chip, the Arduino code could run on your custom board.

Quite honestly, it would be a lot of work to port the Arduino to the SAM7S chip.

The ASF is pretty convoluted. If there are examples for a SAM7S, you could do your development on a SAM7S starter board. I would still get the project running on the Due or M0 Pro. Why have you chosen SAM7S ?

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I think he means the samV70Q20 which is a modern part. The sam7s is quite old.

I don't think going to the Keil compiler is going to make your job any easier. You still need to learn the chip and the libraries - that is where the effort is. You could do the community a favour and port the Due libraries to the V70 for a 300MHz Arduino. "Arduino veloce"!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

there is no Keil extension to AS7.

Yes there is according to the extension site and it's FREE...magic words. wink

 

I guess a moderator could split the thread into the AS7 (ARM related) forum as it seems to be a problem with installing the extension??

 

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

"Velociduino"?

 

They hunt in packs.

"Experience is what enables you to recognise a mistake the second time you make it."

"Good judgement comes from experience.  Experience comes from bad judgement."

"Wisdom is always wont to arrive late, and to be a little approximate on first possession."

"When you hear hoofbeats, think horses, not unicorns."

"Fast.  Cheap.  Good.  Pick two."

"We see a lot of arses on handlebars around here." - [J Ekdahl]

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

as a friend said it is samV70Q20  ucontroller. there is 2 reason for chooing that.

1- high frequncy, 

2- new version

 

also they have it in the laboratory so they do not need to but the new one. as we have to work with 3 Parallel ADC (with 3MSPS sampling rate) we need high frequency one. since in the project the most important results on in the first 50 microsecond time. that means we have to draw a graph based on ADCs output for the first 50 u second. so all sampling, reading, saving and online sending should be done in less than 1 microsecond. bit at this point we can switch to sam3x (arduino board) but at least we should have our own customized board.

 

before we worked with AVRs and I could easily manage the registers and then go for main program. (I was using codevision)

there I can not  find all available headers and the list of the syntaxes that I can use for programming?!!!

for example if want to read a port which is connected to ADC 12 bit data port, how can I read the value (related syntax) or what is the syntax of making a pin high or low directly with its related register.

 

It makes me a bit disappointed!!!! :(

Please help

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

thanks for the great image, but I did the same thing and it is installed correctly.

the problem is that the is no any keil type when I want to make a new project.

there is only GCC for C and C++ and also a Arduino type.

I can not find the Keil among them all!!!!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Dear all

Hi

I am new in ARM and specially in Keil. I just install the Keil software and I was trying to creat a new project. During choosing the componets, I chose the USB Device from CMSIS Driver validation, but there is the following Error That I do not understant:

 

ARM.API::CMSIS Driver validation USB Device

require CMSIS Driver:USB Device

 

I am sure that I have installed all required packages and I can see it in my menu. but what ever USB that use (with check mark) creat the same Error message.

 

could anybody help me!!!!!

 

thanks