1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  3. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  4. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

AMC 1.5 - missing device or unknown device -24

Discussion in 'SimTools compatible interfaces' started by Jeroen, Feb 7, 2009.

  1. Jeroen

    Jeroen DoctorXeno

    Joined:
    Oct 3, 2007
    Messages:
    121
    Location:
    Holland
    Balance:
    - 69Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Hi,

    I know i'm almost there, but there seems to be a problem with recognizing the atmega 8535.
    Everything goes well untill I click the read-button. The red led is on while attempting to connect
    to the amc, then I get the message missing device or unknown device -24.

    What can this be? Is it a bad connection on the amc?

    gr. Jeroen
  2. egoexpress

    egoexpress Active Member

    Joined:
    Dec 13, 2006
    Messages:
    3,839
    Location:
    Germany - Frankfurt/M
    Balance:
    421Coins
    Ratings:
    +10 / 1 / -0
    Re: missing device or unknown device -24

    It is most likelly a cold solder spot, a shortcut, or a backwards placed part. Or perhaps the wireing is wrong. Please make high res pics of your AMC (both sides). Use a scanner if you have one available.

    regards
    Christian
  3. Jeroen

    Jeroen DoctorXeno

    Joined:
    Oct 3, 2007
    Messages:
    121
    Location:
    Holland
    Balance:
    - 69Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Re: missing device or unknown device -24

    Hi,

    Here are 2 pics of the amc1.5...

    amc1.5 1.jpg
    amc1.5 2.jpg
  4. Michael N.

    Michael N. Member

    Joined:
    Dec 27, 2007
    Messages:
    274
    Location:
    Germany, NRW, Düren
    Balance:
    611Coins
    Ratings:
    +5 / 0 / -0
    Re: missing device or unknown device -24

    I had the same Message with my ATMEGA. Did you try a another Crystal?, which Crystal are you using?. For example my ATMEGA wont work with a 24MHz Crystal, so i downgrade the Crystal to 22,18 MHz and it had worked. But you must use the correct firmware for each Crystal ;) .
  5. Jeroen

    Jeroen DoctorXeno

    Joined:
    Oct 3, 2007
    Messages:
    121
    Location:
    Holland
    Balance:
    - 69Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Re: missing device or unknown device -24

    Hi,

    Tried all 4 crystals. Same message.

    Can it be a software problem?

    gr. Jeroen
  6. tronicgr

    tronicgr

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    Re: missing device or unknown device -24

    Hi,

    I have a question. You told us you have Vista64. Is your account is the administrator's one? And I don't mean you having a account with administrators rights...!

    <a class=postlink-local href=http://www.x-simulator.de/forum/howto-vista-and-x-sim-t1213.html target=blank>howto-vista-and-x-sim-t1213.html</a>

    Maybe Vista doesn't allow ponyprog to control directly the com ports...


    And last, if everything else fail, pay a visit to a friend that still has winXP and use his PC to program the firmware... This will confirm if the problem is on software or hardware...

    Thanos
  7. Jeroen

    Jeroen DoctorXeno

    Joined:
    Oct 3, 2007
    Messages:
    121
    Location:
    Holland
    Balance:
    - 69Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Re: missing device or unknown device -24

    Hi,

    Ok... re-installed xp 32 bits on my old computer. I installed the converter software and ponyprog2000. All went well...
    I plugged the amc1.5 in and tried to read out the atmega. No succes... Still getting the
    device missing -24 error.
    Both chips are powered... measured the pins.

    What to do now? Does this mean that it is a hardware problem?

    gr. Jeroen
  8. Jeroen

    Jeroen DoctorXeno

    Joined:
    Oct 3, 2007
    Messages:
    121
    Location:
    Holland
    Balance:
    - 69Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Re: missing device or unknown device -24

    Hi,

    The atmega8535 was broken. Got a new 1 and now everything works ok. Installed the 22mhz hex file.
    Program succesfull.

    But now in the display the 3th and 4th numbers keep on changing automatically without and with a
    potmeter. Is this normal?

    gr. Jeroen
  9. egoexpress

    egoexpress Active Member

    Joined:
    Dec 13, 2006
    Messages:
    3,839
    Location:
    Germany - Frankfurt/M
    Balance:
    421Coins
    Ratings:
    +10 / 1 / -0
    Yes, pwm generated jamming Imo.
    When my AMC is powered, I even have trouble to hold a stable BT connection with my mouse :D
    But never mind...

    However, you should keep the pot cable lenght as short as possible, and use shielded ones (e.g shielded audio cables) to reduce the noise. Use the cable shield as GND wire then.

    Gruss
    Christian
  10. egoexpress

    egoexpress Active Member

    Joined:
    Dec 13, 2006
    Messages:
    3,839
    Location:
    Germany - Frankfurt/M
    Balance:
    421Coins
    Ratings:
    +10 / 1 / -0
    Btw, congrats that your AMC is working :thbup:
  11. tronicgr

    tronicgr

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0

    :lol: :lol: Its true that PWM produces much electromagnetic noise!! I even lose my wireless connection sometimes!!!! Its made to work as DIY hobby device, not to pass EMI tests!!!!! :rofl:
  12. egoexpress

    egoexpress Active Member

    Joined:
    Dec 13, 2006
    Messages:
    3,839
    Location:
    Germany - Frankfurt/M
    Balance:
    421Coins
    Ratings:
    +10 / 1 / -0
    A Faraday cage could help :D
  13. Jeroen

    Jeroen DoctorXeno

    Joined:
    Oct 3, 2007
    Messages:
    121
    Location:
    Holland
    Balance:
    - 69Coins
    Ratings:
    +6 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    Hi,

    Yes thanks ego... and thank you guys for all the help and Thanos for his
    design and guidelines. I am not there yet...

    Do not actually know at this point how to proceed... The next thing to
    do is connecting the h-bridge, motors and potmeter?

    And I do not know what the hyperterminal software is for... :?

    gr. Jeroen
  14. Michael N.

    Michael N. Member

    Joined:
    Dec 27, 2007
    Messages:
    274
    Location:
    Germany, NRW, Düren
    Balance:
    611Coins
    Ratings:
    +5 / 0 / -0
    Have you read the PWM AMC15 Manual ?, and look at the first Page from Thanos AMC Motion Thread.
    You need the Hyper-Terminal Software to change the KP-Paramter of the AMC Board. You find the Hyperterminalsoftware from Windows under (in German) Start/Programme/Zubehör/Kommunikation ;)

  15. egoexpress

    egoexpress Active Member

    Joined:
    Dec 13, 2006
    Messages:
    3,839
    Location:
    Germany - Frankfurt/M
    Balance:
    421Coins
    Ratings:
    +10 / 1 / -0
    Whereas KP = proportional constant

    The proportional constant is the smoothness. You can reduce the smoothness to a point, where the acutaotors start to jitter, due to the dancing pot values.
    The best setting depends on individual factors like mass inertia of your simulator and the quality of your pot setup. But the KP-value is just for tweaking. You dont need to test-drive your simulator.
    So forget the hyperterminal, until your simulator is working.

    Regards
    Chrsitian
  16. cauehawaii

    cauehawaii New Member

    Joined:
    Apr 16, 2009
    Messages:
    85
    Balance:
    3Coins
    Ratings:
    +0 / 0 / -0
    hello,
    I am having the same problem device missing or unknown device. I have two boards and both of them have the same message.
    I really hope I don´t have my ATMEGA broken. Also, I am using a 24mhz crystal.

    thanks in advance for any help. My DYI post is at basic-2dof-configuration-and-faq-t1555-20.html

    regards
    Caue
  17. tronicgr

    tronicgr

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
    I already answered you here: post16248.html#p16248

    Please keep the conversation about your issues in one thread, the one you started it. Spreading it around will make it hard to follow.

    Regards, Thanos
  18. cauehawaii

    cauehawaii New Member

    Joined:
    Apr 16, 2009
    Messages:
    85
    Balance:
    3Coins
    Ratings:
    +0 / 0 / -0
  19. speedy

    speedy Well-Known Member

    Joined:
    Feb 1, 2012
    Messages:
    1,193
    Location:
    Alexandria , Egypt
    Balance:
    7,939Coins
    Ratings:
    +1,287 / 10 / -0
    My Motion Simulator:
    3DOF, AC motor, Arduino, Motion platform
    Hi Thanos ...
    Good day every one ...

    I'm making an AMC1.5 motor motion-controller and trying to program ATMEGA853516PU using standard com1[112500_8_none_1_none] from the back of a tower computer ...using the modified configuration.ini with ponyprog2000 ...

    I have a local cheep source for this series and tried the following on 5 ATMEGA's till now :eek: ... one per day


    -for the first three IC's ...
    When it is first power up ... I press the read for the security bits and it replied with the stander shipped configuration ...
    modified the first one as your video [ SUT 11 & CKSEL 1110 ]then press write ... then the error comes out (missing device -24 ) ...
    modified the second and third as ponyprog manual [ SUT 11 & CKSEL 1111 ] changing the I/O port setup between [SI Prog I/O] and [SI Prog API] then press write ... then the error comes out (missing device -24 ) :uups:

    -The forth and fifth IC's from the same store as before...
    I only pressed read of configuration then programmed it directly with your 22Mhz firmware and successfully programed ...
    :yippiee: IT started and displayed the numbers of the x,y axis and the firmware information and version on LCD ...
    with a slow motion or bad LCD refresh rate ...
    also tried to connect to it with the hyper-terminal and the LCD displayed TIP:something I don't remember

    I downloaded the datasheet for this IC and correct me if I'm wrong found that it's initially running on 1MHz and can be run on internal clock up to 8MHz by changing the CKSEL3..0 according to a specific combination [ 0100 ] in table9. page 29 of 321page datasheet :yes: ... I did and it worked faster :yes: ...

    I tried to understand your sittings for thees CKSEL how they work ? but :blush:
    tried your sittings again and the error comes clearly on both IC's ... dead

    I'm using a 22.1184MHz or 16.000MHz XTAL on a socket and a soldered 20PF capacitor for external oscillator ...
    I've checked my home made PCB against the sun & with an AVO meter on 1x and mega ohm scales for every track for leakage and washed it out with AKAI cleaner :?
    I'm really surprised of other people getting there Atmega's working from the first time . :cheers:
    I feel I'm missing something ... :?
    or I'm circulating in the wrong aria ?

    Please advice ...
    Boody
  20. Bruceaust

    Bruceaust Member

    Joined:
    Sep 2, 2011
    Messages:
    73
    Occupation:
    CNC Routing
    Location:
    Launceston, Tasmania, Australia
    Balance:
    63Coins
    Ratings:
    +11 / 0 / -0
    My Motion Simulator:
    2DOF
    Hi,

    I am having similar problems with the device unknown error whem trying to load te program into the AVR.
    I am experienced at normal electronics but have not experimented much with micro controllers. I am skilled at manufacturing and soldering PCBs , so I am reasonable certain my board soldering and components are OK ( I've checked many times :) ) So the difficulties I am experiencing are due to not knowing what is required. If someone can help please do as I am sure there are others who are bumbling around like me, and of course the others who have submitted on this thread.

    I suppose a good place to start from me is to ask a few obvious questions and statements that are not so obvious to me.

    1. My 8535 data sheet says that the chip can be clocked from 0 to 16mhz . Does this mean it cant be overclocked?
    2. I tried 24mhz - did not work and produced device unknown error. I replace the Xtal with a 16mhz and 22pF cap - produced device unknown error. I do not have a CRO so I can only assume the oscillator is working ( I have tried various Xtals)
    3. I have made the connecting board, as per the video, to connect the programming port to the controller. The connections required are MOSI, MISO, SCK and GND ?? and the 3 jumpers removed next to the MOSI,MISO,SCK socket??
    4. Because I have gone back to a 16 mhz Xtal, does this mean that I cannot use any of the Hex flash firmware - as the is not a 16 mhz file listed . Or can I use the 14mhz file??

    Everything Looks really good, its just that I cant seem to get it to work. I think - a common problem that some of us are having.