Go Down

Topic: Run code off SD card? (Read 2345 times) previous topic - next topic

mowcius

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...

Grumpy_Mike

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.

mowcius

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? :D

Grumpy_Mike

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.

mowcius

Glad we agree now...

:D

Living up to your name tonight - didn't want to let us down ;)

dcb

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.

mowcius

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.

CrossRoads

Well, that was certainly an interesting discussion to follow!
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.


CrossRoads

Oh, that is nice!  Awesome way to update embedded systems.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

dcb

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

WanaGo


Go Up