Follow-up Comment #3, patch #5245 (project avrdude):

Tried that on a Win2K system using MinGW today.

The suggested procedure didn't work.  enable_user_mode_io()
bailed out with an error in the last function call (the
indirect one), so the attempt to access the IO ports caused
an exception.

The inline asm needs to be written differently for GCC:

asm("movl $0x378, %edx" "\n\t"
    "inb  %dx, %al");

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?5245>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
avrdude-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to