276

Re: DaVinci Junior cartridge reset

Bringing my head from 190 to 195 seems to have gotten rid of some of the binding issues, I am not sure that it has improved my prints.

There are so many overlapping factors that I have to finish this one to see if it changed.

I dont have a point to argue with you with.

So let me get some data then we can start to make points.

Sorry to be so slow.

-C

277

Re: DaVinci Junior cartridge reset

I am not so sure that I want to have a discussion on dimensional accuracy.  Not at this point.

I want to use a filament that I can select.

And not get robbed.

Then we can argue step size and current.

-C

278

Re: DaVinci Junior cartridge reset

carl_m1968 wrote:
jakecrowley wrote:

While fooling around in the XYZWare software, I found a 'Firmware Upgrade' button where you can select a BIN file to be put onto the printer. Since someone already released the firmware file, can you decompile it, remove the spool check bit, then write it onto the printer?

Also, here is a link to the latest firmware.
https://drive.google.com/file/d/0B76NYU … sp=sharing

The stock firmware cannot be decompiled without knowing the one of a multitude of methods it could be compiled by. If it could be done, it would have been done with the other older Da Vinci models instead of porting Repetier to them.

A decent disassembler could still cope with parts of it, and I don't think a stock check should be hard to circumvent, given we have a proeprly disassembled firmware.

On the other hand the bin file does seem to be encrypted. It contains some repeating 16 byte segments, so I guess AES with ECB. Haven't tried to check whether it uses the "classic" password used in encrypting the 3w files yet though

279 (edited by pat.vdleer 2016-01-13 16:08:53)

Re: DaVinci Junior cartridge reset

Hey Guys, I'm new to this, just bought my Junior less than a week ago.

I am however a programmer, have a number of arduino's, raspberries, cellphones with NFC/RFID and what not at my disposal. I'm still using the filament that came with the Junior which I'm half way through and a new black one. I did not upgrade the firmware, it is still stock, where it came with out of the shop.

What can I do? Either for me or others to help you guys.

280

Re: DaVinci Junior cartridge reset

To get the repetier port working on this thing we need a pin trace on the mainboard. If anyone can help out with that it'd be great. I was working a bit on it - got 1 pin traced before my wife found out what I was doing and made a scene about "Jeez! I got you that printer just a couple weeks ago and already you're taking it apart!?" I tried explaining, but, well, the long and short of it is, I'm out for now.

On the upside, the board is only double-sided - no multi-layer. So that should make it slightly easier. If someone has the ability to sniff the chip in-situ while it's running I think it'd go a lot faster than just a visual trace. Depending on the situation, I'll probably be able to get back to tracing in a few weeks (fingers crossed).

Anyway, thanks for all you guys are doing! Hope this thing can get licked soon!

281 (edited by c4pt1n54n0 2016-01-13 18:33:49)

Re: DaVinci Junior cartridge reset

Seems like it will be for nought very soon. Xyz has unveiled the DaVinci Mini this week at ces, as well as a new generation of their current printers as well as some pro level jet printers. Theres absulotely no info yet, other than one YouTube interview at the ces booth, but its mentioned that it is meant to replace the Jr's spot in their lineup, the new Jr's sound even better. The Mini has the same build volume as the Jr, 30% smaller footprint, and the spool sits on the outside, which makes it look like no more filament drm either. All this for apparently $269 USD. I dont know about all of you, but I'd rather save myself the trouble before hacking and be able to sell it as still having a warranty in a month when I can get a Mini, buying maybe another one or two double priced spools in the meantime. Hey, its still better than stratasys, that I was told charges my old tech school $400/spool, and it's just normal ABS.

282

Re: DaVinci Junior cartridge reset

Just a note to all your guys trying to save your so called warranty.. I have said this before but speaking from an experience. In the off chance something happens to your printer that is beyond your ability to repair or acquire parts for XYZ will make you ship the entire printer back to Taiwan at your expense for a warranty claim. Then they will simply send you another one that has been half way repaired like they will do yours when they receive yours.

There is a reason for their low cost. That is low quality and low overhead as they do not stock extra parts for repair. The only parts you can get without an act of congress and a month long chain of emails are those that ore listed on their store.

So seriously consider if such a warranty is even worth the hassle of saving when you are deciding to mod or explore.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

283

Re: DaVinci Junior cartridge reset

c4pt1n54n0 wrote:

Seems like it will be for nought very soon. Xyz has unveiled the DaVinci Mini this week at ces, as well as a new generation of their current printers as well as some pro level jet printers. Theres absulotely no info yet, other than one YouTube interview at the ces booth, but its mentioned that it is meant to replace the Jr's spot in their lineup, the new Jr's sound even better. The Mini has the same build volume as the Jr, 30% smaller footprint, and the spool sits on the outside, which makes it look like no more filament drm either. All this for apparently $269 USD. I dont know about all of you, but I'd rather save myself the trouble before hacking and be able to sell it as still having a warranty in a month when I can get a Mini, buying maybe another one or two double priced spools in the meantime. Hey, its still better than stratasys, that I was told charges my old tech school $400/spool, and it's just normal ABS.

it still has drm. the women said the pro was the only one without it

284

Re: DaVinci Junior cartridge reset

Another new user jumping into this effort!

Picked up my Jr right after the holidays with an open box discount.  Fortunately, it appears nothing important was removed from the box.  Since this is my first effort into 3D printing, I was interested in getting the least expensive equipment that was reasonably proven (i.e. I wouldn't have to build/debug myself).  From reading on the subject, there's a LOT to working through the details of successful 3D printing even when the hardware is otherwise doing what it's told.  And, after a few weeks, I can confirm that's the case! 

I'm very impressed with the large amount of progress in a short time.  I too have Arduino sheilds and Saleae hardware ordered and, if you believe them, "in the mail".  I'm interested to see if I can repeat the previous steps of recording the password information and re-writing the NFC card.  Like a previous poster, that's the first thing I'd like to nail down before looking into updating the firmware.  This should open up the ability to choose from an array of different filament colors.  And, at a cheaper cost. 

c4pt1n54n0, the mini sounds like a neat machine.  But, I wouldn't put money on the fact they're getting rid of the drm.  XYZ appears to have/want this as their basis of operation.  I noticed none of the press releases for those machines indicated one way or the other.  Guessing that means business-as-usual.  Also, if we can find ways to upgrade the existing Jr models, how nice would it be to find deeply discounted "old Jrs" as people upgraded to the new ones.

285

Re: DaVinci Junior cartridge reset

johnboyjr wrote:

it still has drm. the women said the pro was the only one without it

I was curious. I recall that the pro shared the same motherboard as the Jr, is there any possibility of the DRM free pro firmware working on the JR. I know the bed works differently, moving on the z axis instead of y.

Any thoughts?

286

Re: DaVinci Junior cartridge reset

By chance, has anyone backed up the stock firmware from their Jr? I did the update when I first started it up and now would like to try and put it back to what it came with.

287

Re: DaVinci Junior cartridge reset

0x6e657762 wrote:
johnboyjr wrote:

it still has drm. the women said the pro was the only one without it

I was curious. I recall that the pro shared the same motherboard as the Jr, is there any possibility of the DRM free pro firmware working on the JR. I know the bed works differently, moving on the z axis instead of y.

Any thoughts?

But would the programming be different anyway? The motors are assigned by axis not what they're connected to right? The z motor moves the gantry up and down instead of moving the bed up and down, and the y motor moves the bed forward and back instead moving the gantry forward and back.

288 (edited by F4S4K4N 2016-01-15 13:57:37)

Re: DaVinci Junior cartridge reset

Not sure if we knew this or not, but there is an  NXP LPC115F MCU (ARM Cortex M0) that connects physically to the NFC header. The NFC header's data pins do not connect to the Atmel MCU as far as i can tell.

So this little NXP MCU is probably whats handling all of the NFC stuff. The firmware might contain code for both MCU's, which is why it might look weird. If both images are in a single bin, we are looking for a 64K image. It's also possible that this chip is hard coded and the firmware does not write to it.

Regardless i think we could easily sniff the traffic between the NXP chip and the Atmel chip and could reprogram the NXP chip to always repond in a specific way.

Just a theory.


EDIT: Did some more research... First grab one of these https://www.adafruit.com/products/1369

Then dump the NXP chips memory contents, should be able to get RAM and Flash with the J-Link. Next look for spots that are sending / reviving data out of the memory addresses associated with the pins connecting the LCP to the Atmel chip. I wonder if XYZ is encrypting traffic between the two chips or just sending raw bytes.

If it's raw bytes just use the J-Link to program the NXP chip to always return 100. In fact this would make a lot of sense as to why you cant upgrade the firmware from the SD slot and that the firmware doesn't count decimals. The NXP chip is probably limited to one byte responses, so no decimals and 255 would be the highest.

289

Re: DaVinci Junior cartridge reset

This is gonna sound dumb...

but Amiibo use a NFC chip very similar to the Jr...

There is a device called a Amiiqo that can essentially clone and function as said amiibo... Would it be possible to clone a NEW da vinci chip using this device... then just simply keep resetting it when the "spool" runs out?

290 (edited by crcasey 2016-01-16 02:15:32)

Re: DaVinci Junior cartridge reset

reluttr wrote:

This is gonna sound dumb...

but Amiibo use a NFC chip very similar to the Jr...

There is a device called a Amiiqo that can essentially clone and function as said amiibo... Would it be possible to clone a NEW da vinci chip using this device... then just simply keep resetting it when the "spool" runs out?

Not dumb, but it is not greatly different than just writing the captured data back to the RFC in the spool.

You are still going to have to sniff the password for the NFC chip off the I2C buss, use that password to unlock and dump the RFC data to your computer, then use that data to program the Amiiqo, then replace the Jr's NFC chip with the Amiiqo.

I think that is one step further than just writing the data back to the Jr's RFC chip.

But if we could decode how the password is generated from the static unprotected data on the Jr NFC then the Amiiqo would become much more useful.

-Cecil

291

Re: DaVinci Junior cartridge reset

crcasey wrote:
reluttr wrote:

This is gonna sound dumb...

but Amiibo use a NFC chip very similar to the Jr...

There is a device called a Amiiqo that can essentially clone and function as said amiibo... Would it be possible to clone a NEW da vinci chip using this device... then just simply keep resetting it when the "spool" runs out?

Not dumb, but it is not greatly different than just writing the captured data back to the RFC in the spool.

You are still going to have to sniff the password for the NFC chip off the I2C buss, use that password to unlock and dump the RFC data to your computer, then use that data to program the Amiiqo, then replace the Jr's NFC chip with the Amiiqo.

I think that is one step further than just writing the data back to the Jr's RFC chip.

But if we could decode how the password is generated from the static unprotected data on the Jr NFC then the Amiiqo would become much more useful.

-Cecil


The NFC Reader/Writer connects to the NXP MCU over UART. All we really have to do is find a way to disable from writing to the nfc. Well theoretically anyways.

292

Re: DaVinci Junior cartridge reset

F4S4K4N wrote:
crcasey wrote:
reluttr wrote:

This is gonna sound dumb...

but Amiibo use a NFC chip very similar to the Jr...

There is a device called a Amiiqo that can essentially clone and function as said amiibo... Would it be possible to clone a NEW da vinci chip using this device... then just simply keep resetting it when the "spool" runs out?

Not dumb, but it is not greatly different than just writing the captured data back to the RFC in the spool.

You are still going to have to sniff the password for the NFC chip off the I2C buss, use that password to unlock and dump the RFC data to your computer, then use that data to program the Amiiqo, then replace the Jr's NFC chip with the Amiiqo.

I think that is one step further than just writing the data back to the Jr's RFC chip.

But if we could decode how the password is generated from the static unprotected data on the Jr NFC then the Amiiqo would become much more useful.

-Cecil


The NFC Reader/Writer connects to the NXP MCU over UART. All we really have to do is find a way to disable from writing to the nfc. Well theoretically anyways.

Disabling it is not the way, as others have shown that locked chips are bounced.  It seems to write to the chip, and do a compare in the 'drawing' of the part.

What the best way does is let it write to the chip normally, and the tell the chip that is is back where it started after the whole printing is done.  The software does what ever it wants to.  We just tell the chip to be what it was before the print started.

293

Re: DaVinci Junior cartridge reset

Bootloader mode does not help for flashing?

294

Re: DaVinci Junior cartridge reset

c4pt1n54n0 wrote:

All of my issues with my Jr, sans "filament freedom" were solved after switching over to the advanced mode program file linked earlier. I can now set my travel speed, retract length and rate, hotend temp and it enables a gcode editor.…

I have been following this thread with interest, and I am grateful for all the time and effort you are putting forth to free up the Jr.

Regarding the advanced mode, can someone tell me if it is available in the Macintosh version of XYZWare, and, if so, how to access it?

Thanks.

295

Re: DaVinci Junior cartridge reset

This thread is very informative and helpful. One thing that got me thinking was the passwords. Do you really think XYZ is going to create a new password for every chip they sell, and how does the firmware know what password to use for each chip? Has anyone been able to read the data from a brand new chip?

It would be very interesting to know where the passwords are generated and if they get updated as the spool get used. Also, does each different color come with a standard password so the firmware can authenticate prior to printing?

Just some thoughts.

296

Re: DaVinci Junior cartridge reset

Just some thoughts. Can be chips  s/n be a password?

297

Re: DaVinci Junior cartridge reset

Bozotclown1970 wrote:

This thread is very informative and helpful. One thing that got me thinking was the passwords. Do you really think XYZ is going to create a new password for every chip they sell, and how does the firmware know what password to use for each chip? Has anyone been able to read the data from a brand new chip?

It would be very interesting to know where the passwords are generated and if they get updated as the spool get used. Also, does each different color come with a standard password so the firmware can authenticate prior to printing?

Just some thoughts.

There us plenty unencrypted info that can be used as a key for a password.  Finding out what it is is the hard part.

298

Re: DaVinci Junior cartridge reset

I understand that, but where is it generated. Does it already exist on a new chip or does it get created when a chip is used? How does the firmware know each password if it is already on the chip?

299 (edited by reluttr 2016-01-17 21:45:45)

Re: DaVinci Junior cartridge reset

Humm... another option is to sniff out what data is going from the reader assembly itself to the printer mainboard. Then just simply program a arduino to emulate that signal.

Because I am willing to bet that all of the authentication guff is done on the reader itself and all the mainboard does is send hard values to the reader.

300 (edited by c4pt1n54n0 2016-01-19 00:18:19)

Re: DaVinci Junior cartridge reset

Bozotclown1970 wrote:

I understand that, but where is it generated. Does it already exist on a new chip or does it get created when a chip is used? How does the firmware know each password if it is already on the chip?

Its encrypted using the same unencrypted data points within the code of each chip, which the software knows the locations of, but not us. (Basically its generated when the .bin or whatever is written to the tag in the factory.) Someone please correct me if thats off.