This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Few beginner questions - from AVR to ARM

hi,

after some time i think its time to learn arm programming, i used to program for avr, (im mainly a pc programmer ! young one )

i got an Raspberry pi model b+. but i don't want to use it for making fun stuff or hobby, i want to do real programming(not that python and pi are not real programming i can't explain what i mean) , so i can work somewhere(i don't want to but example of what i mean, im not looking to make stuff, im looking to learn!!!) or make products! (like nest self learning thermostat or the Parrot ar.drone)

raspberry pi has an os and its a big boards and has unneeded stuff so i don't want to use it on my final product (release it with a pi inside of it!)

like in avr i wrote my c program for my chip on breadboard, or an arduino, after that i just installed the final version into  a chip ans inserted it into a final cricut , but not the whole arduino! (like lets say i made an automatic cat feeder and released it for public!!! )

i want to do the same, so my question is:

how can i start it? Do i need to know Assembly?  i only know a little bit of PC assembly, it sounds cool


i heard different MPU/MCU's require learning the whole thing again, i may use different stuff on different projects, that means i have to learn it again for each project?!

lets say my goal is to make AR.Drone from scratch, by buying motors the chips and ect, but i want to prototype it with pi first, and the OS and other stuff just require battery and waste resources , how can i do it?!

so what should i do/learn to make an AR.Drone?! (i know its not like i wake up and decide to build a time travel machine but i will learn what's necessary because i have time and im looking to learn !)

sorry if this question sounds stupid but i have been really confused these days so i thought its good to make a thread!

EDIT:

let me summirize it a little !

Summary:

im moving from AVR programming to ARM,

what steps i should take? what should i learn?

i want to use ARM for making products and devices , i already bought an pi to prototype before i can make it a product , in its own board with other stuff in the board

a good example of what i want is ar.drone !

Parents
  • There's various Raspberry Pi groups learning about using it and making various things with it. I'd have thought they would be best for what you want. As to making something on the scale of the ar drone probably the eventual sort of thing you'd want to use would be an ARM Cortex M0 to M4 type chip with less than a megabyte of memory and running an RTOS without memory management rather than Linux. There's lots of cheap development boards for them so you'll want to look into that, but the Raspberry Pi and its user groups though is better for starting to program ARM's and get some sort of thing working.

Reply
  • There's various Raspberry Pi groups learning about using it and making various things with it. I'd have thought they would be best for what you want. As to making something on the scale of the ar drone probably the eventual sort of thing you'd want to use would be an ARM Cortex M0 to M4 type chip with less than a megabyte of memory and running an RTOS without memory management rather than Linux. There's lots of cheap development boards for them so you'll want to look into that, but the Raspberry Pi and its user groups though is better for starting to program ARM's and get some sort of thing working.

Children
  • @daith For sure  there's other way to do that without using Linux, in particular if he want to create his own board. But for sure also, the linux enviromnent give him the largest help than other. It's my own thinking. For me linux is the kernel, not the way to distribute it. The slackware users 2.2 or less will understand what i say 32Mo is enough to make work linux

  • so i will use linux, if i can still make my own boards !

    but the problem is i still don't why pi's libraries and other stuff, i want to program the bare MCU with my own board, make it, install linux on it, flash my  code there, and let it run !!

  • my main problem with Pi is that the software i make for it is only for the Pi board, i want to be able to create a board with my desired components ! i feel like the pi is more of a computer ! i want to use ARM as components like MCU(when AVR mcu's don't have enough power! and doesn't meet my needs) , maybe in my project i dont even need video at all!!


    like with AVR, or even arduino, i could flash arduino bootleder on many of AVR MCU's and make my programm run on it and forget about the board and insert my AVR MCU on a cricut !


    if that needs me to learn asm i will do that ! but if there's easier way i would gladly do that i just hate the fact that i have to learn the whole thing again for other ARM Contexes !


    sorry i can't explain good


    and also i saw that ar.drone uses linux !

  • im so confused   just forget about first one and answer this using Linux sounds like a lot of help, and it seems like i can install Linux on any Cortex, and the programs only work on pi, i want to be able to create my cost effective boards with different Cortex rather than Pi's current one or maybe more powerful ones ! ( i see there are many different Cortexes !)

    pi looks like more of an mini computer to me now !

  • What do you not use an existing board without display output ?

    like the Arduino Due based on ARM cortex M3 for exemple in your case.

    I don't know exactly what you project, but it could be suffisant ?

  • thats an example, but still lets say i work for an company, big one like parrot they just can't use an arduino on they're ar.drone or anything, also these boards are big, i mostly want to learn, i don't have specific projects, i want to learn the skill of programming arm MPU's for different devices or stuff!