From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,fcd0ac136c3a2795 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.glorb.com!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Charmed Snark Newsgroups: comp.lang.ada Subject: Re: USB Boarduino on AVR-Ada Tutorial Date: Thu, 2 Sep 2010 16:11:40 +0000 (UTC) Organization: The Snarky Insanitorium Message-ID: References: <4d1d662b-f476-41e4-938c-0564ad90d74e@d17g2000yqb.googlegroups.com> <8bfbd728-638e-4d27-b52e-0107c6b2847d@i31g2000yqm.googlegroups.com> <1db702dd-3289-4e76-98fe-08ab4bae38e1@v8g2000yqe.googlegroups.com> <3be87447-5b06-4fcc-a0ed-7037659b81a5@m1g2000yqo.googlegroups.com> Injection-Date: Thu, 2 Sep 2010 16:11:40 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="9f8M0iN5t54V+4DF/iqO8g"; logging-data="19591"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+FAyWE/0WeNF9MEqQKwkXjBOS4Uk7nqZc=" User-Agent: Xnews/5.04.25 X-Face: &6@]C2>ZS=NM|HE-^zWuryN#Z/2_.s9E|G&~DRi|sav9{E}XQJb*\_>=a5"q]\%A;5}LKP][1mA{gZ,Q!j Cancel-Lock: sha1:dnGcLgDuqWklg45qa7JNZqtgcQA= Xref: g2news1.google.com comp.lang.ada:13913 Date: 2010-09-02T16:11:40+00:00 List-Id: b.robinson.jp@gmail.com expounded in news:3be87447-5b06-4fcc-a0ed- 7037659b81a5@m1g2000yqo.googlegroups.com: > Thanks for the suggestion. > > I do have the right chip number (I verified it on the surface of the > IC too), and I do have the right IO port and pin number (verified with > the C program). The C version compiles and runs as expected, so I > think I'm going to have to study the bootstrapping process and get my > hands wet. Another thing you can try is to code your own delay loop. Just do something in a loop that doesn't get optimized away (sometimes tricky). Then if it works with your delay routine, you know something is up with the called on. You might need the help of the: pragma Volatile(Variable); in your own delay loop. Otherwise, if you compile with -Os, you should be ok. Warren