Post Reply 
Intel Edison generic calculator shield photo journal
03-27-2015, 06:49 AM
Post: #30
RE: Intel Edison generic calculator shield photo journal
Greetings, see the updated pics in the previous post... specifically the third pic in the second set of three.

The binary-calculator runs in the edison (as in the Due) almost without change. The pinouts map over, but apparently, the edison does not support programmable pullup resistors on its input lines... so although this command did not fail (the AVR compiler did not even give a warning):

pinMode(5, INPUT_PULLUP);

... the pullup resistor has to added in the physical hardware (you can see this in the third pic above, second set of three).

On a very positive note, (those of you who have ever struggled with updating the firmware of the WP34s, or built a flash cable, or maybe a WP34s Flash Station this is important!) the edison 'sketch image' (the calculator firmware) can be uploaded over wifi with scp (secure copy component of ssh) followed by a reboot.
This can even be done within the Arduino IDE (and of course through the AVR compiler directly). The Arduino preferences file can specify the /build directory, and the save options for a given build. The elf file (firmware image) can then be uploaded to the calculator (Intel Edison) via scp... a symbolic link is then established between the elf file and 'sketch.elf' like this:

ln -sf Edison-Binary-Calculator.cpp.elf sketch.elf

... then reboot the edison, or give the launch process a SIGHUP .

No more flash cables, no more intermediate failures, no bricked devices, and no headaches. How much fun is that? ... very cool.

Cheers,
marcus
Smile

Kind regards,
marcus
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Intel Edison generic calculator shield photo journal - MarkHaysHarris777 - 03-27-2015 06:49 AM



User(s) browsing this thread: 2 Guest(s)