free-dmo / free-dmo-stm32

Endless freedom for D.MO 550 series label writer printer.
GNU General Public License v3.0
166 stars 33 forks source link

How to debug for message: Unknown label detected #16

Closed malebuffy closed 2 years ago

malebuffy commented 2 years ago

Hi guys,

I received my bluepill with what it seams a STM32F103C8x chip on it. At least it looks legitimate.

20220527_195949

I tried both flashing the bin files and also compiling anf flashing the freedmo.bin. Wire connections are OK, I am using the 4.7k resistors as well in order to be able to recognize different spools. I have the 5xl which according to the comments should work.

After flashing, I connect the bluepill to the printer and when I switchit on it says: Unknown Label Detected

2022-05-28 08_04_43-

No matter which Bin I flash, same thing. Do you have any tips for me how to debug? I am getting kind of desprate...

Thanks for any feedback

malebuffy commented 2 years ago

Checked all the pins, checked connections. All good. Can it be that because I am using the latest Dymo Software v1.4.3.131 that they blocked the UIDs? Anyone has an older version I could try?

dtomcat commented 2 years ago

Does it work with genuine labels? If not, it has to be the blue pill… or the wiring. I would start with wiring (which you said you checked). But make sure the pin order is the same. And right PIN number on blue pill. Also make sure the right end goes to the right board. If all is good there… try flashing the STM Again?

dtomcat commented 2 years ago

75D11209-D644-4997-9953-B62D93F5A8B9

also ensure jumpers are right

malebuffy commented 2 years ago

Hi, first of all thanks for your reply. I really appreciate it.

I have a genuine roll inside, as soos as I switch it on, power flashes and reacts as if the roll is not genuine. I checked wiring with a multimeter for continuity and also flashed all BINs available. Pins are exactly as in the instructions so no issue there. What do you mean with jumpers? Do you mean resistors? (your arrows are pointing to the resistors). They are 4.7kOhm.

dtomcat commented 2 years ago

Sorry. That is the photo from the readme. I mean the black jumpers

dtomcat commented 2 years ago

151F6A4D-FFD1-4517-955A-F1692D0CBADB

malebuffy commented 2 years ago

Oh sorry, silly me! Yes, the jumpers are like this. I never touched them.

dtomcat commented 2 years ago

Then I’m at a loss. Sorry. I’m trying to troubleshoot the behavior on the 5XL…. But the author has gone silent. I created another board with longer leads to help troubleshoot, but unfortunately I think the author isn’t interested since it works for him (I don’t blame him)

malebuffy commented 2 years ago

No problem. So does it work on your 5XL? Do you use an original STM32 or some clone?

dtomcat commented 2 years ago

Works. Not the same as author… but functions in a favorable way. I updated my fork with the functionality on 5XL…. I’ll link it in a min

dtomcat commented 2 years ago

D54B411C-EB48-4BC3-BEAB-8852D30CA9DA

This is the change for me. Without troubleshooting, this is how it works for me… but is ok for me as I don’t change labels frequently

malebuffy commented 2 years ago

I will try to build your fork and report back. BTW do you use original STM32 or clone?

dtomcat commented 2 years ago

My fork is basically the same… just added a new label. And updated the readme.

As far as I know… it’s original. But cloners are good!

malebuffy commented 2 years ago

Nothings works. I am starting to think that I have a fake STM and somehow the peripherals are not correctly cloned. I removed the resistors and disconnected the RFID part, still receiving an error. Sadly not easy to debug like an arduino for exampl3 where you just read from serial monitor.

I have ordered a new one to see if I have better results.

malebuffy commented 2 years ago

Fixed it! It was a bad board. I used another one and remade the connections. It works now without the resistors and the RFID board, but I will try that in the evening and report back!

malebuffy commented 2 years ago

I did it. Board was the culprit. Bad luck I guess. I can confirm the same behaviour when I have an original roll in. I have to power cycle.

malebuffy commented 2 years ago

Thanks to dtomcat for the support and to the author for the mod.

dtomcat commented 2 years ago

No worries. I figured it had to be a bad board if everything else i mentioned was good. Glad you got it working. And good to know yours functions same as mine. So must be a timing issue (difference between 550 and 5XL)