26

Re: DaVinci Junior cartridge reset

the lock bits aren't write protected

27

Re: DaVinci Junior cartridge reset

The good news: I was able to successfully, permanently lock my original NFC tag that came with the starter spool.

The bad news: That card is already marked as empty. I have another spool that I'm about half way through but I don't have the balls to risk my last spool of filament.

If anyone wants to try it, I downloaded an NFC write app from NXP on my wifes samsung galaxy s4. My motorola droid mini was able to read the tag but couldn't seem to write to it. It has the ability to lock NFC tags and ntag213 is supported.

28

Re: DaVinci Junior cartridge reset

I have an app called NFC tools with a lock option. I will wait until my second spool is down to only a few meters and try it. If it works it should allow me to print unlimited even with only a few meters left on the spool as long as it can't write to the card and tell it is empty.

29

Re: DaVinci Junior cartridge reset

Nice! keep us posted!

30 (edited by HyruleJedi86 2015-06-26 03:40:39)

Re: DaVinci Junior cartridge reset

So I'm trying to lock the tag but it fails with NFC tools and the app you used crashes when I try to use it. I'm not sure what other app to use now. How did you verify the tag was locked?

I had a second thought today. What if the printer doesn't write anything to the chip at all. Maybe each chip had a unique serial number and the internal memory of the printer just stores which chips have been used and how much filament was used on each chip. Putting the partially used chip back in simply tells the printer which spool it was and it remembers what was left on it....  I started thinking this because all the apps I've used to read the chips just say they are blank.

31

Re: DaVinci Junior cartridge reset

I went back and forth between nfc tag writer and nfc tools but I cant remember which one. I do know that my phone wouldn't write to the tag but my wifes did. I was able to confirm the lock because all of the apps I used told me that my tag was writeable before I locked it.

I've grown tired of my yellow roll, I'm a decent ways through it. I wanna squeeze out a couple more prints then I'll lock the tag this weekend.

I've had similar thoughts about the printer just using the serial number of the tag, but it has to contain information about the material type doesn't it? I guess thats handled by xyz ware, have we tried any blank nfc tags?

32

Re: DaVinci Junior cartridge reset

have to forgive me im only going off conceptual ideas here. But when exactly does the updated data get written to the card?

how does the information exchange between the printer and the NFC chip get authenticated?

The NFC chip itself might be passworded to prevent editing or breaking but is there a way to spoof the authentication to the printer?

you could then have the printer try and write new data to a non existant chip but then spoof the message of " thankyou data recieved" so that the spool itself never becomes updated with new info.. it just constnatly thinks its a full spool?

SD2 - mirror bed - e3d v6 - extruder cooling fan - no enclosure.

33 (edited by HyruleJedi86 2015-06-26 13:31:18)

Re: DaVinci Junior cartridge reset

I'll try locking the chip again with my wife's phone. Maybe it will have better luck than my phone. Let us know what happens when you lock your yellow filament chip.

E13, when you get a chance I'd like to see something you printed with the yellow. I've been curious how it looks printed.

34

Re: DaVinci Junior cartridge reset

hi i am up to mine last 30 mtrs off black

when i come to let say 5 mtrs  i am willing to try to lock it

what app should i download on mine samsung S3 ?

35

Re: DaVinci Junior cartridge reset

I had a second thought today. What if the printer doesn't write anything to the chip at all. Maybe each chip had a unique serial number and the internal memory of the printer just stores which chips have been used and how much filament was used on each chip. Putting the partially used chip back in simply tells the printer which spool it was and it remembers what was left on it....  I started thinking this because all the apps I've used to read the chips just say they are blank.

that would be nice  so that we can exchange chips with each other ....

36

Re: DaVinci Junior cartridge reset

marcoooo wrote:

hi i am up to mine last 30 mtrs off black

when i come to let say 5 mtrs  i am willing to try to lock it

what app should i download on mine samsung S3 ?

The two apps we've been talking about are the only two I've found so far that can Lock a chip are called "NFC tools" and "NFC Tagwriter" the problem is it seems that they fail with some phones.

I tried this again with my wife's phone and the same result happens as my phone. I tried it with an empty chip and one that has 3 meters left, nether worked. But when I put the empty chip in the printer it acts like it doesn't recognize the chip eventhough all of the changes I tried failed. So I don't know if this is because it is empty or because something did change on the chip.

37 (edited by e13jimenez 2015-06-28 00:17:26)

Re: DaVinci Junior cartridge reset

Update: Hey guysI just locked the tag that came with my yellow spool. I was expecting it to mess something up but I'mover this yellow color so I figured 'why not?' I locked it using the NXP tagwriter app. It successfully locked and I was still able to initiate a print. I'll let you guys know what happens.

When I tried to use my near-empty card it acted like it wasn't there.

Also, I attached a photo of what yellow prints turn out like. TBH I'm kinda over the whole translucent filament look I'd love it if they offered opaque varieties. Because its transparent, I feel the yellow looks kinda off similar to a flourescent hiliter

http://soliforum.com/i/?pcRQ1No.jpg

38

Re: DaVinci Junior cartridge reset

Thank you for that update! Just to clarify which card were you referring to when you said your near-empty card? The yellow one you just locked or a different one? I'm assuming you mean a different card so I wonder why it doesn't recognize it.

I just emptied the another white one that I've been trying to lock to see if it worked and it didn't work for me yet but then again the App keeps crashing before it can lock it. Once I put an "Empty" card back in it says it doesn't recognize the card anymore.

e13, The best way to test at this point would be to check how much filament it thinks is on the spool of yellow you just locked and print something that uses a couple meters. Once it's done printing go back to the info option and see how much filament it says is left. If it's the same number as before it looks like it worked but if it is a lower number then it didn't work. This should be something you could test in a few hours or less with a small to medium print.

39 (edited by e13jimenez 2015-06-28 07:07:33)

Re: DaVinci Junior cartridge reset

I apologize for the ambiguity. When I ran out of my first roll I had less than a meter left and when I tried to use it again the printer didn't even recognize it.

I'll run a print tonight and update you guys tomorrow with the results. Cross your fingers!

update: I printed something small and it seemed to tick down one meter. I'm going to keep an eye on the spool stats but it looks like it might be storing spool information internally. This may not be bad news. We're one step closer to figuring out how the filament system works.

40

Re: DaVinci Junior cartridge reset

If the spool info is stored inside the printer then we should be able to exchange the chips Correct ??

Also i wasnt able to lock mine chip

41 (edited by marcoooo 2015-06-28 08:55:12)

Re: DaVinci Junior cartridge reset

What i am now trying i have put a chip with 92 mtrs on it not in the case

But loose between the spool en the reader and started the print and then removed the chip he is still printing ..

I know in 3 hours if the chip is reduced or not ... fingers crossed

@@@ update  the print stopt with a message off a spool error message

              This means the chip is being updated while printing

42

Re: DaVinci Junior cartridge reset

Sounds like the next step would for someone to send another member a card that is empty and a card with 5 meters or less left on it and let them put it in their printer to see what happens.

It's starting to sound like it's going to take someone writing new firmware for this to work without the nfc chip needed. Unless someone can pull the password from the unit itself.

43

Re: DaVinci Junior cartridge reset

I doubt that the spool info is stored inside ...

It looks to me that the moment the spool info is reduced with 1 mtr the printer wants to write to the chip ..

If the info was stored inside then with the little test i did the chip should have reduced with 1 mtr  but it didnt

Lets hope that somebody can find a solution ...

44

Re: DaVinci Junior cartridge reset

:T I'm sure that the printer is checking to make sure there is a valid card in the spool and what record to write to. That's probably why you got the spool error. Otherwise we'd be able to start the print with the card, then pull it out mid print and be able to print forever with the same card.

I was able to lock my card and I can confirm that the spool length does still tick down as I run each print. I think we should try exchanging dead cards and see if they work.

45

Re: DaVinci Junior cartridge reset

Send me your adres and i will post mine empty chip

46

Re: DaVinci Junior cartridge reset

I have a feeling since the printer doesn't even recognize the chip anymore once it's empty that it writes something to the card to "Kill" it. So if were going to exchange cards I think an empty card and one with a couple meters left need to be exchanged so that it doesn't have a chance to "kill" the card. BUT since you locked the card e13, maybe if the printer writes something to the card once it reaches zero to "Kill" it, your locked card might not be able to be written to keeping it working... Just maybe

47

Re: DaVinci Junior cartridge reset

sad no dice. Not only did the printer kill my spool. I still had a few meters left on it :I. I'm gonna contact support because now I have a useless spool hmm I heard of a guy getting a free spool when he thought his card had gone bad. (it turned out that his printer had somehow knocked the NFC sensor loose over night due to a botched print)

48 (edited by ChunkLady 2015-08-05 09:28:04)

Re: DaVinci Junior cartridge reset

Just joined to follow up on this one. I just took my depleted filament, read it through my RFID RC522 reader for Arduino, and the output was

Card UID: 04 5F B9 2A 97 3C 80
PICC type: MIFARE Ultralight or Ultralight C
Page  0  1  2  3
  0   04 5F B9 6A
  1   2A 97 3C 80
  2   01 48 00 00
  3   E1 10 12 00
  4   01 03 A0 0C
  5   34 03 00 FE
  6   00 00 00 00
  7   00 00 00 00

(and then an error, since its crypted/protected).

I don't know how encrypted rfids work, but unless they send out separate signals depending on the input they get, it would be entirely possible to just fake the singal of a new filament, basically all the time, with a little arduino. All it takes is the RFID dump of a clean chip - and discarding all write attempts. Theres an off-chance the printer checks if the changes written, have been implemented, in which case, the new values from the da vinci jr. needs to be accepted - if possible.

Edit (1)
My chip was on a filament with color natural, 600g - came with the printer. The numbers printed on the spool itself is; printed on a label RFPLCFGBP3ZTH53S0044 - and handwritten on a label 50740120202.

Edit (2)
As I understand it these chips can actually lock out any continuous attempt at password guessing. In the hope that it does not, I have (or I think I have, if my code is correct) at the moment tried the first 16.581.375 combinations (0xff 0xff 0xff 0x0 0x0 0x0 0x0 0x0 0x0) by shear brute force - no luck. Problem is of course, that brute forcing took ~8 hours on the Atmega328 - it has to be repeated 4.228.250.625 times - which is longer than I will (probably) live. I might attempt another 16 mil combinations, with just random number-generating instead.

One way of guesstimating the passphrase, would be, maybe, to sniff the traffic coming from the Da Vinci Jr printer itself. Alas, I do not know how to do this at the moment.

Edit (3)
My guess is that the Da Vinci firmware has some kind of master password, which is seeded with the ID of each unique RFID. In other words, even if I get the key from mine, it will probably not work for anyone else.

Also, theres the off chance, that the firmware stores RFID-tags and their "last known size and usage" to prevent spool-meters to go up again - which in turn, would mean the passphrase either needs to be found, or the memory containing the RFID-tags, erased for each machine.

49

Re: DaVinci Junior cartridge reset

This sounds like good progress but sadly, it has gone past my knowledge of computer programming. I won't likely be much help but I had a concern. Apparently Davinci uses specially formulated filament that melts at 190 whereas normal PLA melts closer to 205-210. Even if we do find a way to bypass the NFC issues can we even buy generic filament and expect it to work?

50

Re: DaVinci Junior cartridge reset

Well, I suppose we can. The 3w files are just base64 encoded special GCode files, with a few extra lines. So my guess is you can slice with whatever program you want (XYZWare seems horrible at slices sometimes), then change the few lines, up the temperature - and base64 encode it for davinci support.