Tarcontar / ArduinoMDB

A arduino library to communicate with MDB slaves
17 stars 8 forks source link

LOGGER SHOW ERROR: WARNING: BV: STACKER ERROR AND WARNING: BV: TYPE ERROR #10

Open tomeroto opened 1 year ago

tomeroto commented 1 year ago

Hi friend,

Im using Bill Validator various models to test your project. Im using ICT and MEI MARS model. This is my configuration board:

config

But after run code, it show logger like this:

err_mdb

and the Bill Validator not enabled.

THank you for your help.

Tarcontar commented 1 year ago

Hi, could you show a screenshot how the logging of the setup sequence looks?

Von: Tongam Meyer Rogatman Tampubolon @.> Datum: Mittwoch, 20. September 2023 um 01:10 An: Tarcontar/ArduinoMDB @.> Cc: Subscribed @.***> Betreff: [Tarcontar/ArduinoMDB] LOGGER SHOW ERROR: WARNING: BV: STACKER ERROR AND WARNING: BV: TYPE ERROR (Issue #10)

Hi friend,

Im using Bill Validator various models to test your project. Im using ICT and MEI MARS model. This is my configuration board:

[Das Bild wurde vom Absender entfernt. config]https://user-images.githubusercontent.com/4737601/269115660-013eb506-87b4-46af-b911-e39fa1147ae1.png

But after run code, it show logger like this:

[Das Bild wurde vom Absender entfernt. err_mdb]https://user-images.githubusercontent.com/4737601/269115749-c284ff9f-85a9-4f21-8cd7-605134fe2fd0.png

and the Bill Validator not enabled.

THank you for your help.

— Reply to this email directly, view it on GitHubhttps://github.com/Tarcontar/ArduinoMDB/issues/10, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACM6TYRWL3QNMOC3EXHMOGDX3IQ5JANCNFSM6AAAAAA47ANFF4. You are receiving this because you are subscribed to this thread.Message ID: @.***>

tomeroto commented 1 year ago

Please open on github, I was included the screenshot of logging. It just says:

BV: STACKER ERROR WARNING: BV: TYPE ERROR

repeatly.

Tarcontar commented 1 year ago

Hi, I saw that. I just wanted to see the initial logging too. So right after you start it up.

Thanks

Von: Tongam Meyer Rogatman Tampubolon @.> Datum: Mittwoch, 20. September 2023 um 08:21 An: Tarcontar/ArduinoMDB @.> Cc: Michael Schnabel @.>, Comment @.> Betreff: Re: [Tarcontar/ArduinoMDB] LOGGER SHOW ERROR: WARNING: BV: STACKER ERROR AND WARNING: BV: TYPE ERROR (Issue #10)

Please open on github, I was included the screenshot of logging. It just says:

BV: STACKER ERROR WARNING: BV: TYPE ERROR

repeatly.

— Reply to this email directly, view it on GitHubhttps://github.com/Tarcontar/ArduinoMDB/issues/10#issuecomment-1727040846, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACM6TYQVHLOQY5VQFELT2ULX3KDOXANCNFSM6AAAAAA47ANFF4. You are receiving this because you commented.Message ID: @.***>

tomeroto commented 1 year ago

After Bill Validator is ON and I start Arduino Mega then show this message:

sss

Tarcontar commented 1 year ago

Hi,

unfortunately I do not have any device anymore to test this myself. I highly suggest you use a logic analyzer in order to check what is actually sent and received by the arduino. E.g. this one: https://www.amazon.de/AZDelivery-%E2%AD%90%E2%AD%90%E2%AD%90%E2%AD%90%E2%AD%90-Logic-Analyzer-gratis/dp/B01MUFRHQ2/ref=sr_1_1_sspa?crid=24VGWSDL1152C&keywords=saleae&qid=1695401848&sprefix=saleae+%2Caps%2C119&sr=8-1-spons&sp_csd=d2lkZ2V0TmFtZT1zcF9hdGY&psc=1

Also adding some debug output to see what is going on would be a good idea.

Regards Tarcontar

tomeroto commented 2 weeks ago

Hi I have the same problem but only when I use the serial 1 (RX1 TX1). When I use the sereal 2 or 3 evething work ok. I test the loopbak on tx rx and print out in the recive function of the uart.cpp and in the first case (RX1 TX1) it doesn't print, so the ISR on serial 1 not work. Do you have any idea why only on serial 1 not work interrup?

Thanks

can you give me the circuit/scematics?