Post Reply 
[WP-34S] Cable and flashing options for Mac users
01-25-2015, 02:15 AM (This post was last modified: 01-25-2015 02:16 AM by John Galt.)
Post: #101
RE: [WP-34S] Cable and flashing options for Mac users
(01-23-2015 11:24 PM)walter b Wrote:  Don't be afraid. Watch this: http://youtu.be/diJA2cCQenI . It isn't Mac-specific.

LOL!

Done! Came out beautiful thanks to Eric's video. But it was still nerve-wracking.
Find all posts by this user
Quote this message in a reply
01-25-2015, 05:41 AM
Post: #102
RE: [WP-34S] Cable and flashing options for Mac users
(01-25-2015 02:15 AM)John Galt Wrote:  Done! Came out beautiful thanks to Eric's video. But it was still nerve-wracking.

Perhaps an assistant could help. Smile
Find all posts by this user
Quote this message in a reply
01-25-2015, 09:26 AM
Post: #103
RE: [WP-34S] Cable and flashing options for Mac users
(01-25-2015 05:41 AM)Dave Frederickson Wrote:  Perhaps an assistant could help. Smile

I agree totally! When I post my process pics I will be sure to include my assistant pic just for you... I actually have two assistants... the one is called Joules (I'll let you figure out why) and the other Ava. Joules is ADHA, while Ava is the intellectual (and she keeps my feet warm while I solder....

Smile

Kind regards,
marcus
Find all posts by this user
Quote this message in a reply
01-25-2015, 09:35 AM
Post: #104
RE: [WP-34S] Cable and flashing options for Mac users
Seems here's a nest of cacas.*

d:-)

* calculator cats
Find all posts by this user
Quote this message in a reply
01-25-2015, 10:08 AM
Post: #105
RE: [WP-34S] Cable and flashing options for Mac users
(01-25-2015 09:35 AM)walter b Wrote:  Seems here's a nest of cacas.*

d:-)

* calculator cats

Even if it doesn't sound so nice in italian, I admit there's a couple of them here too.

Greetings,
    Massimo

-+×÷ ↔ left is right and right is wrong
Visit this user's website Find all posts by this user
Quote this message in a reply
01-25-2015, 01:36 PM
Post: #106
RE: [WP-34S] Cable and flashing options for Mac users
(01-25-2015 10:08 AM)Massimo Gnerucci Wrote:  Even if it doesn't sound so nice in italian, I admit there's a couple of them here too.

In the rare times that calculators get boring, stimulate your assistant with a laser pointer around the room. Terrifically entertaining. For me too.

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
01-25-2015, 02:08 PM
Post: #107
RE: [WP-34S] Cable and flashing options for Mac users
(01-25-2015 01:36 PM)rprosperi Wrote:  
(01-25-2015 10:08 AM)Massimo Gnerucci Wrote:  Even if it doesn't sound so nice in italian, I admit there's a couple of them here too.

In the rare times that calculators get boring, stimulate your assistant with a laser pointer around the room. Terrifically entertaining. For me too.

Wink
Right

Greetings,
    Massimo

-+×÷ ↔ left is right and right is wrong
Visit this user's website Find all posts by this user
Quote this message in a reply
01-25-2015, 04:21 PM (This post was last modified: 01-25-2015 04:22 PM by Dave Frederickson.)
Post: #108
RE: [WP-34S] Cable and flashing options for Mac users
(01-25-2015 02:08 PM)Massimo Gnerucci Wrote:  
(01-25-2015 01:36 PM)rprosperi Wrote:  In the rare times that calculators get boring, stimulate your assistant with a laser pointer around the room. Terrifically entertaining. For me too.

Wink
Right

Because cats can never catch a laser pointer I don't play with one, he's neurotic enough.

(02-23-2014 07:08 PM)Massimo Gnerucci Wrote:  As much as I carefully check and clean beforehand I always find a cat's hair in a corner whenever I do something like applying a screen protector to my phone...

Yes, that is an issue. My GF likes to say that cat hair is both an accessory and a condiment. Smile On Kai's behalf, he's a Bengal and doesn't shed very much.

Dave
Find all posts by this user
Quote this message in a reply
01-25-2015, 04:36 PM
Post: #109
RE: [WP-34S] Cable and flashing options for Mac users
(01-25-2015 09:35 AM)walter b Wrote:  Seems here's a nest of cacas.*

d:-)

* calculator cats

If anything can be learned from watching The Big Bang Theory, a group of cats is a clowder or glaring.

Smile
Find all posts by this user
Quote this message in a reply
01-25-2015, 10:43 PM
Post: #110
RE: [WP-34S] Cable and flashing options for Mac users
(01-25-2015 04:36 PM)Dave Frederickson Wrote:  If anything can be learned from watching The Big Bang Theory, a group of cats is a clowder or glaring.

Yeah, and that's why I only have two... because herding a clowder of cats is a glaring impassability (which can cause brain injury and death).

Smile

Kind regards,
marcus
Find all posts by this user
Quote this message in a reply
01-25-2015, 11:08 PM
Post: #111
RE: [WP-34S] Cable and flashing options for Mac users
(01-25-2015 10:43 PM)MarkHaysHarris777 Wrote:  Yeah, and that's why I only have two... because herding a clowder of cats is a glaring impassability (which can cause brain injury and death).

Very true. For those who haven't seen the video:


Find all posts by this user
Quote this message in a reply
01-26-2015, 05:41 PM (This post was last modified: 01-27-2015 12:06 AM by John Galt.)
Post: #112
RE: [WP-34S] Cable and flashing options for Mac users
Some interesting timing measurements:

(first picture) Flashing the calculator sends many records of length 22 mS (upper trace). The required replies from the calculator (acknowledgements, lower trace, at the trigger point "T") occur approximately 9 mS after each record is sent - I think each and every record gets a reply, but I am not certain.

The entire file, most recent version takes 19 or 20 seconds to send from my Mac so the approximate total number of records can probably be derived from that.

(second picture) The reply (lower trace) consists of only a few bits but they're always the same, and of 78 uS in duration. It corresponds to ASCII character Y (upper case). Or, it's just a nice symmetrical character to choose - zero one zeeeero ooooone zero one stop :-)

I suppose N would represent a negative acknowledgement.

(third picture) The initial transmission from MySamBa. It corresponds very closely to 115200 bps and completely confirms Mr. von Cube's explanation of the protocol. Subsequent transmissions occur at exactly that same speed on my calculator, but it's unlikely that everyone else's will do that and MySamBa won't need to adjust transmission speed... however it does that.

If MySamBa receives no reply at all, it sends the exact same thing and at the exact same speed, a total of three transmissions before it gives up. This puzzles me, and I still wonder how it's supposed to cope with a calculator lacking a crystal timebase that might not recognize the bitrate.

(fourth picture) During normal communication, subsequent transmissions occur a minimum of 5 mS after the previous one's reply. Sometimes it's more than 5 mS.

With respect to Mr. Meheut's wp34sflash program, the reason it doesn't work is obvious. What it sends is completely different and bears no resemblance to what MySamBa sends. What it does, and what I have not been able to observe MySamba doing, is to vary the bitrate from the first transmission to the fourth (it sends four before giving up). The hard work in porting MySamBa's essential functions to the Mac is surely done though, and if he would be so kind to point me in the right direction for its source, perhaps I could make that program work.

If you don't have a scope, Mr. Jebem's Tx and Rx LEDs are VERY helpful diagnostic tools. They clearly show activity when it's supposed to occur. If the calculator is OFF (a bonehead mistake I've made more than once) the Rx LED will glow faintly but steadily, indicating something is wrong.

Maybe this information will help others if they have trouble, I suppose most people won't care.

On a related subject, it seems pretty difficult to kill the calculator. If I haven't fried something by now I probably never will :-p

I realize flash memory can only withstand a finite number of flash cycles (10,000 according to Mr. Bonin's manual, footnote 49). I'm two or three dozen into that, and will start counting! For this reason I am limiting testing to a sacrificial machine.


Attached File(s) Thumbnail(s)
               
Find all posts by this user
Quote this message in a reply
01-26-2015, 08:22 PM
Post: #113
RE: [WP-34S] Cable and flashing options for Mac users
(01-26-2015 05:41 PM)John Galt Wrote:  With respect to Mr. Meheut's wp34sflash program, the reason it doesn't work is obvious. What it sends is completely different and bears no resemblance to what MySamBa sends. What it does, and what I have not been able to observe MySamba doing, is to vary the bitrate from the first transmission to the fourth (it sends four before giving up). The hard work in porting MySamBa's essential functions to the Mac is surely done though, and if he would be so kind to point me in the right direction for its source, perhaps I could make that program work.

The source code is in SourceForge (https://sourceforge.net/p/wp34s/code/HEA...nk/QtFlash) but you should know that:
- it has been written by looking at MySamba source code and converting it
- I've written some tools to check that I was sending the exact same thing as MySamba
- it works more reliably on Windows & Linux than on OSX

Of course, I may have missed something obvious and you are more than welcome to have a look at it: some people helped me to test it but as far as I know, nobody else tried to debug it.
Find all posts by this user
Quote this message in a reply
01-26-2015, 08:26 PM
Post: #114
RE: [WP-34S] Cable and flashing options for Mac users
Thank you Pascal! I will do that.

I really appreciate you starting that project, that's the hardest part. There's no way I would have had even that amount of motivation.
Find all posts by this user
Quote this message in a reply
01-30-2015, 03:26 AM
Post: #115
RE: [WP-34S] Cable and flashing options for Mac users
some more finished product pictures...

I decided to forego Jebem's Reset LED, for no other reason than I ran out of the panel mount LEDs I had in stock. That left a lot of empty board space.


Attached File(s) Thumbnail(s)
                   
Find all posts by this user
Quote this message in a reply
Post Reply 




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