Pages: 1 [2]   Go Down
Author Topic: Run code off SD card?  (Read 1921 times)
0 Members and 1 Guest are viewing this topic.
North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Grumpy_Mike - so what is your definition of code? (source code?)

Quote
No it is not. It is text that gets interpreted.
Yes but so is all code - javascript is simply human readable text that gets interpreted...
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 604
Posts: 33432
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
(source code?)
No source code isn't code - it is the source of the code hence the name!
Code is machine instructions. Source code is the source, used by a compiler, to produce code.
Bitlash is just text that is interpreted by another program, it is not code.
Logged

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ahh but that's what most people refer to when talking about code - you're just being pedantic.

Bitlash is therefore source code yes?

C++ is then not code but still source code?

Are we happy now? smiley-grin
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 604
Posts: 33432
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Ahh but that's what most people refer to when talking about code
Doesn't stop them from being wrong does it, just because a lot of people are wrong.
Logged

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Glad we agree now...

smiley-grin

Living up to your name tonight - didn't want to let us down smiley-wink
Logged

0
Offline Offline
God Member
*****
Karma: 1
Posts: 513
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

bytecode=pcode=portable code.  If you put logic on the sd card, it is code.  It doesn't matter if it is interpreted or run as-is through the cpu.  It doesn't matter if the codes are human readable like a programming language.

Maybe you are thinking of machine code?  a specific name for code that is compiled/assembled?

This is a vastly different scenario than plain data.
Logged

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok war over - yes it's possible to both load hex onto an arduino and run a type of text based code (source code perhaps) from an SD card but it is not possible with the current hardware architecture to load programs directly off of an SD card, using the SD card as external flash memory for them.
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 525
Posts: 26554
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Well, that was certainly an interesting discussion to follow!
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://diy.elektroda.eu/uprog-maly-szybki-przenosny-programator-avr-z-sd/?lang=en
Oooh look what just came up smiley
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 525
Posts: 26554
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Oh, that is nice!  Awesome way to update embedded systems.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

0
Offline Offline
God Member
*****
Karma: 1
Posts: 513
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

lol, I'm still trying to get over the commenters avatar
Logged

NZ
Offline Offline
Sr. Member
****
Karma: 0
Posts: 390
Turtle in a hard shell
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


I must have/make one.
That will be incredibly useful
Thanks for the link!
Logged

Pages: 1 [2]   Go Up
Jump to: