From: Matthias T. <mt...@we...> - 2007-05-01 06:48:21
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hans, Hans H=FCbner wrote: > I tried my display stuff with the trunk version, but it still crashes > once I unmask the interrupt. I am using an atmega32 on an STK500, > maybe something is wrong with the definitions for that CPU? What CPU > type do you test with? atmega32 @ 16 MHz variable cnt0 0 cnt0 ! : inccnt0 1 cnt0 +! ; ' inccnt0 0B int! works fine even for TCCR0 set to 1 (prescaler 64). > 1 TIMSK c! ok > TCCR0 c@ . 4 ok > : s1 10 0 do cnt0 @ . loop ; ok > s1 39AA 39AB 39AC 39AD 39AE 39B0 39B1 39B2 39B4 39B5 39B6 39B7 39B9 39BA 39BB 39BC ok > 1 TCCR0 c! ok > s1 -106D -D1B -A53 -78C -4C5 -1FE CA 28E 4DA 728 973 BBE E0E 105C 1334 160A= ok At that speed even the compiler works for a hello-world word.. I'd suspect your refresh-display code... Bye Matthias -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGNuK29bEHdGEMFjMRAlY9AKDZCjlX7Ax1fbDj/J1Uh8kfSSqmwACcCSRT +NlR4ZJsjw3pWWfLTCLKtME=3D =3DrARo -----END PGP SIGNATURE----- |