This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C1230C3PM: HP Laser printer 203dn connected to USB ,Not enumerate by micro controller

Part Number: TM4C1230C3PM

Hi,

I am connecting laser printer HP laserjet M203dn  to TM4c123 controller via usb but it shows no printer means enumeration state is STATE_NO_DEVICE while another HP laserjet P1606dn printer detected .

i did not get the reason.Is it printer problem or my code? As my code is working fine for 2 laser printer.both are connected  high speed USB 2.0 to controller.

Please help me.

Regard

Priya

  • Priya Mehta said:
    connecting laser printer ...  to TM4c123 controller via usb ... shows no printer...

    Is that printer "known to work" when connected to a (more normal) USB Source?     How recently have you done such?

    If it does (still) work when connected to a PC - would it not prove useful for you to "spy upon" the communication?     It must be then that your "method or device" is operating in some different manner - is that not true?    

    Such is the obvious "first place" for you to commence your investigation.    

    You do not note if the Controller (now) employed is able to transact w/the (other) printer - that would be useful to know  - as well...    As always - more (and adequate) data trumps "no data."

  • hi,
    Actual problem i am facing is my controller detect HP laserjet P1606dn via USB interface,means my system enumerate that device is connected and usb enumeration is done with in 2 minute,but same controller and same code is not detected HP laserjet M203dn.STATE_UNKNOWN_DEVICE got .I did not get the difference of both laser printer and what happened with M 203 printer.

    Please help me.
    Regard
    Priya
  • Priya Mehta said:
    ...same controller and same code is not detected HP laserjet M203dn

    To be clear - by "same controller" (above) do you mean the same pcb used earlier - or the same "MCU" - but a different pcb?     That's an important distinction - not made (yet) fully clear.

    Priya Mehta said:
    Please help me.

    Have I not done that - already?     You were advised to "spy upon" the signals produced upon your "properly performing system."      And then repeat that "spying" upon the (new, failing system).     By simple "A-B" comparison then - differences should be recognizable - and may then be presented herein.      You've not (yet) done this - have you?     Thus you've failed to ENABLE we "helpers" to "Help you!" (further)

    Google "Wire-Shark" and/or other "USB Data Capture Methods" if you are unfamiliar w/such "spying."    

    Yours is more a "problem solving exercise" than MCU related - you MUST follow instructions and acknowledge the fact that "Help" has (already) been provided. (in some detail)    YOU must (now) "Help Us!"

  • Hi cb1_mobile,
    Thanks for suggesting "spying" actually i was totally unfamiliar with this.Now i will try this method of comparison.I want to clear that- i am using "same controller-TM4c123" and "same pcb" and "same code" for different HP laser printer .
    Thanks.

    Regard
    Priya
  • Thank you - that IS useful information. In such efforts - ALWAYS you must deploy "known good/proven" test devices - anything "new" proves suspect - you must LIMIT any/all unknowns! BTW - this is to "include" the identical USB cable - which (recently) worked during your earlier test.

    Spying upon the data transfer should prove revealing and will resolve "fastest/easiest" if you can establish operation w/that new printer via "normal PC means." Establishing a "known working mode" - and capturing (that) exact data - provides a (most) suitable "data model" for you to duplicate - when you switch to your "4C MCU." Good luck...