CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Electronics > PIC Programing / Design


PIC Programing / Design Discuss programing of PIC chips here and design of electronics using PIC chips.


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 07-19-2007, 12:52 AM
 
Join Date: Jun 2006
Location: USA
Posts: 36
Lston is on a distinguished road
PIC verses ARM Cortex M3

I am looking to getting into PIC programming but I really prefer C++.I read about the limitations of PIC Lite which haa no PWM functions, file size limits and limited processor support and for just a little more than the cost of PIC PRO you could get a C compilier. The code required for interfacing to a LCD or touch LCD is too great I would like more managed code thats why I am now looking at Microsoft .NET micro with a Luminary Micro Stellaris 32 bit ARM based Cortex M3. http://www.luminarymicro.com/
http://www.arm.com/pdfs/IntroToCortex-M3.pdf
The MCU's alone range from $2.18 US to $11.93.
$10.27 for :
64K flash; 8KB Sram,2 UARTS,I2C,GPIO,SSI,watchdog timer,brownout reset,LDO voltage regulator,6 PWM,6 CCP
The developers kits range from $49.00 to $379 for a AC induction motor kit.
These kits also come with CodeSourcery (GNU), and IAR but I don't think they support Windows, only Linux.
http://www.mouser.com/catalog/630/158.pdf

Does anyone have experence with these here?
I just realized 64Kb flash is small but I'am sure they have other models.
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 07-19-2007, 04:13 PM
 
Join Date: Jun 2006
Location: USA
Posts: 36
Lston is on a distinguished road
Not yet

It looks like the Cortex M3 maxes out at 128KB right now but there are plans for 512KB +.(Page 3)
http://www.st.com/stonline/products/...rstm320607.pdf
Acording to Microsoft, .NET Micro requires 250-520Kb.
(Page 3)
http://www3.hermia.fi/mp/db/file_lib...rk-March07.pdf
So it looks like it will be awhile before this is a option but it would be great to have some managed code for LCD touch screens and keypads.
.Net Micro is a free download and works with Visual studio which is not free.
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 07-24-2007, 01:24 AM
 
Join Date: Mar 2003
Location: USA
Posts: 93
routerman is on a distinguished road

I just realized 64Kb flash is small but I'am sure they have other models.
64K is huge for a microcontroller !

What would you need larger for ?
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 07-24-2007, 03:23 AM
phomann's Avatar  
Join Date: Aug 2005
Location: Australia
Posts: 442
phomann is on a distinguished road

Originally Posted by routerman View Post
64K is huge for a microcontroller !

What would you need larger for ?
The last time I head a statement like that was from Bill Gates when he released the PC

He questioned why anyone would need any more memory than 640KB on a PC

Where are we now 2GB of ram and it's still not enough.

Cheers,

Peter.
__________________
-------------------------------------------------
Homann Designs - http://www.homanndesigns.com
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 07-24-2007, 04:09 AM
 
Join Date: Sep 2006
Location: Sweden
Posts: 104
CountZero is on a distinguished road

Also take a look at atmel AVR: www.avrfreaks.net

Free GCC compiler is just one advantage...

With 32bit processors(even in 16bit thumb mode) eats away codespace faster so you cant directly compare 64K on a ARM with 64K on a PIC or AVR.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 10-23-2007, 07:48 AM
 
Join Date: Dec 2005
Location: Usa
Posts: 93
Horsedorf is on a distinguished road
Buy me a Beer?

I've been using the LM3S811 for a while now and I LOVE it. It's fast, the tools are good (Using IAR which runs under windows, though I'll be switching to GNU tools pretty soon) and you don't have to decide which functions you want to loose when you decide to use a PWM or a timer or etc. All you loose are GPIO pins. The pin counts are low, making them (relatively) easy to work with when soldering.

As for managed code..well.. that's what public domain libraries are for, and since these devices are relatively new, there really is not a lot of freeware/shareware code out there for them yet. HOWEVER, you might look into uCOS (They call is micro-cos, I call it mu-cos. which *MAY* have a bunch of shared libraries for it that might do some of what you want. Otherwise, well.. Be a hero! Write some code and give it to us!

Honestly though, between pics and arms, i MUCH prefer the arm, mostly because I detest the page boundaries in ram and code space in the pic processor that I have to work around when writing code in assembler. (Though that is rare, it still happens for me) Although most of what I do is in C.

Good luck!
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 11-05-2007, 09:08 AM
FunnyNYPD's Avatar  
Join Date: Nov 2007
Location: Canada & USA
Posts: 70
FunnyNYPD is on a distinguished road

Since the ARM are getting cheaper and cheaper, I do think to switch some of my PIC project to ARM.
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 11-05-2007, 09:24 AM
 
Join Date: Dec 2005
Location: Usa
Posts: 93
Horsedorf is on a distinguished road
Buy me a Beer?

Originally Posted by FunnyNYPD View Post
Since the ARM are getting cheaper and cheaper, I do think to switch some of my PIC project to ARM.
One of the things I neglected to mention was the quality of the tools available. The GCC toolset is available for the arm cortex and does a MUCH much better job than the available pic C compilers. The least expensive Pic C compiler is... broken. In some pretty horrible ways, like doing crazy things with name spaces for interrupt handlers. It was a matter of using a global variable in both the interrupt code as well as the foreground routine. it simply would not let me do that. At all.

I don't know if gcc compiles for pic's. I sort of doubt it. But I could be surprised!

Horsedorf
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 11-05-2007, 09:51 AM
FunnyNYPD's Avatar  
Join Date: Nov 2007
Location: Canada & USA
Posts: 70
FunnyNYPD is on a distinguished road

For PICs, I use HI-tech C compilor (about $800-1000), we also pay ($200) for service and updates every other year. Expensive but Very good products.

They also sell ARM compilor, I am still thinking about buying a Hi-tech ARM compilor, any one get some experience?
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 11-05-2007, 09:53 AM
 
Join Date: Dec 2005
Location: Usa
Posts: 93
Horsedorf is on a distinguished road
Buy me a Beer?

Originally Posted by FunnyNYPD View Post
For PICs, I use HI-tech C compilor (about $800-1000), we also pay ($200) for service and updates every other year. Expensive but Very good products.

They also sell ARM compilor, I am still thinking about buying a Hi-tech ARM compilor, any one get some experience?
Sorry, can't help you there, just have experience with the Gnu tool chain.

Horsedorf
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
torchmate verses plasma cam balto Torchmate 19 05-20-2008 03:34 PM
I and J's verses R command jlwright GibbsCAM 4 10-29-2006 08:21 PM
cnc verses manual Hetherington CNCzone Club House 1 10-22-2006 09:29 PM
servo verses dc with encoder phil spanner Servo Motors and Drives 8 03-27-2006 07:20 AM
CNC Retrofit - Kit verses turn on and go MetDetect General Metal Working Machines 21 07-12-2004 11:06 PM




All times are GMT -5. The time now is 09:58 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353