HOME  |  NEWS  |  BLOGS  |  MESSAGES  |  FEATURES  |  VIDEOS  |  WEBINARS  |  INDUSTRIES  |  FOCUS ON FUNDAMENTALS
  |  REGISTER  |  LOGIN  |  HELP
Comments
You must login to participate in this chat. Please login.

I am looking forward to reviewing exception handling, memory types and execution modes ...

Good presentation, important to be aware of and understand the underlying architecture and concepts and to be thankful for high level languages and Real Time Operating Systems.

no use on special instructions

@chuck - re. special instructions... not yet.

Iron

@chuck - I did play with cortex M3

Iron

Great to have access to recorded sessions!

Iron

Missed the live lecture due to travel

Iron

Thanks again Paul for your answers

Iron

Have worked briefly with Cortex M3.

Iron

No Real-time systems, but we should migrate to them in the future.

Iron

No experience with special instructions

Iron

Not in the ARM type devices. 

Iron

Have not yet worked with Cortex-M3

Iron

I have not worked on Cortex-3

 

Iron

XN means 'Execute Never'  It is shown in the table

on slide 13 as well.  The memory region that XN

applies to is a region that the CORTEX-M0 cannot

access for instruction execution.  Thus should it do

that, a HardFault will occur.  Clear??

Blogger

Thanks Paul; Great presentation.

Iron

Can anyone tell me what does XN on slide 14 stand for !

Iron

Chuck,

Sorry I had to miss today's lecture but I have heard the archive.  I have not used the cortex processors yet. 

Paul,

These nuts and bolts are very interesting. 

Thanks all, for another great presentation.

 

Iron

Very interesting lecteur

Iron

Very interesting Paul.

 

Iron

anyway. thanx Paul. will be here tomorrow

Iron

It would be great if you use audio to answer our questions. You can answer more Q and in more detail :)

Iron

Stellaris with Code Composer is good too!!  Code Composer is TI's

platform and its good.

 

Paul, Bye Bye

Blogger

Nice discussion of the Cortex M0 ISA- I wondered how ARM was going to reduce the gate count of the M0, and slide 3 in today's presentation illustrates that. Nice way to show how the instruction set (and the resultant instruction decoder) was truncated. 

Iron

OK everyone, I hope this is useful to you.

I will look at the questions and address a few

tomorrow too.

Bye for today....

Blogger

I am trying my hands on Stellaris with code composer studio. How good/easy it is to learn to program cortex with these?

Iron

@lowell_seida - I did not find any similarity in the syntax between PL/I and C, only that they are both high level languages. agree with your I/O assessment.

Iron

For those with MSWin machines, Bloodshed Dev-C+ may be an easy pick. I'm pretty sure it handles C as well.

Iron

C is a stripped-down version of PL/I. I/O and function libraries standard in PL/I have to be imported (included) into C programs. Pointers are very confusing.

Cross-compile from Linux I am less familiar with.

Does IAR have a linux version?  Anyone?

Blogger

I have worked with a Cortex M3 device.

Iron

Yes Codewarrior is good too.

Blogger

CodeWarrior has a common development environment which will work with many of the Freescale ARM solutions.

Iron

SVC when executed causes an SVC Exception - that is

it causes an interrupt - switch to handler mode action.

 

SVC can be used as a way to call RTOS API's.

 

Blogger

PS  I'm actually a higher order programmer playing around with electronics

mainly pascal and C#

You need to teach your fingers to type in C 

not just your brain

its all about time on the keyboard

 

C can be confusing at first.  The language syntax

for pointers can really be tricky till you get the hang

of it.  *c = 0x9999;  is different than c = 0x9999;

I would get a free download compiler and select an

actual project to force yourself through it. 

Blogger

There are many different IDEs, including Freescale's CodeWarrior as well.  C+ works well also.

Iron

QQQ: how about opensource cross compile chains from Linux based development stations?

 

Iron

Thanx Paul :) Next Q: Briefly, what does SVC do?

Iron

I feel I am one who successfully transitioned from assembly to C some years ago. It is hard to judge how hard it is for others, as I have worked with those who were successful and others who seem like they will never make it.  I feel is one has experience any any high level language, the transition is some easier. Also, ones mind set on how much they want to learn C. There are those who only want to know enough C to argue against its purpose.

Iron

@vlad

I'm not sure I can really answer that. I also had programming experience in FORTRAN, BASIC, and Pascal before I learned C. Once you know a couple of high level languages learning another is not so difficult.  When I was switching back and forth doing C on PCs and assembly on embedded micros I had to get into a different mind set.  C certainly is a lot more productive.  Used to be hardware was expensive and programmers cheap. Now it is the other way around.

Iron

Compiler - I like IAR.  Keil is good too,

we've also used Rowley.

Blogger

@phildani7

me too. im comfortable in assembly. but finding it difficult to transition to C

 

we are sailing in the same boat

 

@paul

 

what is your suggestion for guys like us?

Iron

QQQ: What compiler are you refering to?

Good session, thanks Paul

Iron

I think transitioning to C is important.

Though assembly language is cool, it's too slow

to program and change for a working engineer

in my opinion.

Blogger

I like assembly too, it's more close to the hardware which need to be controlled.

Iron

Perhaps we need a syntax to ask a question to the blogger, rather than just comment or say thanks?

It would be easier for him to see the questions if they were preceded by a token, say, "QQQ"

just a suggestion.

are all devices and peripherals treated as memory addresses in cortex?

Iron

me too. im comfortable in assembly. but finding it difficult to transition to C

Iron

Tail chaining and Late arriving will have good

discussion tomorrow, the slide deck shows good

examples of these.

Blogger

@garysxt

Used to do all SW in assembly but now almost exclusively C.....................

how difficult was it to switch to C?

I am presently using assembly language

Iron

I am typing fast as I can...

Blogger

The words are Interrupt and Exception.

An Interrupt and an Exception are the same in that

both cause the processor to preempt normal program

flow and execute some service routine.

 

Exception is the entire set of preempt events including

hardfault, NMI, reset, etc. 

 

Interrupt is the subset of exceptions that the NVIC handles

and start from (but don't include) systick forward.

 

Blogger

I'm also interested in  the difference between exceptions and interrupts.

Iron

Thanks Paul and Chuck. Great introduction.

Iron

I see your responses now.

What compiler are you refering to?

Used to do all SW in assembly but now almost exclusively C. I always felt it helps to know what is happening under the hood, although most of the time you can ignore it in C programming. Sometimes you do have to dig in deep.  Most intros to new micros skip the low level stuff. It was good to see it here. 

Iron

Is this where Paul is supposed to be answering questions? I have seen only one question and no answers.

Iron

what is the difference between exceptions and interrupts here?

Iron

Tail Chaining on CORTEX-M0 starts an interrupt #2 after

the completion of an interrupt #1 without doing the whole

pop/push stack frame stuff.

Blogger

What's the difference between an 'event' and an 'exception'?

Great Information and plenty of detail for study..

Thanks...

Iron

Thanks alot, see (hear) you tomorrow!

Iron

Thanks Paul - good overview. Most people will never need to go to the assembly level unles they have a really special case but it is a good tool to use to understand the processor.

Personally, I look at the assembly to figure out how intelligent the compiler is being at optimizing things.

Clear slides with good color contrast, good pacing, I enjoyed. Check of color choices suitable for color-blind. 98% of color-blind are male.

SUPER!!! THANKS PAUL AND CHUCK...

@Paul (repeat earlier question) - what's the difference between an interrupt and an exception 

Iron

I wonder if "Tail Chaining/Late Ariving" means a technique I used long time ago to exit interrupt to allow other interrupts to arrive, but still not giving the operation to the main thread and executing the slow stuff...

Iron

Thank you, very useful info

Iron

Thank you Chuck, Paul and all

Iron

Thanks Paul and chuck.

 

Iron

Thanks Another Solid Performance

You're welcome, glad to speak with you!!

Blogger

What compiler are you referring to, Paul?

 

@Paul - thanks for another great presentation, thanks Chuck and DigiKey

Iron

thanks chuck and  paul

 

Iron

Thanks Paul and Chuck. See all tomorrow, time to earn my keep.

Iron

Thanks Paul!  Very cool presentation!

Iron

Thanks Chuck and Paul.

Iron

no need for real time yet

Iron

no, have not used it

 

Iron

no real time needed

Platinum

no low latency time apps here

Iron

Yes, counting stuff and driving motors -- all data is collected in raw in the interrupt context and then worked out in the main thread

Iron

Real Time -- Low latency -- yes -- Interrupt driven data collection from accelerometers etc for real time frequency and vibration analysis. Simple stuff though -- niot that complicated.

Iron

No current projects with hard real time interrupt needs.

Iron

Yes, but also not on a Cortex

Iron

If I understand the question: some interrupt work at machine level.

Iron

we are using the M0 in a biometric security system that is utilizing real-time interrupts

Iron

Sometimes due to hardware timing constraints.

@Chuck, no LL realtime

Iron

no, not working with SW at all.

Iron

Hard Real Time, you bet

Iron

@Chuck - not working on low latency apps

Iron

@Chuck: yes, but not on Cortex-M0

Iron

Indirectly, suppose, with the hi level C function "SysCtlSleep()"

Iron

which compiler do you refer to?

Not so far - OS support really requires significant memory resources and the M0 varient I'm using is limited in this area.

Have not used ARM core before.

Iron

what is the difference between "wait for event" and "wait for interrupt"?

 

Iron

@Chuck: have not used Cortex-M0 before and so have not yet used these specific instructions. However, similar instructions are available for most architectures.

Iron

No direct use of the instructions. my RTOSexperience has been from a high level programming.

Iron

No, but used interrupts in assembler on other CPUs

Iron

Nope -- no assy code -- not a glutton for punishment. C is bad enough.

Iron

have not used the special instructions or any cortex processor yet

Iron

@Chuck - have not used special instructions

Iron

how does these WFE/WFI effect any timer that may be running

Iron

I can see DSBs used in concurrent computing when memory mapped I/O are used (most of the time).

Iron

Paul when in case you execute a branch, is any status reg to save?

Iron

REV swaps bytes (per NXP M0 user manual)

REV is typically used for protocol conversion byte ordering

Sounds like Paul is teaching CS101 using the Cortex-M0 for illustration, rather than an introduction to the Cortex-M0 for experienced practitioners familiar with other devices. Covering the basics is good. This is just an unexpected set of basics, at least to me.

Iron

is there a B instruction (that is unconditional) as well as a BCC branch conditional, or there only one B instr

Iron

I believe REV reverses the order of the bit in the byte or word.  Swap exchanges the high order byte with the low order byte.

Iron

Talking a lot about c-compliers...what IDEs are you talking about?

Iron

The REVs may be used for portability purposes if LE and BE modes are avaialble in a standard fashion somewher in the hardware or software. Is it a good assessment?

Iron

All with no audio, if F5 doesn't work drop out of browser and come back in again.

Iron

 

just lost audio feed

 

Iron

ADR is a Columbus egg: so simple to implement in hardware and saves so much machine code.

Iron

We'll the the good stuff back soon. Amen to the riding weather.

Slide 3 would be improved if the M0 instruction subset was colored differently within the M3 instruction set itself, rather than in a separate nested box with duplicate instructions.

Iron

I'm new to ARM Cortex MX systems.

Are these multiple puch/pop done in parallel?

Iron

The Beagleboard I ordered has the A-8 so I hope this seminar gives me some insight on what's going on under the hood. I'm planning to load QNX on it.

Weather:

Cooler is OK as long as it doesn't get too cold for the motorcycling.

Gold

Hello, I didn' t use a Cortex M 

Iron

@Chuck: I also am not getting email reminders on the day of, as others have mentioned.

Iron

have not worked with any ARM Cortex processors

Iron

Just played around with a M3 eval board for a couple of hours.

Iron

Yes, LM3S with Cortex M3

Iron

I've used the cortex M3 & M4

I'm working with an M0 device now. I've not played with an M3 yet (have one to play with soon)

Never worked with ARM Cortex devices.

Iron

Cortex M3 yes -- plus other ARM

Iron

I have not worked with one

No ARM Cortex Mx experience

Iron

we have done some prototypes with an M3

 

Iron

no cortex m3 experience, yet

Iron

remember not all C is the same since there are many compilers

Iron

@Absalom - Fun enjoying the cooler weather? (I'm in Tualatin/Beaverton)

Noaudio here - a rare event.

Iron

@qizhyo Yes, press F5 if you still don't have it.

Iron

Hi Plaul, Chuck, and all.

Iron

@Absalom Download the data sheets from Digi-Key.  They'll show you all the differences.

Iron

@Chuck or Paul:  Any chance of a quick overview of ARM before diving into the specific processor?

Iron

Good afternoon Paul

Iron

Good afternoon folks.

Iron

Yeah -- so don't get nervous -- eh?

Iron

@Absalom - where in Oregon?

Oregon

I wonder what the difference is between an ARM Cortex-A8 and the ARM Cortex-MO?

Gold

Hello from Michigan.

Iron

We are definitely internaltional - Poland, Norway, Canada, USA, etc.

Hi All From California

Iron

Yesterday was mostly Moore's Law. Today is the real stuff.

Hello from Norway today.

Iron

Hello from sunny Lake Simcoe in Omtario Canada.

 

Iron

I agree about no reminders - I missed yesterday because there wasn't one.:(

I'm not getting the reminders either.  Luckily my alzheimers med is working.

Iron

Hi all from new york

 

Iron

KG makes me sound light number is definitelys larger than stones but less than pounds! :)

Ich habe nicht ein email reminders

Good afternoon, everyone

Iron

Hi All, from Maryland

@Chuck: I'm not getting email reminders on the day of, as I have with past classes.  I signed up for reminders as usual.  Anybody else not getting them?

Iron

@Kentj, back in the 70's

Iron

Kilograms makes you sound heavier though

Iron

Ola from southern, southern California.

@danlafleur When was the conversion?  There's a lot of people against it here even though it's easier.  Binary volume measurements ... 2 cups in a pint, 2 pints in a quart and so on.

Iron

HELLO FROM sunny MIAMI..

Wow...I miss yesterdays discussion and power points on that?

Iron

@Kentj, yes close enough. There's a little trick to finding out how old you are, based on when we went metric in Canada. Have someone tell you the temperature and it will most likely be in C, then ask how much they weigh or how tall, usually in pounds and feet/inches if they were old enopugh before the conversion.

Iron

OK...Im here. Im still stuck on the M3!

Iron

Hello form Eastern MA

 

Iron

hello fm Dallas - currently 72F projected hi 85F - life is grand - oh, home to the west nile virus (maybe not so grand)

Iron

24 degrees C is about 75 degrees F in case anybody's wondering.

Iron

Hello from Austin, Texas

 

Iron

good morning all from Edmonton, AB. 24C here.

Iron

Hello from warm Poland!

Iron

Hi from warm (92 degrees F) Richmond, TX.  AC works fine!

Iron

Hi from (cool ~70 Degrees F) Portlandia - slides downloaded fine.

Good afternoon everyone

Iron

Yep, They work fine now.

Iron

Should be fixed now, please go ahead and download.

 

Iron

We are working on the slide issue, and will let you know when is fixed

Iron

something wrong Slide Deck

Iron

I also can not download the slide deck; File not found error!

Iron

I get error too when I try to download today's slides. Can you please check the link !

Iron

Same q as gschmick : when are the slides posted? I get an error when trying to load the slides as not found.

 

Iron

@Paul or Chuck: still there?  I just tried to get tomorrow's slides and got an error.  Have the rest of the packages been poseted?

Iron


Partner Zone
Latest Analysis
Battery maker LG Chem Power Inc. plans to offer a new cell chemistry that could serve as the foundation for an affordable electric car with a 200-mile driving range by 2017.
The amount of plastic clogging the ocean continues to grow. Some startling, not-so-good news has come out recently about the roles plastic is playing in the ocean, as well as more heartening news about efforts to collect and reuse it.
New developments in sensors span a wide range of applications in all areas of manufacturing and plant automation.
Some of our culture's most enduring robots appeared in the 80s. The Aliens series produced another evil android, and we saw light robot fare in the form of Short Circuit. Two of the great robots of all time also showed up: The Terminator and RoboCop.
Two students have created a voice-command system for our homes, based on the simple and affordable Raspberry Pi.
More:Blogs|News
Design News Webinar Series
7/23/2014 11:00 a.m. California / 2:00 p.m. New York
7/17/2014 11:00 a.m. California / 2:00 p.m. New York
6/25/2014 11:00 a.m. California / 2:00 p.m. New York
5/13/2014 10:00 a.m. California / 1:00 p.m. New York / 6:00 p.m. London
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
Aug 4 - 8, Introduction to Linux Device Drivers
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6


Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.
Next Class: August 12 - 14
Sponsored by igus
Learn More   |   Login   |   Archived Classes
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Sponsored Content

Technology Marketplace

Copyright © 2014 UBM Canon, A UBM company, All rights reserved. Privacy Policy | Terms of Service